WMI __SystemSecurity class GetSecurityDescriptor method reports error 0x8004101d Unexpected error on Windows 2008 R2 for WMI namespace "\root\cimv2"

WMI __SystemSecurity class GetSecurityDescriptor method reports error 0x8004101d Unexpected error on Windows

2008 R2 for WMI namespace "\root\cimv2"

On Windows 2008 and Windows 2012 R2 GetSecurityDescriptor works fine.

Thanks,
Sandygg

March 30th, 2015 12:39pm

Hi Sandy,

I used wmic to call this class successfully, the remote server is server 2008R2 and the current is domain administrator:

WMIC.EXE /authlevel:pktprivacy /NODE:"server08r2" /NAMESPACE:\\ROOT\CIMV2 Class __SystemSecurity Call GetSecurityDescriptor

Would you please give more detailed information about your current script and the user rights?

If there is anything else regarding this issue, please feel free to post back.

Best Regards,

Anna Wang

Free Windows Admin Tool Kit Click here and download it now
March 31st, 2015 9:40am

Thanks Anna for your test result.

I am also using same command with /USER: argument (Admin user). The Windows 2008 R2 server is in workgroup and the command is failing even when executed locally.

Remotely from any other server:

WMIC.EXE /authlevel:pktprivacy /NODE:"sever2008r2" /USER:Administrator /NAMESPACE:\\ROOT\CIMV2 Class __SystemSecurity Call GetSecurityDescriptor
Enter the password :

Executing (__SystemSecurity)->GetSecurityDescriptor()
ERROR:
Description = Unexpected error

Locally on sever2008r2:

WMIC.EXE /authlevel:pktprivacy /NODE:"sever2008r2" /NAMESPACE:\\ROOT\CIMV2 Class __SystemSecurity Call

Executing (__SystemSecurity)->GetSecurityDescriptor()
ERROR:
Code = 0x8004101d
Description = Unexpected error
Facility = WMI

sever2008r2 details:

OS Name Microsoft Windows Server 2008 R2 Enterprise
Version 6.1.7601 Service Pack 1 Build 7601
System Type x64-based PC

Even if the server (other Windows 2008 R2) is in some domain the command is failing.

April 1st, 2015 3:27am

Hi Dev,

Since this seems not a user permission or cmd issue, I would like to recommend you to investigate the WMI issue.

Please check the application cloumn in Event Viewer, and find if there any failure indicate this issue.

And you can also download the WMI Diagnosis to troublehsoot WMI:

The WMI Diagnosis Utility -- Version 2.1

If there is anything else regarding this issue, please feel free to post back.

Best Regards,

Anna Wang

Free Windows Admin Tool Kit Click here and download it now
April 2nd, 2015 1:22am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics