Discussion Locked
0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a user that goes back and forth between his network here in the office and his network at home. When he does he has to chagnge his IP address as well as his Default Gateway on his Windows 2000 Laptop. Is there a way that I can script this change so that he would only have to double click a batch file? Before you answer with somehing I didn't ask... DHCP is not an option, Third party solutions need to be free, and need to ONLY change these two settings, not edit the stack not do some automagic just change two IP settings. Now you know why I prefer a script, or better up some sort of network profile built into Windows 2000. (hardware profiles don't work unless he had two nics, and he doesn't)
3 replies
by dc1
THe IP settings are found in HKLM\system\CurrentControlSet\services\Tcpip\parameters\interfaces\{your interface number here}. You could configure the users two IP settings and export each one to his desktop so all he would have to do is double click the reg file to make the setting change. Granted this will not allow you to change just the two settings but it is an option.
Nice! Thank you.
Here is what I am going to do now in case you are interested.
I am going to place the .reg files in a directory with some batch files that will run them will be. Then I am going to write some cool animation in flash and place itin his Start up folder. The animation will have two buttons to click on "home", "office" the buttons will call the batch files which in return call the reg files and then reboot, (if rebooting is nesessary, I don't know yet). I am also trying out Norton Mobile Essentials, but like I said if there is any automagic invloved I have to 86 it, VPN issues.
This question was closed by the author
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending
0 helpful
11 replies
0 helpful
10 replies
Question Locked
Do You Save Useful Windows Tutorial Videos for Later
0 helpful
7 replies
0 helpful
1 reply
Question Unanswered
Is WSL still relevant in 2026?
0 helpful
0 replies