Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Persistent Routes

Direct answer

Persistent routes survive reboots. Add them with route -p add 10.20.0.0 mask 255.255.0.0 10.0.0.1 or New-NetRoute; routes added without -p disappear at restart.

When to use this

Use this when routes disappear after reboot.

First 30 seconds

1. Get-NetRoute -PolicyStore PersistentStore.

2. Add: New-NetRoute -DestinationPrefix <net> -NextHop <gw> -InterfaceAlias <if> (persistent by default) or route -p add.

3. Survives reboot?

4. Remove obsolete ones.

5. Document.

Operational verification

persistent route stored → restored at boot

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • route add without -p, so the route disappears after reboot.
  • Persistent route via a gateway that is not on any local subnet (ignored).
  • Static routes duplicating what DHCP option 121 or the default gateway already provides.
  • Forgetting the interface index on hosts with several NICs (route add ... if 12).
Platform / version applicability
Windows networking and network services
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows networking and network services
Key commandGet-NetRoute -PolicyStore PersistentStore
Scope / prerequisiteUse this when routes disappear after reboot.
What next?2 suggested next steps
Evidence1
On this pageJump to a specific section
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • route -p add makes a route persistent.
  • Persistent routes are stored in the registry.
  • New-NetRoute with -PolicyStore PersistentStore also persists.
Key checks
  • Get-NetRoute — routing table
  • Find-NetRoute -RemoteIPAddress <ip> — selected route and source
  • route print — routing table in CMD
  • tracert <dest> — path
ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Persistent routes survive reboots; non-persistent ones are lost.

route -p add 10.70.0.0 mask 255.255.0.0 10.20.0.1
New-NetRoute -DestinationPrefix 10.70.0.0/16 -InterfaceAlias Storage-A -NextHop 10.20.0.1 -PolicyStore PersistentStore
Get-NetRoute -PolicyStore PersistentStore
Remove-NetRoute -DestinationPrefix 10.70.0.0/16 -PolicyStore PersistentStore -Confirm:$false

New-NetRoute without -PolicyStore creates the route in both active and persistent stores; route add without -p is active only.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Commands

route -p add 10.20.0.0 mask 255.255.0.0 10.0.0.1 metric 5
New-NetRoute -DestinationPrefix 10.20.0.0/16 -InterfaceAlias "Ethernet" -NextHop 10.0.0.1 -RouteMetric 5
Get-NetRoute -PolicyStore PersistentStore
route print     # "Persistent Routes" section at the bottom
Remove-NetRoute -DestinationPrefix 10.20.0.0/16 -Confirm:$false

Documented example, not captured output. New-NetRoute is persistent by default (-PolicyStore ActiveStore makes it temporary). The next hop must be on a directly connected subnet.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows networking and network services current

Authoritative/upstream documentation reviewed for bounded claims in Routing → Persistent Routes. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows-server/networking/ · confidence 94%
Confirmation

Confirm action

Continue?