Windows Discovery Issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2024 04:19 AM
IP address is configured in the Discovery Schedule but in the Discovery Status log is showing as "Active, couldn't classify: No WMI connec" and the device is not getting updated.
Test Credential is passed successfully.
However when running Quick Discovery in the Non-Prod Instance-the device is getting discovered successfully.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2024 07:06 AM
Hi @mochan_s ,
Is this issue occurring at classification phase ? if yes then check the credential and if it getting classified then check below.
- Log into the mid-server
- Open the PowerShell command prompt
- Run the below command on the target server which you want to discover
gwmi win32_operatingsystem -computer "target ip" -credential "XXXX" -impersonation 3 -authentication 6 -EA "Stop"
- If above command executes successfully means there is no issue, it does not execute successfully provides an error with access denied which causes this issue
Potential Cause:
- Powershell Service stopped on the MID-Server host
- In MID-Server parameters "mid.use_powershell" was set to false so it is using Javascript to discover the windows device
Solution:
First: Please check with the System Administrator to enable the PowerShell services on MID-Server
Second:
- Log in to the instance
- Navigate >> Discovery >> MID Servers >> Open the specific MID-server record
- Click on the "Configuration Parameters" in the related lists
- Verify "mid.use_powershell" is available and if available mark it and delete
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0696857
-------------------------------------------------------------------------
If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.
Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay
-------------------------------------------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2024 08:59 PM
Thanks Runjay .I will check and confirm if it is working or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2024 01:28 PM
Hi @mochan_s ,
have you investigated which port is scanned as open through the Shazam’s scan? Is it a win device, snmp device etc.?
if my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Best regards
Anders
If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.
Best regards
Anders
Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2024 09:00 PM
Hi @AndersBGS
It is a Windows Device.