Windows and Routes

To make a route on Windows semi-permanent (it will survive a reboot) simply append the -p command to the end of the route command:

route add mask -p To remove the same route simply use the -p again so it’s not persistent: route delete -p Check to make sure they’re removed in the registry at: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes
Leave A Reply - 1 Reply
Anonymous 2002-01-15 11:16pm - No Email - Logged IP: unknown

This doesn't work in win9x. There you have to put it in the autoexec.bat file manually. Also, to check to see if the routes are removed, you can type the command route print. This will show all of the persistent routes. Also, is the IP you're adding the rout to, and is your IP. Just thought I'd comment as long as I was here.

All content licensed under the Creative Commons License