The DNS Server service binds to all ports in the Windows Deployment Services port range on a server that is running Windows Server 2008 R2 or Windows Server 2008
- You have a server that is running Windows Server 2008 R2 or Windows Server 2008.
- You install both the Domain Name System (DNS) Server service and Windows Deployment Services on the server.
Note By default, the Windows Deployment Services port range is 64,000 to 65,000.
Also, other symptoms of this problem include the following:
- TFTP downloads fail.
- Multicast downloads fail. You may receive an instance of error code 2 when the download fails.
- If you have Windows Deployment Services tracing enabled, you find one or more error messages that resemble the following in the Wdsserver.log tracing log file: 16:01:36: [d:\w7rtm\base\ntsetup\opktools\wds\wdssrv\server\src\udpportrange.cpp:755] Expression: , Win32 Error=0x2
 16:01:36: [d:\w7rtm\base\ntsetup\opktools\wds\wdssrv\server\src\regudpendpoint.cpp:192] Expression: , Win32 Error=0x2
 16:01:36: [d:\w7rtm\base\ntsetup\opktools\wds\wdssrv\server\inc\RegEndpoint.h:354] Expression: , Win32 Error=0x2
 16:01:36: [WDSTFTP][UDP][Ep=0] Registration Failed (rc=2)
- The Windows Deployment Services port range of 64,001 to 65,000 is displayed as being used when you run the netstat –abn command at a command prompt.
Note The –b option of the netstat command causes the file name of the executable file that is using the port to be included in the list. If DNS is causing the problem on a port, the file name of the executable file is listed as Dns.exe.
Windows Server 2008 R2Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
To do this, follow these steps:
- Start Registry Editor. To do this, click Start , type regedit in the Start Search box, and then press ENTER.
If you are prompted for an administrator password or for confirmation, type the password or provide confirmation.
- Locate and then click to select the following registry key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\WDSServer\Parameters
- Right-click UdpPortPolicy, and then click Modify.
- In the Value data box, type 0, and then click OK.
- On the File menu, click Exit to exit Registry Editor.
- Restart Windows Deployment Services.
Windows Server 2008To work around this problem, use one of the following methods to increase the port range.
Method 1: Windows Deployment Services MMC snap-in
- Click Start , click Administrative Tools, and then click Windows Deployment Services. If there is no server that is listed under the Servers node, right-click the Servers node, and then click Add Server to add the local computer.
- In the navigation pane of the Windows Deployment Services MMC snap-in, expand the list of servers.
- Right-click the server for Windows Deployment Services, and then click Properties.
- Under Network, increase the UDP Port range. For example, if the current port range is 3,000 ports, increase the port range to 4,000 ports.
Method 2: WDSUTIL command prompt utility
- Open a Command Prompt window. To do this, click Start, right-click Command Prompt, and then click Run as administrator.
- At the command prompt, run the following command: wdsutil /set-Server /Transport /StartPort:50000 /EndPort:65000
Artikel-id: 977512 – senaste granskning 11/19/2009 02:16:59 – revision: 1.2
- kbtshoot kberrmsg kbbug kbexpertiseinter kbsurveynew kbprb KB977512