WMI: Access Denied (Windows XP)

Print Friendly, PDF & Email

If the following errors look like what you are experiencing, you ‘might’ be able to fix it by following the instructions in this post:

wmic (from Linux – if installed)

wmic -Uuser%pass //172.16.2.2 "SELECT * FROM Win32_OperatingSystem"
[wmi/wmic.c:196:main()] ERROR: Login to remote object.
NTSTATUS: NT_STATUS_ACCESS_DENIED - Access denied

wmic (from Windows)

C:\Documents and Settings\mon>wmic
wmic:root\cli>/user: mon
Enter the password :***********
 
wmic:root\cli>/node: 10.1.1.196
wmic:root\cli>csproduct get /value
Node - 10.1.1.196
ERROR:
Code = 0x80070005
Description = Access is denied.
Facility = Win32

Step 1:

'Run' Command

Enter ‘secpol.msc’ to open the Local Security Policy snap-in

Step 2:

Local Security Settings

Open Security Settings->Local Policies->Security Options and scroll down to ‘Network Access: Sharing and security model for local accounts’

Step 3:

Network Access: Sharing and security model for local accounts

Change from ‘Guest Only’ to ‘Classic’

You should now be able to use WMI remotely against this host.

Let me know if this doesn’t work for you, or if you have any better suggestions.

Please note that this was tested only on Windows XP Professional: Service Pack 3

4 comments

Leave a Reply to Karen Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.