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 1.2.3.4 mask 255.255.255.0 2.3.4.5 -p To remove the same route simply use the -p again so it’s not persistent: route delete 1.2.3.4 -p Check to make sure they’re removed in the registry at: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes


Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 3.144.12.205
To prevent spam please submit by clicking the kitten: