Home > Hyper-V, Microsoft, Virtualisation, Windows Server > Microsoft Windows Server 2008 Server Core and Hyper-V

Microsoft Windows Server 2008 Server Core and Hyper-V

I would like to share my experiences installing Hyper-V on Windows Server 2008 Server Core. First you need a hardware that will support it. Then you should install the Windows Server 2008 Server Core on that hardware. When you are choosing server settings remember you have to install the OS using default language settings (EN-US). After the OS is installed take these steps:

* Change the computer name (before joining a domain):
netdom renamecomputer %computername% /NewName:newComputerName

* Check the IPv4 interface idx:
netsh interface ipv4 show interfaces

* Change the IPv4 address:
netsh interface ipv4 set address name=”IDx” source=static address=StaticIP mask=SubnetMask gateway=DefaultGateway

* Add the IPv4 DNS server address:
netsh interface ipv4 set dnsserver name=”IDx” source=static address=IPAddress

* Add the IPv4 WINS server address:
netsh interface ipv4 set winsserver name=”IDx” source=static address=IPAddress

* Join a domain:
netdom join %ComputerName% /domain:DomainName /userd:domain\user /passwordd:*

* Add a domain user to the local administrators group (if you need):
Net localgroup administrators /add Domain\UserName

* Enable Remote Desktop:
Cscript %WinDir%\System32\Scregedit.wsf /ar 0
Cscript %WinDir%\System32\Scregedit.wsf /cs 0

* Activate Windows:
Cscript %WinDir%\System32\slmgr.vbs –ato

* Change Windows Key (If activation failed, and then reactivate):
Cscript %WindDir%\System32\slmgr.vbs –ipk NewKey

* Reboot Windows:
Shutdown /r /t 0

When the server comes up you are ready to install the Hyper-V role. Use these commands:

* bcdedit /set hypervisorlaunchtype auto (so you don’t have to do 2 reboots)
* start /w ocsetup Microsoft-Hyper-V (after this is done reboot again)

After the server comes up verify that all hyper-v related services are up and running using net start to list running services. On my next post I’ll write down some general commands how to enable some general firewall rules in Windows Server 2008 Server Core.

Here is the link the the Microsoft Technet Step-by-Step guide about how to install Server Core.

-Eric

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

%d bloggers like this: