Disable IP auto configuration in Windows Server Core

Disable IP auto configuration in Windows Server Core

If you have already set a static IP address in Windows Server Core, you may have already seen an automatic address configuration (169.254 ….) instead of your desired IP. So you machine will not be accessible throung the network.

Here’s how to fix this issue:
1 – Open a command window and type netsh interface ipv4 show inter.

2 – Get the Idx number of your network card


3 – Type the command netsh interface ipv4 set interface numIdx dadtransmits=0 store=persistent where numIdx is the Idx number of your Nic noted in the previous step.

4 – Then enter the command net stop dhcp to disable the DHCP Client service. Then type sc config “dhcp” start=disabled to disable the automatic start.

5- Finally reboot your machine and should have the correct static address at start.


Comments: 2

  1. andy says:

    Thanks very much !
    It works perfekt….

    Server2016 used as a Backup-Workstation with LTO Tape Unit.
    IBM LTO Drivers works only with Servers.

  2. Salvatore Gallagher says:

    worked perfectly!

Add your comment

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