Ask the Expert

Is there a way we can remove DNS info and replace it with DHCP info?

We use DHCP to assign IP addresses and default gateways, but we manually enter DNS and other network info. If we want to remove that info and use the info by DHCP, can we use some kind of scripts or REG files? The workstations are NT and Win2k.

Requires Free Membership to View

Your best bet might be to use some type of software packager/installer to capture the associated registry changes into a .zap or a .msi file. Create a clean workstation with no software installed other than the OS. Configure the IP settings as they currently exist on your network: DHCP-assigned IP & gateway, manually-assigned DNS/WINS. Use this to create your "before" snapshot. Then make the appropriate changes to the network settings and create an "after" snapshot to roll out to your clients. This will obviously require a great deal of testing, especially if your client hardware is not uniform -- different NIC adapters, motherboards, etc. will create different (and often incompatible) registry entries.

This was first published in April 2003

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: