How to install Windows Server 2012 in a Hyper-V VM

Hi Community,

in this small guide I will show you how to install Windows Server 2012 in a Hyper-V VM.

This Server will be my first Domain Controller, so the VM is not so big sized.


1. Pass the Post-Process and boot the Installation DVD or ISO.

Download Trial Version

2. The first Screen you will see after Booting the DVD is the “localisation screen”

I normaly install my Servers with english language pack and set Time and Keyboard Layout to german but thats why I’m located in germany.


3. When you set all Localisations you need, klick on “next”.

4. After this you get the Screen where you can enter the installation interface or the repair interface. Please klick here “Install now”.


5. After this you will ask after your productkey.


The productkey should be located on the lower left (when the HDs are in front of you) corner of your server.


6.  After you entered your productkey you can klick “next” to select the type of GUI you want to use.

Maybe some best practice from my site in this case. Install your first server and your management server with GUI all other only as core. When you are not familiare with serverconfiguration on a core server, you can also install with GUI and than change back to core version via PowerShell Command.


7. After you selected the GUI or Core installation, you have to read 😉 and agree the License Terms and klick “next”.


8.  Now you have to select if you want to upgrade an old installation or if want to install a fresh windows. In my case I want to install a fresh windows server so I selected “Custom”


9. Now you can selecte your availible Harddisks or VHD (also VHDx). Here the VHD is preconfigured. But no fear, if you want to partition or prepare your HD click on expand options than new and now you can partition and format the disk. It’s the same like in Windows Server 2008 / R2, Vista and Windows 7.


10. Klick “next” and the installtion will beginn. Installation take 20 t0 40 minutes.


11. After the installation is finished the server reboots and you have to enter the new Administrator password.


12. Now you get the login screen and you have to press Ctrl + Alt + Delete to enter your adminpassword.


13. Type your passwort and press enter


14. After this it takes a few minutes for first initialization of the useracount and than you should see the new Servermanager. When this works the installation is finished.

Private Cloud Demo Extravaganza presented by Symon Perriman

Hello Community,

here a “short” screencast collection presented by Symon Perriman from “Bare Metal to Private Cloud” with System Center 2012.

Deploy Bare Metal Servers to Hyper-V with System Center 2012

Multiple Hypervisors for Cloud Resources & Adding ESX Servers with System Center 2012

Add Resources to a Failover Cluster with System Center 2012

Service Template Creation & Deployment with System Center 2012

Standardized Service Updating with System Center 2012

Monitor Network Devices with System Center 2012

Monitor and Automatically Resolve Issues in the Fabric with System Center 2012

Create an Orchestrator Runbook and Integrate with Service Manager with System Center 2012

Create Self-Service Request Offerings using the Service Catalog with System Center 2012

Deliver Self-Service Request Offerings using the Service Catalog with System Center 2012

Gain Insight & Visibility through Service Manager Reporting with System Center 2012

Enabling Application Performance Monitoring with System Center 2012

Creating an Application Performance Monitoring Dashboard with System Center 2012

Deep Application Diagnostics & Insight with System Center 2012

Managing Applications Across Private & Public Clouds with System Center 2012

Managing Application Resources Across Private & Public Clouds with System Center 2012

Self-Service Application Deployment with System Center 2012

Some thoughts on NIC Partitioning (NPAR)

Hello community,

today some thoughts about NIC Partitioning.

What means NPAR?

NPAR is a technology used by Broadcom and Qlogic, which enables you to split up traffic on a Networkcard (NIC) in 4 partitions. NPAR is only working with 10GbE technology. NPAR is similar to QoS on Networklayer.

How can I split up the traffic?

You can split up the traffic in different ways. Like with QoS with UDP or TCP packet filter but you have also the option to split up in VLANs, Virtual Machine or application client. For application client your software must support multitenant.

When I split up the bandwidth is this dynamic or static?

You can have both, it is possible to set up static partitions or you can set it dynamic.

As you see in the picture, there are static bandwidths configured for iSCSI, FCoE, TOE and other protocols and dynamic for VMs. It is also possible that more than one Protocol or VM uses one Partition.

Has my switch to support NPAR?

No. Your switch has not to support, for your switch there is no different between an NPAR NIC than a normal NIC.

What about the OS, can every OS handle NPAR?

No. There is a list of supported OS,  Windows Server 2008 and 2008 R2, Windows Server 2012, Windows Hyper-V Server, RHEL, 5.5 and 6, SLES 11 SP1, VMware ESX, ESXi 4.1 and ESXi 5.0.

Why should I use NPAR?

From datacenter perspective it would reduce your cabling and maximize bandwidth.

How does this work?

Let me give you an example. For an Hyper-V cluster you need one NIC for Management, one NIC for Cluster Heartbeat, one for Livemigration, one for cluster shared volume, two iSCSI NICs and two or more NICs to attach you Company and VM Network.  So in the past you had many NICs or a few NICs with many ports. With NPAR it is possible to use at least two 10GbE NICs  Ports to setup the complete network environment. That reduces cabling and you don’t need big 2U sever to hold all the cards.

How to configure NPAR?

Check out the links and the video below.





For more questions and information take a look in this whitepapers and blogs.

Thank you for reading.



Mounting .vhd during OS boot via script

Hi Community,

in this blog I will show you how to mount a .VHD file during boot.

1. create a new .txt and type in:

select vdisk file=<filepath to vhd><vhd name>.vhd #example select vdisk file=d:\Brighteyes_Win7_installation.vhd

attach vdisk

2. create a new .bat file

diskpart -s “<filepath to .txt file>” #example “d:\scriptsautomount_data.txt”

3. copy both files on the same harddrive where the your .vhd are located. If you have .vhd files at different positions, copy them in your windows rootdirectory (subfolders are also ok)

4. now you have two options to run the script

Option 1: easiest but worstest way

a. create a link to the batchfile in your autostart folder

Option 2: good middleway

a. click right on the computer icon and select manage

b. Open the computer management and go on Task Scheduler

c. click on create task

d. under general please select:

Name: What ever you think

Discription: Mount VHD file xyz

select -> Run whether user is logged on or not: 

select -> Run with highest priviliges

select -> Configured for Windows 7 and Windows 2008 R2 

e. go on Triggers and klick new

f. select Trigger at startup and klick ok 

g. go on conditions and remove all marks from the checkboxes

h. go on settings and change following options

select -> allow task to be run on demand

select -> Run task as soon as possible after a scheduled task is missed

select -> after the task failed, restart every: 1 minute

select -> Attempt to restart up to: 3 times

select -> stop the task if it runs longer than: 1 houre

select -> ih the running task does not end when requested force it to stop

i. klick ok 

j. restart your OS and check if the HD is mounted

It is also possible to mount VHDs with local or group policy’s. I will explain this in one of my next blogposts.

How to install Windows 7/8 and Windows Server 2008 R2 or Windows Server 2012 in a bootable .VHD file

Hello Community,

In this Blog I want to show you how to install Windows in a bootable VHD. In my example I will use Windows 7.

1. Boot from Windows DVD until you see this Screen

First boot screen where you can select Language, Keyboard and so on.

2. On the next Screen press Shift+ F10 or Repair options to Open a Console

3. On the console type diskpart – now you changed to the application diskpart

4. At first run the command listdisk to see the avail disks

5. If no Disk is listed you need to run the next few task otherwise you can go on with Task 9.

6. Write command select disk 0 to attaché first HD

7. Now type clean to wipe and prepare the drive

8. The last step is to format and attaché the drive. So run following commands:

a. Create part primary

b. Format fs=ntfs label=”Harddrive 0” quick

c. Active

d. Assign letter=c

9. Now you can create the VHD

10. To create the bare VHD type following command: create vdisk file=c:\win7.vhd maximum=50000 type=expandable

You can also use type=fix to allocate the complete space in the HD but this is not needed when you have new faster systems. The OS will not notice when the VHD file expands and you have no performance problems.

11. To prepare the VHD for installation use following commands:

a. select vdisk file=c:\win.vhd

b. attach vdisk

c. create part primary

d. format fs=ntfs label=“Win” quick

e. active

f. assign

12. now type Exit to leave Diskpart

13. Don’t reboot your System!!!

14. Back at x:sources

15. Type the command setup.exe and the windows installation will start

16. Click the User definite installation

17. Select the drive you created

18. And start the installation

19. Finished after the installation and reboot you use the VHD file.