Virtual Machine losing static IP details

I have a virtual machine running Windows Server 2012.

The virtual NIC on the the VM was given a static IP of

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, 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, 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?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
Try and remove the Hidden Devices. e.g. the hidden network interface (because the phantom network interface) will still have the original IP address allocated to it.

how to remove here
JohnBusiness Consultant (Owner)Commented:
Does your VM work on a bridged connection?  If so, it gets it IP from the host network and you cannot change it arbitrarily in the VM.

What is the issue with the NIC that means you need to change the IP?

.... Thinkpads_User
plokij5006Author Commented:
Thanks for the responses.
I have ran through the hidden devices

The Vm doesn't work on a bridge connection.
There is no current issue with the NIC as the static IP of works fine.
However I would like the VM to use it's original static IP of
When I change the static IP, the status changes to unknown network with limited connectivity.
IPCONFIG/ALL shows that the IP address is a 169 one, even when I got back into the IPV4 properties, the details are blank........
HTML5 and CSS3 Fundamentals

Build a website from the ground up by first learning the fundamentals of HTML5 and CSS3, the two popular programming languages used to present content online. HTML deals with fonts, colors, graphics, and hyperlinks, while CSS describes how HTML elements are to be displayed.

JohnBusiness Consultant (Owner)Commented:
Is this VMware?  In VMware, the IP of a NAT connection is controlled through the Network Editor (part of VMware) and not via the machine.

... Thinkpads_User
plokij5006Author Commented:
Apologies, The Windows Server 2012 virtual machine is running on a Windows Server 2012 server with the hyper-v feature.
JohnBusiness Consultant (Owner)Commented:
I am not sure about Hyper-V, but the guest machine would normally get its IP from the outside host (what I call Bridged, and you said no) or from a DHCP server on the host machine (what I call NAT).

Try running TCP/IP Reset on the guest machine to see if you can get it back to normal. Here is a Microsoft Support link to help with that.

.... Thinkpads_User
plokij5006Author Commented:
Still the same issue. Cannot put in the original static IP of It doesn't like this at all.

It is like the virtual machine still has the entry for the original Network Adapter somewhere.
JohnBusiness Consultant (Owner)Commented:
Did you try the TCP/IP Reset?

Can you uninstall the NIC and reinstall it to see if that clears the problem?

... Thinkpads_User
Svet PaperovIT ManagerCommented:
The IP address of the NIC could be found in several keys. You could try the following:

1. Set a different IP address to the new card, for example (you said it was accepted by the OS)
2. Search the registry and replace the original IP address with something completely unrelated, like
3. Restart the server and try to change the address to

Optionally, if it works you could backup and remove the keys having address later.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
if you power off the VM, does the IP Address still respond to pings?

there is NO IP Address clash on the network?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
plokij5006Author Commented:
After more investigation (andrew hancock put me on the right path), it turns out a POE switch was rebooted this weekend and it's default IP address is

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
No problems, it's very annoying when you get IP conflicts, we get many!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.