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 // "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

Share and Enjoy !

0 0 0


Leave a 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.