I was installing security updates which require rebooting the server, after the reboot i wasn’t able to connect to the server remotely, after connecting through the Hyper-V console i found that the machine got APIPA address in spite of having a static IP address.
After searching over the internet i found the solution, i will mention it here and share the source as well.
from the command prompt write:
- netsh interface ipv4 show inter
Result will be:
1 50 4294967295 connected Loopback Pseudo-Interface 1
11 10 1500 connected Local Area Connection
11 keep this number in your mind.
Then run the following command:
- netsh interface ipv4 set interface 11 dadtransmits=0 store=persistent
- Then go to services:
Disable DHCP Client service.
- Restart the Machine.