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
Technology Tips and News
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
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
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 GetSecurityDescriptorLocally on sever2008r2:
WMIC.EXE /authlevel:pktprivacy /NODE:"sever2008r2" /NAMESPACE:\\ROOT\CIMV2 Class __SystemSecurity Call
sever2008r2 details:
OS Name Microsoft Windows Server 2008 R2 EnterpriseEven if the server (other Windows 2008 R2) is in some domain the command is failing.
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