locked
wmiprvse.exe "Access is denied. " RRS feed

  • Question

  • Using WinXP Pro, SP3 with VS2008 Pro

    I have some code that uses the Management Object Searcher to query the Win32_Printer. It was working fine a few weeks ago, but now throws an Unauthorized Access Exception.

    I have traced the problem down as far as Event Viewer, where the error shows up under the local System tab, and I do not know how to resolve this.

    A screen shot of the error can be found here:

    The description of the error is as follows:
    Source: DCOM
    EventID: 10000
    User: NT AUTHORITY\NETWORK SERVICE
    Description:
    Unable to start a DCOM Server: {1F87137D-0E7C-44D5-8C73-4EFFB68962F2}. The error: 
    "Access is denied. "
    Happened while starting this command:
    C:\WINDOWS\system32\wbem\wmiprvse.exe -secured -Embedding


    For more information, see Help and Support Center at
    http://go.microsoft.com/fwlink/events.asp.

    The link, however, does not provide a solution. Any help in troubleshooting this problem is greatly appreciated.

    Regards,
    ~Joe
    • Moved by Kukjin LeeMicrosoft employee Tuesday, October 6, 2009 4:44 PM to find a right forum (From:Windows Perfmon and Diagnostic Tools)
    • Edited by jp2code Tuesday, October 6, 2009 5:41 PM formatting got skewed
    Tuesday, October 6, 2009 4:08 PM

Answers

All replies