Reset Network Settings in Windows Server

I recently setup a few virtual machines in Scale Computing.  I had an issue with static network settings not working as expected in Windows Server 2008 R2.  Virtual machines when soft rebooted a second IP address would be used and could not be cleared, or duplicate ip warning would cause a 169 address to be used.  On second soft reboot or sometimes network card reset, the problem would disappear until rebooted again.  Alternating between a working network card and not working on soft reboot.

I used the script below to clear out the network settings and set the network card to obtain the IP address automatically .  I would then reboot and setup the static network card information.  I also reviewed the network card settings in the registry, removing non existing network drivers to no success.  Scale computing’s support offered no support beyond recommending driver re-installation (which was what we first addressed before contacting support.) The resources I found for fixing network card information in Windows Server 2008 were interesting and I thought I should share.


Reset Windows Server 2008 R2 network card information batch commands:

ipconfig /flushdns
netsh interface ip delete arpcache
nbtstat -R
nbtstat -RR
netsh int ipv4 reset
netsh int ipv6 reset

Additional Resources:

2 thoughts on “Reset Network Settings in Windows Server

  1. Preston Post author

    I investigated further and found these articles useful:

    VMWare Article Regarding this Issue:

    Cisco Article: Duplicate IP Address Error Message Troubleshoot

    This article points to a Sonic Wall VPN possibly responding to all ARP requests:

    How to disable Gratuitous ARP in Windows

    Microsoft TCPIP and the ArpRetryCount Documentation

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: