Windows Deployment Service fails to start with error information of 0x5


Symptoms


When trying to start the Windows Deployment Service you may see the following event id's logged:

Event Source: WDSServer
Event ID: 257
Description: 
An error occurred while trying to start the Windows Deployment Services server.
Error information: 0x5

Event Source: WDSServer
Event ID: 513
Description:
An error occurred while trying to initialize provider WDSPXE from C:\WINDOWS\system32\wdspxe.dll. Windows Deployment Services server will be shutdown.
Error Information 0x5
 
Event Source:  WDSPXE
Event id:  265
Description: 
An error occurred while trying to initialize provider BINSVC. Since the provider is marked as critical the windows deployment services server will be shutdown.
Error information:  0x5

Cause


This can occur if you are logged in as local administrator or if the computer account for the WDS server does not have correct security permissions

Resolution


To resolve make sure you are logged in as domain or Enterprise administrator and check the permissions for the computer account by doing the following: 

  1. Log into a Domain Controller and launch Active Directory Users and Computers
  2. Enable Advanced Features from the View menu
  3. Find the server object for the WDS server and in Properties select the Security tab
  4. Verify the following permissions:
Domain Admins:  Full Control
Enteprise Admins:  Full Control
Account Operators:  Full Control
System:  Full Control
SELF:  Create All Child Objects, Delete All Child Objects, Validated write to DNS host name, Validated write to service principal name, Read Personal Information, Write Personal Information

More Information


For more information see http://technet.microsoft.com/en-us/library/cc726539(WS.10).aspx