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.