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 // "SELECT * FROM Win32_OperatingSystem"
[wmi/wmic.c:196:main()] ERROR: Login to remote object.

wmic (from Windows)

C:\Documents and Settings\mon>wmic
wmic:root\cli>/user: mon
Enter the password :***********
wmic:root\cli>csproduct get /value
Node -
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.


  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

  2. d1rt

    Thank you, been fighting with this for too long!

  3. David

    Thank you, very helpful for Zenoss 🙂

  4. Karen

    Thank you! This is the ONE that works!