Link to home
Start Free TrialLog in
Avatar of Ryoung_Aztec
Ryoung_AztecFlag for United States of America

asked on

Route delete command

How can I make a route delete command "stick" after re-booting?
I have the command I need to make my system do what is needed but after re-booting it re-establishes the route again.

Is there a -p type of command that will  make it stay in the system?

Windows 7 HPrem
Avatar of cybervzhn_tech
cybervzhn_tech
Flag of United States of America image

The -p of the route command makes a route stay after reboot, it cannot makes routes stay deleted after reboot.  The route can only get there a few different ways.  

The main two are DHCP and Static IP address configuration.  If you are receiving the route as part of DHCP, you would have to delete it each time or setup a DHCP reservation for the system in question and choose what routes it's handed via DHCP; or you can switch the config to a static IP address and the routing table will stay the same and you can (and must) specify all of the routes manually.

BTW, the info neccessary to accomplish all of this (converting from DHCP to static IP) can be discovered using the ipconfig and route commands in a command prompt.

To get to network configuration, just type "change adapter settings" without the quotes in the Search Programs and Files box on the start menu.

--
ASKER CERTIFIED SOLUTION
Avatar of Ryoung_Aztec
Ryoung_Aztec
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial