you're reading...
Hyper-V, Microsoft Hyper-V Server 2012, Technology, Virtualization

Hyper-V Server 2012: Changing IP Address, DNS and Domain Join

After installing Microsoft Hyper-V Server 2012 the next thing to do is to configure it, I have already changed the name of my Hyper-V server now it’s time to set it’s Network Settings and join it to my existing domain which is jdeployment.com.

You can download Microsoft Hyper-V Server 2012 at http://www.microsoft.com/en-us/server-cloud/hyper-v-server/

Changing IP Address

In Server Configuration select option 8.

Select the Network Adapter that you want to change settings, in this example index# 11 is selected. Now we will change the IP address from to

To set the network adapter address select option 1 and then type S to set a static IP Address.

Set the subnet mask and default gateway, once done the new details will be displayed.


Setting DNS Server/s

Now we need to set the DNS sever, select option 2.

And enter the DNS IP Address192.168.181.130.

A pop-u box will appear to confirm that the preferred DNS server is set, click OK. After that it will ask you to enter an alternate DNS server, if you have one, just repeat the step and you’re done.

Your DNS server setting changes will reflect in the Network Adapter Settings information, verify that that DNS is working by making a ping command.

Once verified, we are now ready to join our Hyper-V Server 2012 to the domain.


Joining a Domain

Back in the Main Menu, examine our server’s membership, it is currently belong to a workgroup. To change its domain/workgroup membership select option 1.

Select D to join domain.

Enter the name of the domain and specify an authorized user to add the server to the domain. In this example, we will join our Hyper-V server to jdeployment.com and use the administrator account to join it.

The netdom window will prompt you to enter the administrator’s password.

A pop-up will ask if you want to change the computer name before restarting the computer, in this case, I already set my server’s name earlier so I will select No.

Back in the Main Menu, verify that the server is now joined to jdeployment.com.


Restart the server and try log in.


6 thoughts on “Hyper-V Server 2012: Changing IP Address, DNS and Domain Join

  1. Your really the best Sir Jay-R Barrios! 🙂

    Posted by Don | October 4, 2012, 9:48 pm
  2. thanks a lot i was actually having problems because i forgot about setting dns on damn the time wasted i was trying to figure out why it wasnt connecting
    thanks again, god bless you my friend

    Posted by yoannn12 | January 8, 2013, 6:11 am
  3. When I try to change the network adapter settings, I get the error:
    sbconfig.vbs(696, 21) SWbemObjectEx: Invalid index.
    I have three Hyper-v servers and they all do the same thing. How can I change the address?

    Posted by Johnny Miller | August 6, 2013, 11:07 pm
  4. This resolved the same issue I was having. Being completely new to MS Server 2012, the “old” way of joining a domain was not cutting it. Thanks a million for this post. You are a gentleman and a scholar!

    Posted by Jerry Reeves | September 16, 2013, 10:40 pm


  1. Pingback: Change IP address of HyperV host through PowerShell – Just Fucking Google It Already - May 28, 2017

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: