I am changing a DHCP scope on my 2008 box and would like to have all leases reset and get IPs from a new range without having to wait until they expire which is set to “in 6 days” right now. The scope is on the same subnet, just shifted host range a bit from 100-200 to 50-150 instead. Thanks. Alex.
3 Spice ups
maxsec
(maxsec)
2
you’ll have to wait or reboot or run a script to drop and get a new lease on each host.
I always drop the lease time down to a couple of hours a good week before I make the change
@Martin2012: Yeap, I figured that one out already while testing. Just thought there might be a way to not have to do it manually. Bummer! Thanks anyway.
Last time, I used Group Policy, told everyone to relog.
@Practicon: explaining how you did it would be good LOL
semicolon
(semicolon)
6
If they’re windows clients, use psexec or Powershell to run the following command on the clients:
“ipconfig /release && ipconfig /renew && ipconfig /registerdns”
The ampersands are important.
1 Spice up