WMI: Access Denied (Windows XP)

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

Add a comment

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.

Comments

  1. Thanks a lot for sharing. I have been banging my head against the wall for a day before running across your comment – trying to activate wmi from a linux box with Zenoss wmi-client installed.

    Kudos to you

    Reply
  2. d1rt

    Thank you, been fighting with this for too long!

    Reply
  3. David

    Thank you, very helpful for Zenoss 🙂

    Reply
  4. Karen

    Thank you! This is the ONE that works!

    Reply