Run several OSes such as Microsoft Windows, Linux, BSD, and others inside a virtual machine. This article shows how to prepare, setup, and install Windows 11 in a VirtualBox Virtual Machine (VM). IMPORTANT: If you are looking to dual-boot Windows from a separate drive, please contact customer support to receive a full installation kit.
Please read the disclaimer before proceeding. We review and update guided solutions regularly. If you have suggestions or requests, please write support@kfocus.org.
Use a browser to download the Windows 11 ISO. Select Windows 11, followed by your preferred language, and then select 64-bit Download.
If you prefer, you can download a ready-made virtualbox image from Microsoft and skip the section on installing the ISO.
If you are using Kubuntu 24.04 (Jammy), you may be told that the VM does not meet Windows 11's hardware requirements during the installation process. This is due to the older version of VirtualBox shipped with Kubuntu 22.04. If this happens, you can bypass the hardware requirements to continue with the installation. Note that this procedure is not necessary when using Kubuntu 24.04 (Noble).
Step 1: Upon reaching the 'Activate Windows' screen (step 4 of Install W11), press [SHIFT][F10]
to open a terminal window, then run 'regedit'. You may need to press the 'Back' button to get here if you've already hit the hardware requirements error.
Step 4: Right-click the 'LabConfig' key you just made, then click New > DWORD (32-bit) Value. Name the new value 'BypassTPMCheck' and set its value to '1'.
Step 1: Press Shfit+F10 to open a terminal, and run 'OOBE\BYPASSNRO'. This will bypass needing a Microsoft account. The VM will reboot automatically.
Step 7: Right-click the virtual network adapter and disconnect it. This is necessary to bypass needing a Microsoft account.
Step 11: Choose three security questions and their answers. We recommend using your VM password as the answer to each question.
Step 19: In the installation wizard, click 'Next' until you are shown the 'Choose Components' screen.
Step 22: Once installation is finished, click 'I want to manually reboot later', then click 'Finish'.
Step 23: In the VirtualBox manager window, ensure the Windows 11 VM is selected, and click 'Settings'.
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.
This is a partial revision history. See the git
repository for all entries.
2024-09-05 d2bc21e4
Add lightbox views, refresh content2024-07-02 c83184e4
Switch to kfocus-mime schema2024-03-18 fb9b592d
Add syntax highlighting for codeblocks2023-11-18 e770b1c6
Add search and help bar2023-02-10 1371a2c1
Add images2022-06-13 a5948dd7
Add Prepare Virtualbox section2022-06-09 d531a300
First publicationWe 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.
HAVE QUESTIONS?Call 844-536-2871 or write
TellMeMore@kfocus.org | GET FOCUS MERCH