Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Not able to validate credentials

Sunny45
Kilo Guru

Experts,

 

I am trying to validate credentials on Windows 10 Laptop from a MID server [Windows 2016]. Both are on same network. But I am still unable to validate credentials. I am on Tokyo version . 

 

1) Firewall is disabled on target host  

2) Ping from MID server OK

3) Telnet from MID to target host OK

4) From  MID server Power shell command ==> gwmi win32_operatingsystem -computer  192.168.1.212  -credential 'svcacct_discovery'   FAILS 

 

Not sure what is the reason? 

Any other point I should be checking? 

Please advise. 

 

Thanks. 

Sunny45_1-1677113783748.png

 

 

Sunny45_0-1677113725954.png

 

 

 

10 REPLIES 10

Do u have any Windows 10/11 host where discovery isworking?

I assume your Mid Server and HOST IP on which you are testing the CREDS are two different machines.

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0793999

Regards

RP

 

 

Also - Enable debug mode in MID server by setting MID server properties "mid.log.level" to debug. Following message logged in MID server log 

newhand
Mega Sage

@Sunny45 

I remembered!!

Please check the WMI service status of  the target windows machine!

In my case , it was not started by default! 

 

 

 

Please mark my answer as correct and helpful based on Impact.

Hello @newhand 

I checked the WMI service, it is on. Any other tip ? 

I also followed below document which is typically for Windows 10/11 system, and followed all these steps, still no luck.

Network Computers are not Showing Up in Windows 10/11 | Windows OS Hub (woshub.com)  

@Sunny45 

Run the gwmi command from  mid-server directly may get more information about the Fail..

The information can help to relove your problem more quickly....

 

 

 

 

 

Please mark my answer as correct and helpful based on Impact.