Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I need to force a DHCP renewal on all my clients (to make them point to my new DNS server).

Some of them have about 4 days left in their leases. Can I just delete the leases from the server? Will this force them to check in to DHCP again and grab another lease or is this a bad idea?

Thanks

share|improve this question

1 Answer 1

up vote 8 down vote accepted

That's a bad idea. They won't try and renew the lease until it is expiring. Deleting the lease will cause other machines to be able to get that IP. What you want is either to run ipconfig /renew via psexec or to script the renew in PowerShell and run it remotely.

Alternatively, if the users reboot they should get the new configuration options.

share|improve this answer
    
Ahh thats very useful info. Thank you! I'll push a script out that renews dhcp. Thanks!! –  drpcken Feb 22 '11 at 3:57
    
Unless you have a really huge park of machines, you might also want to reduce the lease time to a few hours in case you need to do that again in the future. –  Simon Richter Feb 22 '11 at 10:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.