Installation Failed in The FIRST BOOT Phase With An Error

Check out these tested methods to resolve the issue

Reading time icon 4 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

  • You may face this issue when trying to update your Windows, either because of corrupted installation media or incorrect BIOS settings on your computer.
  • This guide will discuss all the causes of the issue along with the fixes to resolve the issue.
the installation failed in the first boot phase with an error during sysprep operation

Many people have reported that they were stuck with installation failed in the first boot phase with an error during Sysprep operation while updating their Windows computer. The issue could have been caused due several reasons. 

Here, in this guide, we will discuss the available fixes to resolve the Windows 10 first boot error right after examining the reasons for the same.

What causes the installation failed in the first boot phase error?

There could be several reasons for the error to occur; we have mentioned some of the popular ones here: 

  • Hardware issues – You might get this error if your RAM or hard drive is damaged or faulty. 
  • Wrong system configuration – If your computer has incorrect BIOS settings or bad drivers installed, you can get this error while updating your PC.
  • The installation process was interrupted – If there is a power failure or system crash during installation of the update, you might see this error.
  • Installation media is corrupt – The error could have appeared because of the corrupted installation drive or disc used to upgrade your Windows computer.
  • Computer infected with malware or virus – The malware or virus infection on your computer might corrupt the system files or configuration, hence the error.

How to fix the installation failed in the first boot phase error?

Before moving ahead with the troubleshooting steps, make sure you go through these preliminary checks: 

If none of these worked for you, let us check out the detailed troubleshooting methods to fix the issue:

1. Rename the Software distribution folder

  1. Go to the Search bar, type CMD and click Run as administrator.CMD elevated-the installation failed in the first boot phase with an error during sysprep operation WINDOWS 10-
  2. Copy and paste the following commands one by one and press Enter after every command: net stop wuauserv net stop cryptSvc net stop bits net stop msiserver rename c:\windows\SoftwareDistribution SoftwareDistribution.bak net start wuauserv net start cryptSvc net start bits net start msiserver
  3. Close the Command Prompt window.

2. Run the Windows Update troubleshooter

  1. Press Windows + I to get Settings.
  2. Go to Update & Security.Update & Securitythe installation failed in the first boot phase with an error during sysprep operation
  3. Now, select Troubleshooting from the left pane, and click Additional troubleshooters.Troubleshoot - Additional Troubleshooter
  4. Under Get up and running, select Windows Update and click Run the troubleshooter.Run the troubleshooter
  5. Follow the on-screen instructions to complete the process.

3. Make changes in Registry Editor

  1. Press Windows + R to open the Run window.Regedit - the installation failed in the first boot phase with an error during sysprep operation
  2. Type regedit and press Enter to open the Registry Editor.
  3. Go to the following path: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\OSUpgrade
  4. Right-click the OSUpgrade folder, select New, and then click DWORD (32-bit) Value.AllowOS upgrade
  5. Rename it AllowOSUpgrade. Double-click it and set the Value data to 1 and click OK.dword edit
  6. Close Registry Editor and restart your computer. 

4. Disable Secure Boot

  1. Press Windows + I to open Settings. Go to Update & Security.Update & Securitythe installation failed in the first boot phase with an error during sysprep operation
  2. Click on Recovery and go to Advanced startup and click Restart now.Advanced Startup
  3. From the Choose an option page, click Troubleshoot.Choose-an-option-Troubleshoot.=- Virtualbox won't show 64-bit
  4. Now click Advanced Settings.Advanced options -the installation failed in the first boot phase with an error during sysprep operation
  5. On the Advanced Settings page, click UEFI Firmware Settings.UEFI
  6. Click Restart from the next page.
  7. Now select the appropriate option to enter BIOS.
  8. Go to System configuration, then select Secure Boot and disable it.

5. Scan and fix corrupted files

  1. Go to the Search bar, type CMD and click Run as administrator.CMD elevated-the installation failed in the first boot phase with an error during sysprep operation WINDOWS 10-
  2. Type the following command and press Enter: chkdsk volume:/rCMD CHKDSK
  3. Once the process is complete, copy and paste the following command and press Enter: sfc/scannowSFC/scannow
  4. As the process completes, type the following commands and press Enter after every command: DISM /Online /Cleanup-Image /CheckHealth DISM/Online /Cleanup-Image /ScanHealth DISM/Online /Cleanup-Image /RestoreHealth

6. Perform old devices and drivers cleanup

  1. Go to the Search bar, type CMD and click Run as administrator.
  2. Type the following commands and press Enter after every command: rundll32.exe pnpclean.dll,RunDLL_PnpClean /DRIVERS /MAXCLEAN exit CMD - the installation failed in the first boot phase with an error during sysprep operation
  3. Restart your computer and try to update again.

So, you can use these methods to fix the installation that failed in the first boot phase with an error during the Sysprep operation. Try them and let us know what worked for you in the comments below.

More about the topics: windows 10, windows 10 fix, Windows Update