A Windows 2003 SP1 DHCP server on one of my client’s network just started getting the following error in the server’s system log all of a sudden:
“The DHCP service has detected that it is running on a DC and has no credentials configured for use with Dynamic DNS registrations initiated by the DHCP service. This is not a recommended security configuration. Credentials for Dynamic DNS registrations may be configured using the command line “netsh dhcp server set dnscredentials” or via the DHCP Administrative tool. ”
This error seemed to always directly precede system event 1044, which is a notification that the DHCP server is authorized to start servicing clients.
I opened my DHCP mmc, navigated to the properties of the DHCP server and selected the credentials box from the advanced tab. The user name and domain were blank, which is probably why the above event was being logged.
It was strange this event just popped up out of the blue. This machine has been a domain controller/DHCP server for almost four years, and doesn’t regularly change configurations. Maybe a local admin did something.
To fix this event, I created a new domain user called DHCPservice. There is nothing special about this user, just a member of the domain users group.
I went back to the DHCP server’s properties – advanced – credentials box, entered DHCPservice as the user name, entered my domain name in the domain box, and accepted the changes. I then restarted the DHCP server service, and found the 1056 error was gone from the system log.
For additional information on this event see Microsoft KB282001, which also describes setting the credentials from the command line by using netsh.