Windows Vista
From otaking wiki
Adding static ARP entries in Vista
From the Microsoft Forums Static ARP entry addition failure
The arp -d and arp -s commands does not work propely under Vista, even under admin control. Instead of using the arp command, you can use netsh to achieve the same things, i.e. binding IP addresses with MAC addresses.
You will need to know the IP and MAC address, and the name of the interface you wish to apply it to (i.e. Wireless Network Connection or Local Area Network). Then you perform the following.
Start the Command Prompt with elevated privileges. Commands you enter are accented in bold and italic text. The set neighbors command has three arguments. The first is the name of your network connection, the second is the targeted IP address and the third is the IP address's MAC address. (The following is just an example.)
C:\Users\foo> netsh -c "interface ipv4" netsh interface ipv4> set neighbors "Wireless Network Connection" 192.168.1.1 00-11-22-33-44-55 netsh interface ipv4>
To view your result using netsh:
netsh interface ipv4> show neighbors
And arp:
C:\Users\foo> arp -a
