Windows 10 ARP entry addition fails with access denied message

From Notes_Wiki

Home > Windows > Windows 10 > Windows 10 ARP entry addition fails with access denied message

It is possible that on Windows even with having Administrator CMD open (right click - run-as administrator), the system gives access denied messages while trying to add static ARP entries using 'arp' command. For example:

CMD> arp -s 172.24.7.254 00-05-01-f9-28-00 172.24.1.20

The ARP entry addition failed: Access is denied.

Syntax of ARP command is:

arp -s <IP-of-other-machine-in-same-subnet> <MAC-of-other-machine> [<IP-of-current-machine>]

where:

  • Other machine and current machine should have some common subnet range
  • We need to give IP of remote machine which is sharing subnet with current machine and corresponding interface MAC
  • Optionally we can give IP address of current machine

If the above does not works then use:

  1. Get list of network interfaces:
    netsh interface show interface
  2. Optionally delete existing ARP cache using:
    netsh interface ip delete neighbors "Network card name here" "Gateway.IP.goes.here"
  3. Add desired static ARP entry using:
    netsh interface ip add neighbors "Network card name here" "Gateway.IP.goes.here" "MAC-address-of-gateway-with-dash-here"


Refer:



Home > Windows > Windows 10 > Windows 10 ARP entry addition fails with access denied message