Windows server discovery error

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2024 09:32 PM
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
Any help is appreciated.
Thanks,
Anmol
#disovery #itom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2024 01:25 AM
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
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/