APIPA comes to static IP Virtual Machine after Rebooting

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.

Resources:

http://lyngtinh.blogspot.com/2011/12/how-to-disable-autoconfiguration-ipv4.html

Advertisements

How to Install Windows Media Player on windows server 2008 ?

For one reason or another you may need to use windows media player during your  working on your server which windows 2008  or windows 2008 R2 is installed , to enable windows media player you have to install “ Desktop Experience “ feature from server manager, you need to reboot the server after installing the feature and then you will see the windows media player.

 

desktop experience