0

HyperV instance running Windows 10 & built-in VPN, I would like to prevent all internet traffic in the instance that the VPN fails. This answer provides good information:

In Windows 10 how do you ensure all traffic goes through VPN?

But I get the error:

The route deletion failed: Element not found

Can something like this process be performed on a HyperV instance?

stuart_gunn
  • 111
  • 3

2 Answers2

0

The syntax is:

route delete [destination_ip]

Replace [destination_ip] with the route you are trying to delete.

source

Also please ensure you run command prompt as an administrator.

Cas
  • 1,944
  • 2
  • 19
  • 42
0

I ended up successfully using

route delete [destination] MASK [mask] [gateway]

e.g.

route delete 0.0.0.0 MASK 0.0.0.0 192.168.1.1

stuart_gunn
  • 111
  • 3