The above error occurs when you try to install Windows 8 or Windows 10 on a new PC, or by using a virtualization software like Oracle VM Virtual Box or VMWare .
This error happens because, unlike Windows 7 operating system, Windows 8 is not fully compatible with all Pentium 4 processor models. In fact, in order to install Windows 8, your processor must support the No Execute Feature.
More specifically, for AMD processors this feature is called "No Execute (NX)" and for Intel processors it is called "Execute Disable (XD)".
The full description of the error is:
"Your PC needs to restart.
Please hold down the power button.
Error Code: 0x0000005D
How to FIX: Error 0x0000005D when installing Windows 10/8/.1
To solve the error (0x0000005D) during Windows setup, proceed and Enable the "Data Execution Prevention" feature on BIOS settings.
Notice: You must also enable (from your BIOS settings) the "Virtualization Technology (VT)" feature, if you are trying to install Windows 8/10 by using a virtualization software like Oracle VM Virtual Box or VMWare .
Step 1. Enter into BIOS (CMOS Setup)
To Enter into your BIOS Settings, Power ON your PC and pay attention at the first screen as your computer starts and try to find a message like this:
‘DEL to enter setup’
‘Press ESC to Enter Setup’
‘BIOS Configuration: F2’
‘F10 to Enter Setup’
When you see this message, press the corresponding key on your keyboard (DEL,F2, ESC, etc.) to enter your BIOS.
Step 2. Enable Data Execution Prevention feature.
To enable the Data Execution Prevention (D.E.P.) feature:
(After launching BIOS Settings):
1. Go to Advanced options > Processor and set the No Execute Memory Protection to Enable or ON *
* Note: In some BIOS you can find this setting under Security options > Execute Disable and set it to Enable or On
2. Now, Save your changes and Exit the Bios Setup, if you receive the error 0x0000005D when you try to perform a Windows 8/10 installation on a new PC, otherwise continue to the next step if you receive the error when you try to perform a Windows 8/10 installation under VM (VMWare or VirtualBox).
Step 3. Enable Virtualization Technology (VT) feature
1. Go to Performance options.
2. Change the Virtualization feature to "Enable" or "On".
3. Save your changes and Exit from BIOS Setup.
4. After Windows boot, proceed to the next step to determine if your system’s processor supports the above security features.
Step 4. Check If your System supports D.E.P & Hardware Virtualization.
To check if your system supports both Data Execution Prevention and Virtualization Technology (VT) features.
1. Download from here and then run the SecurAble application.
2. If your processor supports Virtualization Technology (VT) & Data Execution Prevention features, then you should see the following result in your screen:
3. If everything is OK, then proceed with Windows 10/8 installation.