Discussion Locked

DHCP Registry settings in Windows 95/98

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a laptop that goes between offices and different types of DHCP servers. Is there a key entry that needs to be adjusted or added to force a release of all IP addresses at shutdown? Right now it is retaining the IP address handed out by a non NT machine until you force a release and renew using winipcfg.

7 replies

by eschwartz

typing "winipcfg /release_all" will release all adapters.

I'm positive there is a way to execute commands at shutdown, but the methods escape me... I'm sure that some registry hack program would provide that.

an alternative to registry hacks, is to create a shortcut on your desktop that runs that command and double-click it just before you shut down the machine.

by matt_jones

The easiest way of achieving your goal (of getting the laptop to work at both locations without doing anything beyond plugging it in) is to set it up with a static IP address. Set both servers up to allow that IP address, (but obviously outside the dynamically assigned range) and Bobs your fathers brother.

by craig it mangaer

Unless you come up with a keen way for the laptop to work as a router I don't believe this would work to well. If on the other hand it had NT server on it and could do dual IP address attachment to a single adaptor, it might work.

by craig it mangaer

Well, here is the best solution I found and possibly the best as it requires no registry editing and runs all by itself. Create a batch file (ipupdate.bat) with the following lines. "ipconfig /release_all" and "ipconfig /renew_all". save to c:\ for ease of finding the file set the properties to run minimized and close when finished. Add this file to the Scheduled tasks and set to run at system startup. No intervention by user required, only has to wait until script runs.

This discussion is closed to new replies.