Windows Deployment Services service will not start (Error 0x2740 )

Starting Windows Deployment Services on a recently assigned Distribution Point for System Center Configuration Manager, I received the following error in the Application Event log on the DP:

An error occurred while trying to create the UDP endpoint for WDSPXE provider on interface x.x.x.x:67. This can happen if the network interface was disabled or changed, or some other application is already using the port. The provider  will not be able to receive requests on this interface.

Error Information: 0x2740
dhcp-pxe-error2

This was because the DP was setup as a DHCP server and for WDS.  Unfortunately WDSUTIL /set-server /UseDHCPPorts:No did not work. The fix was to perform the following registry change:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WDSServer\Providers\WDSPXE
Set the registry value to: UseDHCPPorts = 0

dhcp-pxe-error1
The service then started without any issues.

Note: Another thing to remember, is that if you are running your WDS server on your DHCP server, you will need to set the 060 option in your DHCP Server Options. From a command prompt run the following command:WDSUTIL /set-server /DHCPOption60:yes

 

About AJ McKean

Based in sunny Tauranga, New Zealand, AJ McKean is a Senior Systems Engineer in Mt Maunganui. With over 15 years of professional IT experience working in both New Zealand and the United States, he holds several certifications including MCSE(2000-2003), MCITP:Enterprise(2008), MCSA(2012), VMware VCP-DCV5.5, CompTIA A+ & is an HP Storage Architect. He is passionate about all things IT, especially virtualization, automation & cloud technologies.

9 Responses to “Windows Deployment Services service will not start (Error 0x2740 )”

  1. siddartha says :

    Thanks It working for me..

  2. Peter says :

    Great!!! Thanks bro!

  3. Dinanath Aphale says :

    Thanks a lot……….. It working……….!!!

  4. Glaubert Suyan Dacio says :

    Thanks bro! Works !!!

  5. VJ says :

    It was opposite in my case but it gave me some kind of guidance. It was great to see this nice piece of KB from person next door. ( I have been working/living in Gisborne)

Leave a Reply

Your email address will not be published. Required fields are marked *