Run DHCP on a DC using an account other than the DC's account

This tip explains how to run the DHCP service on a domain controller by using an account other than the DC's account.

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 expire.

This was first published in July 2005

Dig deeper on Windows Server and Network Security

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close