Jump to content

How to Create a Windows-7 Virtual Machine with Hyper-V

mesin virtual windows-7 di Hyper-V
5
(9)

For Windows-10 or Windows-11 users, It is possible to create a Windows-7 virtual machine using Hyper-V. With Hyper-V you can run operating systems and programs, and can run more than one virtual machine on the same hardware at the same time.

This guide will show you how to configure a Windows-7 virtual machine using Hyper-V Manager in Windows 10 or Windows 11. You can create and run Windows-7 virtual machines easily using Hyper-V, and connect it to the network for internet access.

What is Hyper-V

Hyper-V is a hardware virtualization product created by Microsoft which functions to create and run versions of computer software, which is called a virtual computer. Virtual systems can be used and managed just like physical computer systems, virtual systems reside in virtual and isolated environments. Specialized software called a hypervisor manages access between virtual systems and physical hardware resources. You can learn more tentang Hyper-V

Preparation

Several requirements must be met to create a Windows-7 virtual machine using Hyper-V

Condition:

  1. Windows 10/11 Enterprise, Pro, or Education
  2. 64-bit processor withSecond Level Address Translation (SLAT).
  3. CPU support for VM Monitor Mode Extension (VT-c on Intel CPUs).
  4. Minimum memory 4GB
  5. Minimum free storage space is 40GB
  6. Activate Hyper-V.  You can read the guide how to enable Hyper-V.
  7. File ISO Image (.iso) from the Windows-7 Operating System installation DVD

Creating a Windows-7 Virtual Machine

The easiest step to create a Windows-7 virtual machine in Hyper-V is to use the Virtual Machine Wizard.

1. Using the Virtual Machine Wizard.

To use Virtual Machine Wizard, open Hyper-V Manager, if you can't find it on Start Menu, try finding it via the search feature by typing Hyper-V. If you can't find Hyper-V Manager, double check that you have enable Hyper-V on your PC.

After running Hyper-V Manager, in section Action, click New -> Virtual Machine. Window New Virtual Machine Wizard will open.

Hyper-V Manager
Hyper-V Manager

Here is the window Virtual Machine Wizard. In creating a Windows-7 virtual machine, some settings need to be made, Therefore click Next

Virtual Machine Wizard
Virtual Machine Wizard

2. Specify the Virtual Machine Name and Location.

The first step in Virtual Machine Wizard is to determine the name and location of the virtual machine that you will create.

On the field Name, type the name of the virtual machine, example: Windows-7. By default the virtual machine will be created on-premisesC:\ProgramDataMicrosoftWindowsHyper-V (green box). If you don't want to change the location of the virtual machine, click Nextto continue.

menentukan nama mesin virtual
Specifies the Name and Location of the Virtual Machine

If you want to choose a different location, select Store the virtual machine in a different locatioan, then select the location via the button Browse, then click Next to continue.

pilih lokasi mesin virtual
Specifies the Name and Location of a different Virtual Machine

3. Select Virtual Machine Generation

Next is to choose the virtual machine generation. Windows-7 can only be run with first generation virtual machines, therefore choose Generation 1, then click Next to continue.

pilih Generasi Mesin virtual
select the virtual machine generation

4. Determine the Memory Size of the Virtual Machine

Here, You can specify how much memory you want to allocate to the virtual machine. Keep in mind that the size you set will increase the used size of the physical computer memory when you run the virtual machine.

On the field Startup memory, enter the amount MB you want to allocate. For Windows-7, The memory required is the least 1GB or 1024MB, You can specify larger if your physical computer memory is large enough.

Select Use Dynamic Memory, then click Next to continue

menentukan ukuran Memori mesin virtual
Determines the memory size virtual machine

5. Virtual Machine Network Configuration

In this section, You can choose Not Connected and immediately proceed to the next stage. This step was selected because you have not yet created one virtual switch, and this is useless if you don't want the virtual machine connected to the network.

Once you have finished creating the Windows-7 virtual machine and running it, You still can Connecting Virtual Machines to the Network via settings.

Click Next to continue.

Konfigurasi Jaringan mesin virtual
Network configuration

6. Connect a Virtual Hard Disk

If you already have a virtual hard disk and want to use it on this machine, select Use an existing virtual hard disk.

Assume that you don't have a virtual hard disk yet, therefore you need to create it. To create a virtual hard disk select Create a virtual hard disk then follow these steps:

  1. On the field Name, type the name of the virtual hard disk.
  2. On Location, select the location you want. Example: D:\MyVMWin7Win7Disk
  3. On the field Size, enter the number in GB you want to create. For Windows-7, The minimum hard disk size is 20GB
  4. Click Next to continue
Membuat hard-disk virtual
Create a virtual hard disk

7. Determine Installation Options

In this installation option, do the following steps:

  1. Select Install an operating system from a bootable CD/DVD-ROM
  2. Select Image file(.iso), then select the location where the ISO Image (.iso) from the Windows-7 Operating System installation DVD via the button Browse
  3. Click Next to continue.
Menentukan pilihan instalasi
Determine installation options

8. Completion of Virtual Machine Creation

Following is a summary of the virtual machine you will create. Click Finish to confirm completion of virtual machine configuration.

Ringkasan Mesin Vertual
Vertical Machine Summary

The next step is Connecting Virtual Machines to the Network, You can jump to a section Running a Virtual Machine if you want to run a virtual machine without connecting to the network.

Connecting Virtual Machines to the Network

To connect virtual machines to the network, You need to make one virtual network switch using Virtual Switch Manager.

1. Buka Virtual Switch Manager

Opening the Virtual Switch Manager is quite easy, back to Hyper-V Manager, then on section Action, select Virtual Switch Manager

Membuka pengelola jaringan virtual
Opens virtual network manager

2. Create a New Virtual Switch

To create a new virtual switch, on Virtual Switch Manager do the following steps:

  1. In section Virtual Switches, click New virtual network switch
  2. In section Create virtual switch, select External
  3. Then click the button Create Virtual Switch
Membuat Virtual Switch
Creating Virtual Switches
  1. On the field Name, type a name for the Virtual Switch, example: V_LAN
  2. On Connection type, select External network, select an available network device, then click Allow management operating system to share this network adapter
  3. Click OK to save
Menentukan properti Virtual Switch
Define Virtual Switch properties
  1. If confirmation appears “Apply Network Change” click Yes
Konfirmasi perubahan jaringan
Confirm network changes

3. Change Network Settings on the Virtual Machine

If you have previously selected network configuration Not Connected for the virtual machine you created, You can make network configuration changes to Connected.

To change the network configuration of a virtual machine, on Hyper-V Manager, right click on the virtual machine name, then click Settings

Membuka Pengaturan Mesin Virtual
Opening Virtual Machine Settings

In the virtual machine settings, do the following:

  1. In section Hardware, select Network
  2. Then on Virtual switch, choose a name virtual switch that you have created.
  3. Click OK to apply.
Pengaturan Jaringan pada Mesin Virtual
Network Settings on a Virtual Machine

Network setup on the virtual machine has been completed. The next step is running a Windows-7 virtual machine.

Running a Virtual Machine

To run a virtual machine, do the following steps:

Open Hyper-V Manager, right click on the virtual machine name then click Connect… then the virtual machine screen will open.

Menghubungkan dengan Mesin Virtual
Connect with Virtual Machine

On the virtual machine screen, machine status in state Off , click Start to run a virtual machine.

Layar Mesin Virtual
Virtual Machine Screen

When the virtual machine is started, You will see the same process when running a physical computer. You can interact with the virtual machine via keyboard and mouse by clicking on the virtual machine screen.

You can start the process installing Windows 7 by pressing any button on the virtual machine screen.

Memulai instalasi Windows-7
Starting the Windows-7 installation in the virtual machine

After process installing Windows 7 finished, mesin virtual akan berjalan sebagaimana sebuah komputer biasa.

mesin virtual windows-7 sedang berjalan
The Windows-7 Virtual Machine is running

Finished

That's how to create a Windows-7 virtual machine using Hyper-V in Windows 10 or Windows 11. You can run a Windows-7 virtual machine simultaneously with several other virtual machines on a physical computer that you own. Each virtual machine acts like a complete computer.

Hope it is useful.

How useful is this article?

Click on a star to rate it!

Average rating 5 / 5. Total votes: 9

No sound so far! Be the first to rate this article.

We apologize that this article was not useful for you!

Let us improve this article!

Let us know how we can improve this article?

5 response to β€œHow to Create a Windows-7 Virtual Machine with Hyper-V”

  1. whoah thjs weblog is excellent i really like studying your articles.

    Stay up the great work! You recognize, a lot of people are
    looking round for this information, you could help them greatly.

  2. Dude..

    You are the best… your guide is so helpfull and usefull. Thank you so much.

  3. Sir,
    You are a genius!
    Brilliant article.
    Very clear.
    Very comprehensive.
    MANY THANKS!

  4. Keren…
    #ask bro
    Can be done on all versions of Windows 11 like the educational version, home or only for the pro and enterprise versions, bro ? πŸ˜πŸ˜πŸ™πŸ™

Comments are closed.