"P" Switch for Route Command Added in Windows

This article was previously published under Q141383
This article has been archived. It is offered "as is" and will no longer be updated.
The "P" switch for the Route command allows a user to make persistententries in the routing table by adding a static route directly to the registry.
You can use the "P" switch for the Route command which allows a user tomake persistent entries in the routing table by adding a static routedirectly to the registry. The use of the "P" switch is covered in theonline command reference but is not in the printed TCP/IP reference.

Sample syntax from a command line:
route -p add mask

The command forces the following registry entry to be read when thecomputer is restarted.
   HKEY_LOCAL_MACHINE    \SYSTEM      \CurrentControlSet        \Services          \Tcpip            \Parameters              \PersistentRoutes   value: Reg_SZ:				

Article ID: 141383 - Last Review: 12/04/2015 12:39:48 - Revision: 2.2

Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, Microsoft Windows 2000 Professional Edition, Microsoft Windows 2000 Datacenter Server, Microsoft Windows NT Workstation 3.51, Microsoft Windows NT Workstation 4.0 Developer Edition, Microsoft Windows NT Server 3.51, Microsoft Windows NT Server 4.0 Standard Edition

  • kbnosurvey kbarchive kbnetwork KB141383