• 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

23

  • 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

Script backup database and website on telegram
Network

Script backup database and website on telegram

May 2, 2025
Create 64GB RAM 16 core for free on Google IDX
Network

Create 64GB RAM 16 core for free on Google IDX

April 13, 2025
What is VPS running Vietnamese software? What is the reason for installing Vietnamese software on VPS?
Network

What is VPS running Vietnamese software? What is the reason for installing Vietnamese software on VPS?

February 17, 2025
Create Ronin wallet to play pixels on VPS Windows
Network

Create Ronin wallet to play pixels on VPS Windows

February 17, 2025
What is Proxy Gradient Network? Instructions for using Proxy to suspend multiple Gradient accounts
Network

What is Proxy Gradient Network? Instructions for using Proxy to suspend multiple Gradient accounts

December 26, 2024
How to buy a .news domain for free for 0 VND at Namecheap
Network

How to buy a .news domain for free for 0 VND at Namecheap

December 22, 2024
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

Launching the notebooklm application on iOS and Android

Launching the notebooklm application on iOS and Android

May 22, 2025
Guide to comment on the constitution amendment on VNEID

Guide to comment on the constitution amendment on VNEID

May 21, 2025
Tips to fix the file is open in another program

Tips to fix the file is open in another program

May 21, 2025
7 ways to release RAM to accelerate your Windows computer

7 ways to release RAM to accelerate your Windows computer

May 21, 2025
Launching the notebooklm application on iOS and Android

Launching the notebooklm application on iOS and Android

May 22, 2025
Guide to comment on the constitution amendment on VNEID

Guide to comment on the constitution amendment on VNEID

May 21, 2025
Tips to fix the file is open in another program

Tips to fix the file is open in another program

May 21, 2025
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

Launching the notebooklm application on iOS and Android

Launching the notebooklm application on iOS and Android

May 22, 2025
Guide to comment on the constitution amendment on VNEID

Guide to comment on the constitution amendment on VNEID

May 21, 2025
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí SHBET bongdaso

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí SHBET bongdaso