WMI: access denied error
Hi, I am running Windows 7 Ultimate 64bit on a HP laptop. WMI was running okay initially but I noticed it doesn't work since a dependent service, HP power assistance causes errors. WMI is set run automatically but I cannot start it even manually. C:\Windows\system32>net start winmgmt The Windows Management Instrumentation service is starting. The Windows Management Instrumentation service could not be start A system error has occurred. System error 5 has occurred. Access is denied. Interesting thing is that textboxes on the dependency tab on WMI service prorperties dialog are empty. But the parental service, the RPC are running just fine. I followed the steps shown below: http://social.technet.microsoft.com/Forums/en/winserverManagement/thread/fb67e66c-ab6f-43be-b1e0-9c8396f7307a Every permission on DCOM looks okay. In the WMImgmt.msc, see properties. That gives an error: "Failed to connect to <local computer> because "Windows: Server execution failed" I also failed to connect WMI using WBEMTest.ext. Tried to execute "winmgmt" with options "/salvagerepository" or "resetrepository" but no luck. Please help!
January 25th, 2011 11:35am

Hi, How did you know that the cause is the HP power assistance? According to your description, I suggest you try following methods to check the result 1. Try system restore to get back to a previous time point which everything worked fine. 2. If this issue persists, perform SFC command to see if it can repair this issue. How to use the System File Checker tool to troubleshoot missing or corrupted system files on Windows Vista or on Windows 7 3. Check the dependence services: Open an elevated command prompt, type the following command: CMD /K SC QC WINMGMT Check the DEPENDENCIES, the only dependency is the RPCSS service, and it does run by default whenever you start Windows. If you have any other dependencies listed, then it may be the causing the problem. To remove the additional Dependencies, follow this: NOTE: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Before you modify the registry, backup the registry. •Click Start, Run and type Regedit.exe •Navigate to the following location HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services\ winmgmt •Double-click DependOnService and set its Value data to RPCSS •Close Regedit and restart Windows Hope it helps. Alex ZhaoPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
January 27th, 2011 4:21am

Hi Alex, 1. Try system restore to get back to a previous time point which everything worked fine. >> I turned off the system restore. Sigh. 2. If this issue persists, perform SFC command to see if it can repair this issue. >> SFC returned "Windows Resource Protection did not find any integrity violations." 3. Check the dependence services: C:\Windows\system32>CMD /K SC QC WINMGMT [SC] QueryServiceConfig SUCCESS SERVICE_NAME: WINMGMT TYPE : 20 WIN32_SHARE_PROCESS START_TYPE : 2 AUTO_START ERROR_CONTROL : 0 IGNORE BINARY_PATH_NAME : C:\Windows\system32\svchost.exe -k netsvcs LOAD_ORDER_GROUP : TAG : 0 DISPLAY_NAME : Windows Management Instrumentation DEPENDENCIES : RPCSS SERVICE_START_NAME : LocalSystem Also, the registry item also looks okay. So I guess something provents WINMGMT from being started as well as showing dependency services in the management console. FYI attatch some screenshot for the error messages: 1. error message when starting WMI 2. error message when connecting local service in WBEMTEST.
January 27th, 2011 4:26pm

Hi, According to your description, I suggest you boot into Clean Boot mode to check the result. If this issue persists, please try to re-registry WMI components: Open an elevated command prompt. To do this, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator, then put the following command in the command prompt: •cd /d %windir%\system32\wbem •for %i in (*.dll) do RegSvr32 -s %i •for %i in (*.exe) do %i /RegServer Note: If you are running a 64-bit system you might also need to check for .DLLs and .EXE files in %windir%\sysWOW64\wbem. Hope it helps. Alex ZhaoPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
January 28th, 2011 4:15am

If your user account doesn't have administrative privilege then its always show the error 5 access is denied.Arjun {{www.winserver08.tk}}
January 28th, 2011 5:50am

I am in the administrators group. I enabled the Administrator account and logged in but no luck.
Free Windows Admin Tool Kit Click here and download it now
January 28th, 2011 12:14pm

I followed the clean boot scheme but have the same problem. I already reregistered all dlls in the 32/64bit wbem directory but it didn't change anthing. I also compared the registry about the winmgmt to the normally working win64 machine. It's exactly the same! I read some threads about the DCOM security issues related this error. I followed the steps they mentioned but had no luck.
January 28th, 2011 12:34pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics