Fix SCCM PXE Related WDS Service is not getting started on Server 2012 R2 ConfigMgr Configuration Manager

Fix SCCM PXE Related WDS Service is not getting started on Server 2012 R2 ConfigMgr Configuration Manager? I wanted to try OSD (Windows 10 deployment) with SCCM /ConfigMgr vNext (2016?). 

SCCM vNext TP3 Primary server is installed on Windows Server 2012 R2. Enabled PXE role which is part of SCCM DP site system role. Once the PXE role is enabled, SCCM will automatically take care of the prerequisite of the PXE (Preboot Execution Environment) role called Windows Deployment Service (WDS).

Windows Deployment Services is a server technology from Microsoft for the network-based installation of Windows operating systems. WDS role has been installed on Windows 2012 R2. However, the WDS service was not getting started. 

Patch My PC

Fix SCCM PXE Related WDS Service is not getting started

There is no log file called PXESETUP.log in SCCM 2012 and SCCM vNext version as PXE point is part of DP role. DistMgr.log will give you the details about PXE and WDS installation on the site server. If you are enabling PXE on a remote site system server then you can refer to smsdpprov.log.

Fix SCCM PXE Related WDS Service is not getting started on Server 2012 R2 ConfigMgr Configuration Manager
Fix SCCM PXE Related WDS Service is not getting started on Server 2012 R2 ConfigMgr Configuration Manager

Troubleshooting Fix SCCM PXE Related WDS Service is not getting started

PXE role is installed successfully but the WDS service was not getting started. I checked the event logs and following are the some errors related to WDS services…

An error occurred while trying to initialize provider WDSMC from C:\Windows\system32\wdsmc.dll. Windows Deployment Services server will be shut down.

1E Nomad
Error Information: 0x906
An error occurred while trying to start the Windows Deployment Services server.
Error Information: 0x906
Fix SCCM PXE Related WDS Service is not getting started on Server 2012 R2 ConfigMgr Configuration Manager
Fix SCCM PXE Related WDS Service is not getting started on Server 2012 R2 ConfigMgr Configuration Manager

Tips – Fix SCCM PXE Related WDS Service is not getting started

I removed /uninstalled wds from server manager, removed RemoteInstall folder and installed it again. Even tried running following command

wdsutil /initialize-server /reminst:C:\RemoteInstall with no luck. 

WDSUTIL command didn’t work and it was pointing towards domain controller connectivity .

However, SET l command provide the correct domain server name and logon server name 🙁

 C:\Windows\system32>wdsutil /initialize-server /reminst:C:\RemoteInstall
Windows Deployment Services Management Utility [Version 6.3.9600.16384]
© 2013 Microsoft Corporation. All rights reserved.

An error occurred while trying to execute the command.
Error Code: 0x54B
Error Description: The specified domain either does not exist or could not be contacted.
C:\Windows\system32>set l
LOCALAPPDATA=C:\Users\anoop\AppData\Local
LOGONSERVER=\\ACNCMDC

Solution

The issue was related to domain control network connectivity. I’ve deleted the Virtual Switch which I created in the Hyper-V console and recreate the Virtual switch with an internal option. Removed the PXE and WDS, restarted the server, and enabled the PXE point again. This time it started working.

Resources

SCCM Related Posts Real World Experiences Of SCCM Admins (anoopcnair.com)