Tip

Run DHCP on a DC 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

Requires Free Membership to View

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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

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:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.