And no, it wont release the lease on shutdown by default.
Main Topics
Browse All TopicsI recently heard that Win2000/xp, as well as NT for that matter, do not release IP adresses when they shutdown and on startup they just issue a renew. I am wondering if others have heard about this for 2000/XP. I know of a microsoft article that states this for NT3.x-4, but I am looking for information on 2000/XP. Also, is there a way, other than ipconfig/release in shutdown scripts, to have 2000/XP do this.
Would like to see doc as well as a good discussion.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
If you want more info on the DHCP lease process, here:
http://www.microsoft.com/r
Here's exactly what you'd do to use ipconfig in a shutdown script as others have mentioned...
Make a file called dhcprelease.bat and edit it with Notepad. Enter the following lines and save the file somewhere, it'd be easiest to just save it to C:\
@echo off
ipconfig /release
Now go to Start, Run, and type in gpedit.msc and click OK
1. Click the + in front of Windows Settings under Computer Configuration.
2. Click Scripts (Startup/Shutdown)
3. Double-click Shutdown in the right hand pane of this window
4. Click the Add button
5. Click the Browse button and find the script you just saved, click it and click Open
6. Click OK
7. Close the Group Policy window
That's it!
-Bernie
There isn't one.
It was in 98SE (http://support.microsoft.
-----Burton
You could TRY the following, although the DHCP client may overwrite it at bootup, I haven't tested yet:
Add the following stuff to the registry:
Create a key HKEY_LOCAL_MACHINE\SYSTEM\
In that key, add a value "KeyType", type reg_dword, data "3" (00000003)
add another value "RegLocation", type reg_sz, data "system\currentcontrolset\
Now, create the following value at this other location:
"HKEY_LOCAL_MACHINE\SYSTEM
This may or may not force the DHCP release at shutdown DHCP option variable.
Normally this variable is set by the DHCP server but hopefully this lets it be forced by the registry...
I'm sure you'd have to reboot to try it, and who knows, it may get deleted or ignored windows' dhcp client.
I had to piece this together from multiple articles.. but that'd be neat if it worked...
I tried that. It looks as though it should work, but it doesn't. It does stay in the registry after reboot, but it does not cause the OS to release. I think I am going to have to install a server2003, just so I can watch the registry as it picks up the new ip for the changes. Thanx a lot manth. You gave me hope that it could be done. Do you still have links to the articles that you gathered this info from? If so could you paste them? Thanx again to everyone. I will reward points after I have tried to work with the server and know a deffinate answer.
Business Accounts
Answer for Membership
by: conradiePosted on 2005-02-03 at 12:48:49ID: 13219150
There is an option in DHCP options on your DHCP server (if it is Windows 2000 or 2003) that will allow you to do this. Right click and Configure options in the options section of the scope. Change it to Microsoft Options, and check the "Microsoft release DHCP lease on shutdown" option, and change the value to 0x1. That should do it.