FIX: Windows 10/11 install error 0x0000005D in VirtualBox

Reading time icon 3 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Key notes

  • VirtualBox is one of the most appreciated virtualization software on Windows 10, used by many on a day-to-day basis.
  • First step in solving this issue is to change BIOS settings. Go to CPU Configuration feature, heck for the No-Execute Memory Protection option and click on it and change this feature to Enabled.
  • Learn everything about virtualization, you can access all our articles from our special Virtualization category.
  • If you encounter any other Windows 10 errors please take a look at our dedicated Errors hub.
VirtualBox error code 0x0000005D when installing Windows 10

Are you trying to install Windows 10 in VirtualBox and you are getting the following error: Your PC needs to restart. Please hold down the power button. Error Code: 0x0000005D?

This error occurs when you are trying to run or install a version of windows that is not supported by your system’s processor.

To install Windows 10 on your PC, the processor must support the Physical Address Extension (PAE), NX and SSE2 features.

Most of the systems support these features, so if this error occurs it is likely because the NX (No eXecute bit) feature is not activated on the system. You will find this feature as XD (eXecute Disabled) within the BIOS settings.

How can I fix error code 0x0000005D to install Windows 10?

1. Change BIOS settings

  1. You need to reboot your computer.
  2. After reboot, you need to press the F2 key to access the BIOS.
  3. In the BIOS section, select the Advanced feature.
  4. Select the CPU Configuration feature.
  5. Check for the No-Execute Memory Protection option and click on it.
  6. Change this feature to Enabled (by default, it is disabled).
  7. Reboot your system and begin the process of installing Windows 10 in VirtualBox normally.

2. Change settings in Motherboard menu

  1. You need to set up the Base memory to 4096 MB.
  2. In the Boot order section, you need to check the boxes next to the CD/DVD and Hard Disk features.
  3. Switch the Chipset to PIIX3.
  4. Set up the Pointing device feature to PS/2 Mouse.
  5. In the Extended features section, you need to check the box next to the Enable I/O APIC feature.

Find all about the best virtual machines for Windows 10 in this simple guide.


3. Change settings in Display tab

  1. Video Memory has to be set to 256 MB.
  2. Toggle Monitor count to 1.
  3. Go to the Extended features section, check the boxes next to the Enable 3D Acceleration and Enable 2D Video Acceleration features.
  4. In the System tab, navigate to Acceleration menu, look for the Hardware virtualization section, then check the boxes next to the Enable VT-x/AMD-V and Enable Nested Paging features.
  5. Go to the System tab, navigate to the Processor menu, then set the Processor(s) to 4 CPUs (or how many you have in your system) and set the Execution Cap to 100%.
  6. Finally, check the box next to the PAE/NX feature in the Extended features section.

If all these settings are correct, you should be able to fix the error code 0x0000005D and install Windows 10 in VirtualBox.

If you have any other questions or suggestions, don’t hesitate to leave them in the comments section below.

[wl_navigator]

More about the topics: Error Code, VirtualBox