LLI Wiki — My Digital Knowledge Base

Windows: remove all routes, including persistent ones

route and reg delete commands to clear the routing table and persistent routes.

To clear the routing table, including persistent routes added with route -p, run these commands from an elevated prompt.

Commands

route /f

reg delete HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes /va /f

Notes

Mastodon LLIMastodon SocialFosstodon