Move persistent route table to a new computer

Moving persistent route to a new PC is easy, save your self the task of re-typing them in one at a time with this these simple steps.

  1. The data is stored in the windows registry. Navigate to:
  2. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes
  3. Export this key and save the .reg file.
  4. Copy this file over to the new computer.
  5. Double-click on the .reg file on the new computer and it will enter the data into the registry.
  6. Open up a command prompt and type “route print”, and you will see your persistent routes are all there.

Exporting persistent routes in Windows XP


Posted in

Comments

Responses to “Move persistent route table to a new computer”

  1. Jeff Allen Avatar

    This doesn’t work. I have tried it in the past and I tried it just now on Windows 7. It is part of what you need, but the part that makes them work (show up in the routing table) is:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nsi
    You need to export this key from the source computer as well.

    Thanks

    1. Bill Avatar
      Bill

      I’m checking on my XP system in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ but I don’t see and “Nsi” . Could it be another value ?
      Thanks,
      Bill

  2. DJK Avatar
    DJK

    This worked for me, moving routes from 2000 server to 2003 server.

    Thanks.

  3. Bobb Avatar

    Thanks for the article it helped me out getting a whole load of routes from a 2003 server into 2012.

    I can confirm the import into the registry no longer works as described for 2012 but I came up with a quick way to use Excel to create the dos ROUTE ADD commands to import the routes into newer OS’s. I’ve written up the method on my blog here:

    http://bobbitco.com/2015/08/12/adding-bulk-routes-into-windows-2012r2/

Leave a Reply

Your email address will not be published. Required fields are marked *