Monday, December 5, 2022
HomeOperating Systems & ServersHow to Run Windows 11 on a Virtual Machine

How to Run Windows 11 on a Virtual Machine


windows 11 logo on a blue background” width=”1200″ height=”675″/>

windows The strict hardware requirements of 11 are well-known. Those requirements require you to take some extra steps when you’re setting up a windows 11 virtual machine — here are all the things you need to do to get it running.

windows 11’s Virtual Machine Requirements

Virtual Machines let you run an operating system — like windows 11 or Ubuntu — without needing a different physical computer. It is possible to create virtual computers that run on the same computer as your current one. It is very convenient to create virtual computers that run on your existing computer.

You have to meet the regular windows 11 hardware requirements in order to run a windows 11 virtual machine, those are:

The CPU, RAM, storage, and display requirements are all pretty easily met on most modern computers. Even solid-state drives — which are ideal for running virtual machines — aren’t all that much more expensive than conventional hard drives. The real problematic requirements tend to be TPM 2.0 and Secure Boot — either (or both) will often prevent a windows 11 virtual machine from being installed.

How to Install windows 11 in a Virtual Machine

There are a few different ways to run Virtual Machines on windows. VMWare Workstation Player is the best option, followed by Oracle VirtualBox. They have different user interfaces and different requirements. You can use whichever you like — it doesn’t really matter here — but don’t install both unless you want to use both.

Note: It is possible to use TPM within VMWare Workstation Player, and Oracle Virtualbox’s 7th edition will support it too. However, we’ve just disabled it here since it is much easier.

If there is other virtualization software you like to use it’ll probably work — you’ll just need to adapt these steps to your software.

Download windows 11

The first thing you need to do is download a windows 11 ISO. Select “windows 11 (multi-edition ISO) from the dropdown box, then click “Download.”

windows-11.png?trim=1,1&bg-color=000&pad=1,1″ alt=”” width=”650″ height=”291″ src=”/pagespeed_static/1.JiBnMqyl6S.gif” onload=”pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);” onerror=”this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);”/>

Start this download as soon as you can. The windows 11 executable is about five gigabytes, and unless you have gigabit internet, it’ll take at least a few minutes to download.

RELATED: Where to Download windows 11 ISO Images Legally

Make sure you know where the windows ISO was saved when you downloaded it. You’ll need that location later.

Install windows 11 in VirtualBox

If you’d like to use VirtualBox, download the latest version of VirtualBox from its website and install it. At the time of writing, that is version 6.1, but be sure to keep an eye out for version 7 if that is available.

windows-hosts.png?trim=1,1&bg-color=000&pad=1,1″ alt=”” width=”693″ height=”399″ src=”/pagespeed_static/1.JiBnMqyl6S.gif” onload=”pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);” onerror=”this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);”/>

Launch VirtualBox after it is installed, click on “Tools,” then click the “Add” button.

1.JiBnMqyl6S

Name the virtual machine something reasonable and descriptive so you can recognize it in the future. Also, ensure that the OS version is set to “windows 11,” then click “Next.”

Warning: You can put the Machine Folder anywhere you want, but try to put it on an SSD. Running a virtual machine on a conventional hard drive is extremely slow by comparison.

1.JiBnMqyl6S

windows 11 only technically requires four gigabytes of RAM, but if you can spare eight gigabytes it could help.

Set the memory size to at least four gigabytes, but use eight if you can spare the RAM.

Click next repeatedly through the rest of the settings. The default options should be fine for general use. After configuring the virtual machine, select your windows 11 (VM) from the list, right-click it, and then select “Settings.” You could also select the VM and click “Settings” in the menu bar at the top.

1.JiBnMqyl6S

Click on the “Storage” tab. Select the “Empty” SATA device, click the small disc icon near the right-hand side, then select “Choose A Disk File.” Navigate to the windows 11 ISO that you downloaded and select it.

windows-11-add.png?trim=1,1&bg-color=000&pad=1,1″ alt=”” width=”650″ height=”500″ src=”/pagespeed_static/1.JiBnMqyl6S.gif” onload=”pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);” onerror=”this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);”/>

Click “OK” to close the Settings window, then click the big green “Start” button.

1.JiBnMqyl6S

You’ll see a black screen with “Press any key to boot from CD or DVD…..” The windows ISO we selected earlier is currently mounted in a virtual DVD drive. When you press any key, you’re telling your virtual machine to boot from the virtual DVD drive.

Prompt that says: "Press Any Key To Boot From CD or DVD."

Go down to the section titled “Disabling TPM 2.0 and Secure Boot” once you see the familiar windows logo.

Install windows 11 in VMWare Workstation Player

The second option you can choose is VMWare Workstation Player. It’s the other major hypervisor that is popular for everyday applications. Download it from VMWare’s website and install it.

Launch VMWare Workstation Player, then click “Create New Virtual Machine.”

1.JiBnMqyl6S

The first thing you need to do is select the windows 11 ISO that you downloaded earlier for the installer image. Select the “Installer Disc Image File” option, then click “Browse” to locate your ISO. Once you’ve done that, click “Next.”

1.JiBnMqyl6S

VMWare Virtualbox Player probably won’t detect that it is a windows ISO; change the operating system type to “Microsoft windows” and set the version to “windows 10 and Later x64.”

1.JiBnMqyl6S

Name the virtual machine whatever you want and set the virtual drive to be at least 64 gigabytes. Stop at the “Ready to Create Virtual Machine” window. You must add additional RAM to the virtual machine, or windows 11 will not function correctly. Click “Customize Hardware.”

1.JiBnMqyl6S

You need to assign a bare minimum of 4 gigabytes of RAM, though if you can spare 8, you should do that instead.

Change the amount of memory for two gigabytes to at least four gigabytes. Eight gigabytes would be even better.

Click “Close” on the customization window, then click “Finish.” Your virtual machine will boot immediately, and you’ll see “Press Any Key to Boot from a CD or DVD.” Hit any key as instructed, and you’ll be greeted with the familiar windows installation screen.

Disabling TPM 2.0 and Secure Boot

There are two small tweaks we need to apply before the installation will work correctly. windows 11 requires windows-need-one-for-disk-encryption/”>TPM 2.0 — by default, neither VMWare Workstation Player nor Oracle VirtualBox will meet that requirement, so it must be disabled. Additionally, VirtualBox doesn’t support Secure Boot, so that’ll need to be disabled as well.

Click through the first few pages until you reach this window:

Hit Shift+F10 when you read the "Activate <a href=windows" page in the installation process to launch Command Prompt. ” width=”1024″ height=”768″ src=”/pagespeed_static/1.JiBnMqyl6S.gif” onload=”pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);” onerror=”this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);”/>

Hit Shift+F10 to open up Command Prompt, type “regedit” into the prompt, and then hit Enter.

Type "regedit" into the Command Prompt window, then hit Enter.

This is the exact same Registry Editor that comes with all windows installations. It lets you modify most of the options available the windows operating system. In this case, we’re going to use it to disable the TPM 2.0 and Secure Boot requirements. Normaly, you should take extreme care when editing Registry values or deleted keys. This can lead to serious problems. However, since this is a virtual machine that hasn’t even been installed yet, you don’t have to worry so much — in the worst-case scenario, you just restart your VM before you install windows, and all the changes you’ve made will be undone.

RELATED: Learning to Use the Registry Editor Like a Pro

Navigate to HKEY_LOCAL_MACHINESYSTEMSetup, then right-click “Setup,” mouse over “New,” and click “Key.” The new registry key must be named “LabConfig” — it isn’t case sensitive but using mixed cases can help readability.

Regedit application. Create a new registry key named "LabConfig" in the Setup registry key.

Two DWORD values (32 bits) must be created within LabConfig. Select the “LabConfig” key, right-click empty space in the right-hand pane, then click New > DWORD (32-bit) Value. Name one DWORD:

BypassTPMCheck

and name the other:

BypassSecureBootCheck

Create two new DWORDs: One named "BypassTPMCheck and the other named "BypassSecureBoot"

If you’ve done everything correctly you should have two DWORDs that look like this:

The two necessary registry keys have been created.

The value must be changed from 0 to 1. Right-click “BypassTPMCheck” and click “Modify.”

1.JiBnMqyl6S

Set the “Value Data” to 1 and hit “OK.”

1.JiBnMqyl6S

Repeat the exact same process with the “BypassSecureBootCheck” DWORD. Once everything is completed you’ll see two DWORDs under the LabConfig Key. Each should be a value 1.

The values of both DWORDS have been changed from 0 to 1.

That’s it — you’re done and ready to install windows 11. Hit the “X” in the top right corner of the Registry Editor and the Command Prompt, then click “I don’t have a product key.”

Note: You can also enter a product key if you have one to use. windows 11 will eventually start complaining that windows needs to be activated if you don’t use a key, however. Whether or not that is a problem depends on what you’re using the virtual machine for.

1.JiBnMqyl6S

All you need to do now is click through the normal windows 11 installation prompts and wait for everything to install.

RELATED: How to Install windows 11’s 2022 Update (22H2)

Trending Articles

RELATED ARTICLES
Continue to the category

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -spot_img

Most Popular

CATEGORIES