Thoughts from the EPS Windows Server Performance Team
Useful Microsoft Blogs
Back in June, we published our post on Basic WMI Testing. Today we're going to go over some common issues and ways that you can troubleshoot and recover from them - specifically rights and permissions. We're not going to get into troubleshooting scripts - what we're looking at is troubleshooting WMI itself. So without further ado, let's dive right in ...
The first thing we're going to look at is ensuring that the COM Security settings are configured correctly. Oftentimes the default COM permissions may have been modified by application installations or GPO settings. We covered the security aspects of COM / DCOM in an earlier post, titled COM and DCOM for Administrators. Incorrectly configured permissions can cause WMI to fail. We can use the built-in DCOMCNFG utility to verify the permissions as shown below:
Under the Default Launch Permissions you need to make sure that the following users / groups have the Allow Launch permission: INTERACTIVE, SYSTEM and Administrators. Under the Default Access Permissions ensure only the following accounts are listed:
If these Access Permissions settings have been modified, then you need to ensure that the following users / groups have been explicitly granted Access Permission: INTERACTIVE, SYSTEM and Administrators. As a shortcut, you can export the following registry key (so that you have a backup), and then delete the key & reboot, so that you restore the original default values: HKLM\SOFTWARE\Microsoft\Ole\DefaultAccessPermission. On Windows XP and Windows Server 2003, you can also export the following keys (again, so you have backups) and then delete the key & reboot so that the original default limits are restored: HKLM\SOFTWARE\Microsoft\Ole\MachineAccessRestriction & HKLM\SOFTWARE\Microsoft\Ole\MachineLaunchRestriction.
In addition, the WMI DCOM settings should also be checked - again, using the DCOMCNFG utility as before:
Verify the settings below against what is configured on the system:
And that brings us to the end of this post. There's much more to come on WMI, so stay tuned!
- Axel Rivera
PingBack from http://www.ditii.com/2007/08/14/wmi-permissions-troubleshooting/
actually, after the access permissions is the configuration permissions.......
We r having Server 2008. Wile running VB-6, we get error
"Automation Error : Error accessing OLE registry".
Is there any way to resolve the issue.