Share via

Cannot use command route in CMD

Anonymous
2020-06-22T07:28:27+00:00

Cannot use command route   in CMD  

C:\Users\User>route print

===========================================================================

Interface List

11...98 fa 9b 9a 0b b8 ......Realtek PCIe GbE Family Controller #2

5...12 63 c8 3e 69 29 ......Microsoft Wi-Fi Direct Virtual Adapter #5

6...22 63 c8 3e 69 29 ......Microsoft Wi-Fi Direct Virtual Adapter #6

8...10 63 c8 3e 69 29 ......Qualcomm Atheros QCA9377 Wireless Network Adapter

1...........................Software Loopback Interface 1

===========================================================================

IPv4 Route Table

===========================================================================

Active Routes:

Network Destination        Netmask          Gateway       Interface  Metric

0.0.0.0          0.0.0.0      192.168.1.1     192.168.1.45     50

127.0.0.0        255.0.0.0         On-link         127.0.0.1    331

127.0.0.1  255.255.255.255         On-link         127.0.0.1    331

127.255.255.255  255.255.255.255         On-link         127.0.0.1    331

192.168.1.0    255.255.255.0         On-link      192.168.1.45    306

192.168.1.45  255.255.255.255         On-link      192.168.1.45    306

192.168.1.255  255.255.255.255         On-link      192.168.1.45    306

224.0.0.0        240.0.0.0         On-link         127.0.0.1    331

224.0.0.0        240.0.0.0         On-link      192.168.1.45    306

255.255.255.255  255.255.255.255         On-link         127.0.0.1    331

255.255.255.255  255.255.255.255         On-link      192.168.1.45    306

===========================================================================

Persistent Routes:

None

IPv6 Route Table

===========================================================================

Active Routes:

If Metric Network Destination      Gateway

1    331 ::1/128                  On-link

8    306 fe80::/64                On-link

8    306 fe80::e01e:3ba4:4eb:8441/128

On-link

1    331 ff00::/8                 On-link

8    306 ff00::/8                 On-link

===========================================================================

Persistent Routes:

None

C:\Users\User>route add 192.168.31.0 mask 255.255.255.0 192.168.1.49

The requested operation requires elevation.

C:\Users\User>route delete 0.0.0.0 mask 0.0.0.0

The requested operation requires elevation.

C:\Users\User>


How can i fix its ?

Windows for home | Windows 10 | Security and privacy

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2020-06-22T07:59:59+00:00

    Hi,

    My name is Carl and I am an independent Windows 10 advisor.

    To use the route command you need to run in an elevated command prompt. What this basically means is to click Start then type CMD on the right hand side is 'Run As Administrator' click this and retry the command. It should now complete successfully.

    Kind regards,

    Carl.

    Was this answer helpful?

    0 comments No comments