Windows, route -f

I did a route -f on my Windows machine

Now I can not remote desktop to it

Why did this happen

How do
Los Angeles1Asked:
Who is Participating?
 
AnuroopsunddConnect With a Mentor Commented:
route -f clears the routing table information. So now you do not have routing information to go to other Networks.
you can restart your machine or disable/Enable your network card.
0
 
frajicoConnect With a Mentor Commented:
You have deleted the default route and the default gateway.

If you obtain your IP address from a DHCP server, just disable your network connection on the PC and re-enable again. You will obtain again the default gateway and the default route configuration.

If you have a static IP address, you must configure again the default gateway on the PC connection properties, and add the default route throguht the dfault gateway with:

route add 0.0.0.0 mask 0.0.0.0 IP_default_gateway
0
 
theras2000Connect With a Mentor Commented:
-f should get rid of the default gateway/s, so now the machine can't get to the internet anymore.  I assume you're not nearby, so you're going to have to visit the machine.  Have you set a static IP on that machine?  If so, check the TCP/IP settings and see if the gateway is gone.  I suspect that if you just reboot that machine, it'll be back to normal.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.