How to install and run Hyper-v Server 2012 R2 on USB

Install HyperV Server 2012 using USB drive

Blog by Raihan Al-Beruni

Requirements:

 Note: The following steps work for Hyper-v 2012 R2. You have to use SConfig tool to configure basic Hyper-v settings such as remote administration and networking. When you boot server using this USB stick containing .vhdx file, Setup begins. You can then select preferred option.

How to install Hyper-v Server 2012 R2 on USB

Step1: Install Windows WAIK on a Windows 8 PC

You will see DISM.exe in C:Program Files (x86)Windows Kits8.0Assessment and Deployment KitDeployment Toolsamd64DISM

Step2: Extract Windows Server 2012 R2 and copy install.wim file in C:Win2012R2ISO location

Step3: Create VHDX file

Open elevated command prompt, issue the following command step by step

mkdir c:Win2012R2

diskpart

create vdisk file=c:Win2012R2HYPV2012R2.vhdx maximum=81920 type=fixed

where 81920 is 80GB.

select vdisk file=c:Win2012R2 HYPV2012R2.vhdx

attach vdisk

create partition primary

assign letter=r

format quick fs=ntfs label=HYPV2012R2

exit

Step4: Apply install.wim file

View original post 372 more words

Advertisements

“Knowledge is Power”, So you wanna share it ?

Hi, I am Atanu Majumder, Network Security Professional, worked in different technologies in my total IT career. Wanted to share some of my experience and knowledge and want to get some of yours 🙂

So lets start here !!