Too many NICs register in DNS – how to remove with Powershell

For those of you (like me) that have decided to move to Hyper-V 2012R2 (the free version, or the core version of Server 2012R2), you may run into this issue. Namely, you have more than one NIC that is registering with DNS. In a full server installation, you would open up the IPv4 properties of the NIC in question, go to the DNS tab, and uncheck the “Register this connection’s addresses in DNS” box. If you’re doing it like me, you have to use powershell. Here’s how I did it:

In Powershell (this is for a remote powershell session, you can skip the first command if you’re logged on to the host machine):

Enter-PSSession –ComputerName SERVERNAME –Credential ADMINUSER

{Enter prompted password}


Lists all adapters on host.

Get-NetAdapter ADAPTERNAME | Set-DNSClient –RegisterThisConnectionsAddress $False

Turns off the registration, found when right clicking IPV4 settings of an adapter, selecting DNS tab, and it’s the checkbox near the bottom in the GUI.

Get-NetAdapter ADAPTERNAME | Get-DNSClient

Should show “False” under appropriate area.

Finally, in DNS:

Delete the improper IP Address.

And that should do it!

Leave a Reply