Ima Bum
asked on
How can I force users to renew their DHCP leases during the logon or reboot process?
I have XP clients with 5 day leases.
To make a long story short, I need the XP clients to release and renew their DHCP leases within 24 hours either when they logout, reboot or log back on. Rebooting would be easiest.
Thanks,
R
To make a long story short, I need the XP clients to release and renew their DHCP leases within 24 hours either when they logout, reboot or log back on. Rebooting would be easiest.
Thanks,
R
Why not just set the lease period to 24hrs.
ASKER
The lease on the clients is already set for 5 days, so the lease doesn't end for another four days. Too long. I need it to end within 24 hours and I cannot visit the clients. Too many of them. I need to script this, or force it somehow during the logon, logoff, or reboot process.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
i read that you can stick the ipconfig /release in a logon script, so I'm going to try and see if that works, along with the shutdown command.
ASKER
I shortened the leases to 24 hours.
Stuck a line in the logon scripts to, copy the following script to the clients. (very important that this be "ON" the client told the users to reboot before going home).
ipconfig /release
ipconfig /renew
Stuck a line in the logon scripts to, copy the following script to the clients. (very important that this be "ON" the client told the users to reboot before going home).
ipconfig /release
ipconfig /renew
ASKER
awarded points to keep it simple, but the solution was NOT my solution. my last comments were the actual solution and steps used to actually get the job done. any entry level tech, knows what ipconfig is. the solution was given very little effort.