Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running script #12

Open
jdewoody71 opened this issue Jul 19, 2018 · 3 comments
Open

Error when running script #12

jdewoody71 opened this issue Jul 19, 2018 · 3 comments

Comments

@jdewoody71
Copy link

Hello,

I've run this script on a Windows 2016 & 2008 R2 DC and get the same error both times:

Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Users\username\Desktop\ADHealthCheck.vbs(269, 2) SWbemServicesEx: Not found

At that point the script dies. The only section I've modified is the email settings. Any suggestions?

@shann1976
Copy link

Even I am getting the same error. Can you please help to resolve?

@adminwillie
Copy link

I was getting this error as well. My issue was that my DC's aren't running DNS, so when it tries to do the service status check, there is no service to check. Commenting out lines 142 and 161 fixed it for me.

@MichalisDBA
Copy link

I was getting this error as well. My issue was that my DC's aren't running DNS, so when it tries to do the service status check, there is no service to check. Commenting out lines 142 and 161 fixed it for me.

Same problem here. I don't think it's the DNS. I run it on a DC with DNS services etc. and returns the same problem.

Something else might be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants