DBMXPCA Technologies


Sysprep: Windows Could Not Complete the Installation

Support Home | Tickets | Submit a Ticket | Knowledge Base


This article aims to provide information on how to overcome the error message that reads "Windows could not complete the installation. To install Windows on this computer, restart the installation." when using a "sysprepped-image".

Method1: Registry

We can make some registry tweaks to disable Audit mode and get the system back into the Out of Box Experience mode.

  1. From the screen with the error message, press the Shift+F10 key combination to open the Command Prompt.
  2. In the Command Prompt, type regedit and press the Enter key to open the Registry Editor.
  3. In the Registry Editor, navigate to the following key:
  4. Adjust the values to match the following, and if they do not exist, create them. Note: Ensure that when adjusting values, that the value you enter is indicated as a decimal base. (To change the values, double-click on them, enter the new value, and click OK).
    • Name: HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\AuditBoot
    • Data: 0
    • Name: HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\ChildCompletion\setup.exe
    • Data: 3
    • Name: HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\ChildCompletion\audit.exe
    • Data: 0
    • Name: HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\CleanupState
    • Data: 2
    • Name: HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState
    • Data: 7
    • Name: HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\UnattendPasses\auditSystem
    • Data: 0
  5. After changing all the values as indicated above, you can close the Registry Editor and click OK to reboot the system. The system should now start in the proper Out of Box Experience mode.

Special Credits

Special thanks to a post from adityafarrad on November 21, 2018, located at https://troubleshooter.xyz/wiki/fix-windows-could-not-complete-the-installation/ for the registry fix method for fixing this issue that is found on this page.