• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

Install and run Hyper-V Server 2012 R2 on USB

AnonyViet by AnonyViet
January 28, 2023
in Network
0

I) Introduction

Join the channel Telegram of the AnonyViet 👉 Link 👈

Sometimes the enterprise’s infrastructure has some server lines that do not have hard drives, and to run the operating system, the operating system must be booted via SAN/iSCSI SAN or SD Card/USB. This article will guide you to create and run Hyper-V Server 2012 R2 operating system on USB. Make it possible to run Hyper-V Server on any server and anywhere.

Hyper-V Server 2012 R2 is a free version that allows download and installation. . It is a Stand-alone version and contains only the virtualization layer (Hypervisor) to run Hyper-V, so it consumes less CPU/Memory resources. Hyper-V Server contains all the same features and components as the Hyper-V role in Windows Server 2012 R2.

II) Prepare

  • Download and download Hyper-V Server 2012 R2 at this
  • Download and download Windows AIK for Windows 7 at this
  • Lab exercises done on Windows 7

III) Implementation

1) Install Windows AIK for Windows 7

  • Run StartupCD.exe and select “Windows AIK Setup” to proceed with the installation

Install and run Hyper-V Server 2012 R2 on USB 5

0 2

  • Select the installation path -> Leave as default

0 3

0 4

2) Copy files Install.WIM of Hyper-V Server 2012 R2 DVD

  • Go to DVD -> Sources -> find the file “Install.WIM” and copy them

2

  • Create a temporary folder on C drive and name it “Temp” -> Past file “Install.WIM into the”

3

3) Create a VHD file with Diskpart and show the VHD drive

  • Go to Windows -> find “cmd” and right click “Run as administrator”

4 0

  • Create a hvboot directory on drive C to store VHD files with the command “mkdir c: hvboot”, type diskpart to use this tool to create VHD files

4

    • Create a vhd with a capacity of 6GB, stored in the hvboot directory:
      • Create vdisk file=c:hvbootHyperV.vhd maximum=6000 type=fixed
    • Create a partition and attach the newly created VHD file so that the drive can be seen HyperV.vhd(R:)
      • Select vdisk file=c:hvbootHyperV.vhd
      • Attach vdisk
      • create partition primary
      • assign letter=CHEAP
    • Format the drive and name it:
      • format quick fs=ntfs label=HyperV

5

6

4) Insert the Hyper-V Image into the newly created VHD drive and detach the HyperV drive (R:)

After creating the VHD file, the next step is to put the Hyper-V Image (Install.WIM) to this VHD drive

  • Go to the Windows AIK folder and select the architecture, depending on the server model, there are appropriate architecture types (eg x86, ADM, IA64)
    • Type: cd “C:Program FilesWindows AIKToolsx86”
  • Perform pressing HyperV Image to the VHD drive:
    • Type: /Apply C:TempInstall.WIM 1 R:

8

9

  • Do detach the HyperV drive (R: drive), type:
    • Diskpart
    • Select vdisk file=c:hvbootHyperV.vhd
    • detach vdisk
    • exit

ten

5) Plug in the USB, proceed to format the USB and put the VHD file in

  • Identify the USB with diskpart, type:
    • Diskpart
    • List disk -> determine which drive is 8GB in size

6666666666666

  • Format and set it back to Z drive and create a partition to show the USB, type:
    • Clean
    • Create partition primary
    • Select partition 1
    • Active
    • Format quick fs=ntfs
    • Assign letter=Z
    • Exit

11

  • Copy files HyperV.vhd and paste to USB (Z:)

twelfth

5555555555555555

6) Create MBR (Master Boot Record) and copy boot files in Windows folder to USB

  • Use bootsect tool in Windows AIK to generate MBR for USB, depending on server architecture, Type:
    • cd “C:Program FilesWindows AIKToolsPEToolsX86”
    • Bootsect /nt60 z: /force /mbr

14

  • Attach the VHD file to proceed to create bcdboot for the following step, type:
    • Diskpart
    • Select vdisk file=Z:HyperV.vhd
    • Attach vdisk

15

  • Make a copy of some system files in your Windows folder HyperV.vhd to the USB drive (Z:), type:

16

7) Disable Paging File and detach the drive HyperV.vhd

  • Load Registry, type:
    • Reg load HKLMHyperVTemp R:WindowsSystem32ConfigSystem
  • Remove paging file by changing the value to null, type:
    • Reg add “HKLMHyperVTempControlSett001ControlSession ManagerMemory Management” /v PagingFiles /t REG_MULTI_SZ /d “” /f
  • Delete the Paging File, type:
    • Reg delete “HKLMHyperVTempControlSet001ControlSession ManagerMemory Management” /v ExistingPageFiles /f
  • Unload the Registry, type:
    • Reg unload HKLMHyperVTemp

18

  • Disk Detach HyperV.vhdtype:
    • Diskpart
    • Select vdisk file=Z:HyperV.vhd
    • Detach vdisk

19

8) Test and boot with USB

After completing the configuration, we proceed to test the USB

  • Plug the USB into the Server and select USB

21

  • Select OS

22

  • The system detects some devices in the Server and scans the Driver

Install and run Hyper-V Server 2012 R2 on USB

  • The first time you boot, the operating system will ask you to change the Administrator password

24

  • Complete the Boot process, now you only need to configure Computer Name, Network, Firewall, Date and Time ….

25

The article achieved: 5/5 – (100 votes)

Tags: HyperVinstallRunServerUSB
Previous Post

How to register Notion Pro 10 with Coupon 1000$

Next Post

Python Cybersecurity – Lesson 2: The Requests . Library

AnonyViet

AnonyViet

Related Posts

Save image as Type contains malicious code: Remove immediately before losing money unfairly!
Network

Save image as Type contains malicious code: Remove immediately before losing money unfairly!

March 19, 2026
Instructions on how to register a .co.uk domain name for free for 1 year
Network

Instructions on how to register a .co.uk domain name for free for 1 year

March 12, 2026
How to Setup Paperclip AI: Create a Company for AI Agent
Network

How to Setup Paperclip AI: Create a Company for AI Agent

March 12, 2026
Compilation of free and cheap APIs to run OpenClaw stably
Network

Compilation of free and cheap APIs to run OpenClaw stably

March 10, 2026
3 Services to Determine IP Location for Website (IP Geolocation API)
Network

3 Services to Determine IP Location for Website (IP Geolocation API)

March 10, 2026
How to buy a .STORE domain name for 1 USD (2026): Detailed instructions from A–Z
Network

How to buy a .STORE domain name for 1 USD (2026): Detailed instructions from A–Z

March 3, 2026
Next Post
Python Cybersecurity – Lesson 2: The Requests . Library

Python Cybersecurity - Lesson 2: The Requests . Library

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

How to turn off password suggestions on iPhone: Prevent Safari from auto-filling passwords

How to turn off password suggestions on iPhone: Prevent Safari from auto-filling passwords

April 27, 2026
Instructions for looking up prescriptions on VNeID instead of paper medical books

Instructions for looking up prescriptions on VNeID instead of paper medical books

April 26, 2026
Tips to completely turn off CAPTCHA codes on iPhone and Mac are super simple

Tips to completely turn off CAPTCHA codes on iPhone and Mac are super simple

April 25, 2026
Compare Poco X8 Pro and Poco X7 Pro: A new step for the “king” of mid-range performance

Compare Poco X8 Pro and Poco X7 Pro: A new step for the “king” of mid-range performance

April 24, 2026
How to turn off password suggestions on iPhone: Prevent Safari from auto-filling passwords

How to turn off password suggestions on iPhone: Prevent Safari from auto-filling passwords

April 27, 2026
Instructions for looking up prescriptions on VNeID instead of paper medical books

Instructions for looking up prescriptions on VNeID instead of paper medical books

April 26, 2026
Tips to completely turn off CAPTCHA codes on iPhone and Mac are super simple

Tips to completely turn off CAPTCHA codes on iPhone and Mac are super simple

April 25, 2026
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

How to turn off password suggestions on iPhone: Prevent Safari from auto-filling passwords

How to turn off password suggestions on iPhone: Prevent Safari from auto-filling passwords

April 27, 2026
Instructions for looking up prescriptions on VNeID instead of paper medical books

Instructions for looking up prescriptions on VNeID instead of paper medical books

April 26, 2026
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply