DHCP Port and WDS Port Error When on Same Server
Have you ever installed WDS and DHCP on the same server? Usually installing WDS and DHCP on same server doesn’t cause a problem, but in some cases, you will have issues with starting the WDS server. This is related to the DHCP port and WDS port conflicting.
Looking at the Event Log you will see this nasty error:
“The Windows Deployment Services Server service terminated with service-specific error Only one usage of each socket address (protocol/network address/port) is normally permitted”
The solution to this problem is manually changing a registry value to force the WDS service to not use the DHCP ports.
Here’s how you do it:
Open Regedit and go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WDSServer\WDSPXE
Open the reg value UseDhcpPorts and change it from 1 to 0
Now start the WDS Service and it should work 🙂
About the author
Daniel Classon works as a Senior Consultant at Mansoft, focusing on Microsoft Configuration Manager, Windows 10 and Powershell