Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
March 4, 1999
When you remove a scope in DHCP manager and define another one, Microsoft DHCP clients will not automatically renew their lease.
To force lease renewal:
1. If you have W95 clients, you must copy Ipconfig.exe from WFW 3.11 to C:WINDOWS, prior to running the script.
NOTE: If you have Winipcfg.exe version 4.10.1656 or later, you don't need to get Ipconfig.exe.
2. Add the following code to your logon script:
if /i "%OS%"=="Windows_NT" goto IPCFGif EXIST C:WINDOWSIPCONFIG.EXE goto IPCFGif EXIST C:WINDOWSWINIPCFG.EXE goto W98goto IPCFG:W98C:WINDOWSWINIPCFG.EXE /RENEW_ALLgoto end:IPCFGIPCONFIG.EXE /RENEW:end
You May Also Like