I came across a WDS problem which seemed familiar at first, but in the end turned out to be something “unexpected”:
“ProxyDHCP: No reply to request on port 4011”
Typically, you would end up looking at articles like KB259670 (PXE clients computers do not start when you configure the Dynamic Host Configuration Protocol server to use options 60, 66, 67)… but this was different some clients/servers worked and some didn’t…
Symptom
When initiating a PXE Boot to the WDS server, the client receives a IP address from the DHCP server, but eventually times out with error “ProxyDHCP: No reply to request on port 4011”
However, other clients/servers have no problem PXE booting to the WDS server and getting boot/installation images.
Cause
There is a database named “Auto-Add Devices database”, used when you are performing the “Pending Devices” actions. It stores the records for machines with a “pending devices” status and/or devices with an “approved” status.
Solution
The computer GUID is marked as rejected in the Auto-Add database. After a computer has been marked as rejected, the computer will not be able to PXE boot.
You can clear the entry in the Auto-Add database by deleting all pending computer records (by running wdsutil /Delete-AutoAddDevices /DeviceType:RejectedDevices) or enabling the record to be purged automatically (as mentioned above).
C:\>
wdsutil /Delete-AutoAddDevices /DeviceType:ApprovedDevices
C:\> wdsutil /Delete-AutoAddDevices /DeviceType:RejectedDevices To delete computers that are pending, rejected or approved from the Auto-Add database, use wdsutil /Delete-AutoAddDevices using the syntex below:
WDSUTIL /Delete-AutoAddDevices [/Server:<Server name>] /DeviceType:{PendingDevices | RejectedDevices |ApprovedDevices}
More Information
The records in the Auto-Add Devices database are purged every 24 hours and the cleanup of any devices with an approved status occurs every 30 days.
You can look at these intervals using the WDS CLI under “Configuration Information - Auto-Add Policy”
C:\> wdsutil /get-server /show:config [/server:yourRemoteServer]
These values can be changed using the WDS CLI
C:\> wdsutil /set-server /AutoAddPolicy /RetentionPeriod /Approved:<Time in days> /Others:<Time in days>
The Auto-Add Devices database (named Binlsvcdb.mdb) can be found in the RemoteInstall\MGMT folder. The database is created by BINLSVC the first time the pending devices policy is enabled.
Related reading:
- KB259670 - PXE clients computers do not start when you configure the Dynamic Host Configuration Protocol server to use options 60, 66, 67
- KB244036 - Description of PXE Interaction Among PXE Client, DHCP, and RIS Server
- How to Manage Client Computers - Auto-Add Database section