Share the Knowledge
RSS icon Home icon
  • WMI: Access is denied. (Exception from HRESULT: 0×80070005)

    Posted on February 19th, 2008 webmaster 1 comment

    We have one computer at work that I couldn’t send a Remote Assistance request to and whenever I try to query it using WMI and PowerShell I get the following error message:

    Get-WmiObject : Access is denied. (Exception from HRESULT: 0×80070005 (E_ACCESSDENIED))

    The problem turned out to be DCOM. For some reason it got disabled.

    To change its settings, do the following:

    1. Go to Start -> Run, type in dcomcnfg.
    2. Go to Component Services -> Computers.
    3. Right-click on My Computer and select Properties.
    4. Go to the Default Properties tab.
    5. Make sure that Enable Distributed COM on this computer is checked.
    6. Compare the settings to a computer that is working properly and make the necessary changes. Compare the settings for the COM Security tab as well.
    7. Reboot the computer and try it again.

    Credit goes to this website where I found this solution.

    Bookmark and Share
     

    1 responses to “WMI: Access is denied. (Exception from HRESULT: 0×80070005)” RSS icon


    Leave a reply