Windows was unable to open service WdiServiceHost for writing on local computer

Discussion in 'Windows Vista Performance' started by Black Baptist, Feb 19, 2009.

  1. Anyone know a fix for the error Windows was unable to open service
    WdiServiceHost for writing on local computer
     
    Black Baptist, Feb 19, 2009
    #1
    1. Advertisements

  2. Black Baptist

    Rick Rogers Guest

    Hi,

    It may be the service itself or a missing dependency. Normally, this service
    is not set to start automatically but rather manually (on demand). Run
    services.msc from the start/search line and scroll down to the Diagnostic
    Service Host. Double click it and check the settings to ensure it's set for
    manual. On the Recovery tab, you may want to set the first failure option to
    restart the service.
     
    Rick Rogers, Feb 20, 2009
    #2
    1. Advertisements

  3. It's set to manual and has no dependencys also the start stop buttons
    are greyed out the recovery tab gives this error Windows was unable to
    open service WdiServiceHost for writing on local computer.
     
    Black Baptist, Feb 20, 2009
    #3
  4. Followup I get this in eventviewer The Diagnostic Service Host service
    failed to start due to the following error:
    A privilege that the service requires to function properly does not
    exist in the service account configuration. You may use the Services
    Microsoft Management Console (MMC) snap-in (services.msc) and the
    Local Security Settings MMC snap-in (secpol.msc) to view the service
    configuration and the account configuration.
     
    Black Baptist, Feb 20, 2009
    #4
  5. Black Baptist

    Rick Rogers Guest

    What account shows as being used on the logon tab of the service's
    properties? It should be Local Service - have you disabled any of the system
    accounts?
     
    Rick Rogers, Feb 21, 2009
    #5
  6. It is Local Service and I haven't disabled any accounts. I think I'm
    missing a file/folder for it.
     
    Black Baptist, Feb 21, 2009
    #6
  7. I deleted the
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WdiServiceHost\Security
    key and the start button is no longer gryed out but I now get this
    error when I click the start button...
     
    Black Baptist, Feb 21, 2009
    #7
  8. Black Baptist

    Rick Rogers Guest

    Why did you delete that?
     
    Rick Rogers, Feb 21, 2009
    #8
  9. To get the start stop buttons to stop being greyed out. I put it back
    though because it didn't help.
     
    Black Baptist, Feb 21, 2009
    #9
  10. this is related to
    Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment \ Profile System Performance

    and the WdiServiceHost acccount

    and there is commentary in:

    http://support.microsoft.com/kb/2000705/en-us

    relate to SID
    *S-1-5-32-544

    In our case we were enforcing what accounts could do things and Windows 7 has one more account that needs to be able to have permission.....but it isn't easy to get it back in there if you ever stripped it out.

    Sorry this is cryptic, but our solution hasn't been implemented yet.
     
    Mark Goldhamer, Oct 9, 2010
    #10
  11. this is related to
    Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment \ Profile System Performance

    and the WdiServiceHost acccount

    and there is commentary in:

    http://support.microsoft.com/kb/2000705/en-us

    relate to SID
    *S-1-5-32-544

    In our case we were enforcing what accounts could do things and Windows 7 has one more account that needs to be able to have permission.....but it isn't easy to get it back in there if you ever stripped it out.

    Sorry this is cryptic, but our solution hasn't been implemented yet.
     
    Mark Goldhamer, Oct 9, 2010
    #11
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.