I have a virtual machine running Windows Server 2012.
The virtual NIC on the the VM was given a static IP of 192.168.1.2
However we had a non related issue with the NIC and I had to remove this and add another one.
When I give this NIC the static IP of 192.168.1.2, it doesn't keep these details. It saves them, but after a few minutes there is limited connectivity.
IPConfig reveals that the IP address is a 169 one.
But if I give it another static IP address, ie 192.168.1.6, the details are saved and stay saved
Investigating the cause. I looked at hidden devices within device manager and uninstalled a hyper-v virtual adapter (that related to the first NIC) and restarted the server
This made no difference to the issue
When I access the interfaces within HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces I can see the one being used.
Is there another registry key holding the values for my first NIC, and therefore preventing me from using that IP address?