Networking: How To Disable IPv4 Auto-configuration In Windows Server - Untold.IT

Breaking

Post Top Ad

Monday, February 12, 2018

Networking: How To Disable IPv4 Auto-configuration In Windows Server



When setting up a static IP address in a windows server, you may see that auto configuration is on and giving a 169.0.0.0 number as preferred address and the new static IP as the duplicate address. This will make your static IP address unreachable. To solve this issue, follow the steps below.




Step 1: Go to command prompt and type IPCONFIG /ALL

On below sample, autoconfiguration is enable and giving wrong IP address.


Step 2: Type netsh interface ipv4 show inter

Take note of the IDX number. We will need this in the next command


Step 3: Type netsh interface ipv4 set interface 12 dadtransmits=0 store=persistent

This command will fix the correct index number. In this case, the index number we need to fix is "12". You can change it depending on your index number.

In some cases, you need to disable DHCP client service in the services menu. However, in my case after entering the command on Step 3 and restarting the server, the autoconfiguration setup has been fixed already.


No comments:

Post a Comment

Post Top Ad