VirtualBox

Install Windows 11 on VirtualBox

One can run many OSes such as Windows, Linux, macOS, BSD, and others inside a VirtualBox. This article shows how to prepare, setup, and install Windows 11 in a VirtualBox Virtual Machine (VM).

Please read the disclaimer before proceeding. We review and update guided solutions like this regularly. If you have suggestions or requests, please write support@kfocus.org.

Download Windows 11 ISO

google-chromeUse a browser to download the Windows 11 ISO. Select Windows 11, followed by your preferred language, and then select 64-bit Download.

Prepare Virtualbox

vboxIn this phase, we prepare VirtualBox so it can install W11.

1. Open Machine settings
1. Enter settings
2. Enable EFI
2. Enable EFI
3. Set CPUs

Using half your available virtual cores is a reasonable place to start. The PAE/NX is, in theory, not required. However, an Oracle Guide includes it, so you may want to try it with and without.

3. Set CPUs
4. Configure Display

We often maximize the Video Memory, although 128 MB should be plenty for most office-style tasks.

4. Configure Display

Install W11

Step 1: Start Virtual Machine

Select Win11 disk file.

window-01
Step 2: Choose Preferred Language
window-02
Step 3: Install
window-03
Step 4: Insert Product Key
window-04
Step 5: Wait for Virtual Box
window-05
Step 6: Language
window-06
Step 7: Install
window-07
Step 8: Insert Product Key
window-08
Step 9: Edit Registry

After clicking Next for the product key above, Press SHFT + F10. After opening command prompt, open the Registry Editor by typing regedit.

window-09
Step 10: Open Registry Folder

HKEY_LOCAL_MACHINE/SYSTEM/Setup

window-10
Step 11: Create Folder

Name itLabConfig.

window-11


 


 


 
Step 12: Open LabConfig
window-12
Step 13: Make DWORD Values

Right Click > New > DWORD (32-bit) Value.

window-13
Step 14: Create the Following Registry Entries:
window-14
Step 15: Agree and Continue
window-15
Step 16: Select Custom
window-16
Step 17: Install on Available Disk
window-17
Step 18: Wait Installation to Complete
window-18
Step 19: Configure Windows Setup
window-19
Step 20: Final Setup Screen
window-20
Step 21: Wait for Installation to Complete
window-21
Step 22: Windows Setup Complete
window-22

Troubleshooting

Q: What are some uses of VirtualBox?

A: One may use virtual machines to run applications that are not available on other Operating Systems, as illustrated here. However, one can also use them to test system and package development.

Revisions

This is a partial revision history. See the git repository for all entries.

Disclaimer

We try hard to provide a useful solution validated by professionals. However, we cannot anticipate every situation, and therefore cannot guarantee this procedure will work for your needs. Always backup your data and test the solution to determine the correct procedure for you.

THIS SOLUTION IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOLUTION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

KFocus Logo