Please let us know how useful you find this tip by rating it below. Do you have a useful Windows tip, timesaver or workaround to share? Submit it to our monthly tip contest and you could win a prize! And don't forget
to go in and rate other tips users have submitted this month:
Easy Mail Server changes
Add or modify the registry via group policy
Use Windows XP sysprep to create images
Speed up remote access to network resources
Use HP's JetDirect printer server to count bad packets
Why batch files are still useful
Protect Win XP files during power outage
This tip explains how you can run the DHCP service on a domain controller (DC) by using an account other than the DC's account.
After you install DHCP on a DC, for security purposes you might want to configure the DHCP service to run under a specific set of credentials other than the DC's computer account. When running on the DC account, the DHCP service could overwrite dynamic records that shouldn't be modified (e.g., the DC's service records), thereby posing a potential security risk.
You can reduce this risk by running the DHCP service under alternate credentials, which you
configure by running this command:
netsh dhcp server set dnscredentials <username> <domain> <password>
You can use any account with this command. Just make sure to set its password to not
This was first published in July 2005