If you add a static IP in a 2012 server,the auto configuration is on and giving a 169.0.0.0 number as the preferred ip address and the new static IP as the duplicate address. This static ip setting will not work. So in this type of scenario, When using a 2012 server,use the following :

Steps to fix the issue:

Step 1: Run > cmd > ipconfig /all

Look into the output below to see which IP is the preferred and if autoconfiguration is on.

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :

Description . . . . . . . . . . . : Intel(R) 84567LM-3 Gigabit Network Connection

Physical Address. . . . . . . . . : 00-27-25-28-30-55

DHCP Enabled. . . . . . . . . . . : No

Autoconfiguration Enabled . . . . : Yes

Link-local IPv6 Address . . . . . : fe70::8708:6mb9:5152:f7c8 (Preferred)

Autoconfiguration IPv4 Address. . : 169.254.244.211(Preferred)

Subnet Mask . . . . . . . . . . . : 255.255.0.0

IPv4 Address. . . . . . . . . . . : 192.168.1.133(Duplicate)

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . : 192.168.1.1

DNS Servers . . . . . . . . . . . : 192.168.1.1

NetBIOS over Tcpip. . . . . . . . : Enabled

Step 2: netsh interface ipv4 show inter

After running the above command. Look for your index number:

The result shows as follows:

Idx Met MTU State Name

— ———- ———- ———— —————————

1 50 4299967295 connected Loopback Pseudo-Interface 1

16 10 1550 connected Local Area Connection

16: <=Keep it in mind (Index)

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

run this command to fix the correct index (interface).

Replace “16” with your index number.

Step 4: services.msc

Disable the DHCP Client service. If you ever want to go back to DHCP from static, remember to set this back to automatic.

Restart your computer.Now your newly configured staic ip should work fine as required.