Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Windows server discovery error

Anmol8
Mega Guru

Below is the message I'm getting into the discovery log:

Get-CimClass : Access is denied.
At C:\Dev_disc_HCPNTXSNOW02\agent\scripts\PowerShell\WMIFetch.psm1:421 char:20
+ ... $reg = Get-CimClass -Namespace "root\default" -ClassName "StdReg ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (root\default:StdRegProv:String) [Get-CimClass], CimException
+ FullyQualifiedErrorId : HRESULT 0x80070005,Microsoft.Management.Infrastructure.CimCmdlets.GetCimClassCommand
+ PSComputerName : 172.16.1.104

Anmol8_0-1723782651236.png

 

Any help is appreciated.

Thanks,

Anmol

 

#disovery #itom

 

1 REPLY 1

Slava Savitsky
Giga Sage

The user you are using for Windows Discovery does not have sufficient permissions on the target device to execute the needed commands. Have your Windows Admin correct the permissions. For more information, see:

https://docs.servicenow.com/csh?topicname=r_DiscoWinProbesAndPermissions.html&version=latest