How to fix "Windows could not finish configuring the system" error after running Sysprep.

On a Windows 7 Virtual Machine (VM) the following error appears on screen after the first restart during 'sysprep' phase: "Windows could not finish configuring the system.  To attempt to resume configuration, restart the computer". When you press 'OK', Windows restart but the same error appears again without any details. After some research on the Internet I found that this error message occurs with Windows 7 and Windows Server 2008 R2 operating systems if the original operating system contains a registry key that is larger than 8 kilobytes (KB). A Hotfix for this problem is available from Microsoft here and must be applied before executing the 'sysprep' command. The hotfix is already included on Windows 7 SP1 systems.

I write this article, because – in my case – I had not applied the available hotfix before "syspreping" the VM machine, but also because I discovered that the "Windows could not finish configuring the system" error can also occur in a clean install of Windows 7 OS.

 

image

 

 

How to resolve the "Windows could not finish configuring the system" error.

When the "Windows could not finish configuring the system" appears on your screen:

1. Hold down the SHIFT key and press F10 (SHIFT + F10).

 

image

 

2. At command prompt type: cd oobe  (& press Enter)

image

 

3. Then type: msoobe (& press Enter)

image

 

4. At 'Set Up Windows' first screen, choose your Country/ Region, Time and currency & Keyboard layout settings & press Next.

setup-country-region-currency-keyboard-layoyt-settings

 

5. Type a Username and a Computer Name & press Next.

username-computer-name-setup

 

6. Type a password (if you want) and press Next.

set-password

 

7. Accept the License Terms & Press Next.

accept-license-terms

 

8. Select how you want Windows to protect your computer. (e.g. "Use recommended settings")

setup-updates-recommended

 

9. Set the Time and Date settings & press Next.

setup-date-time-zone-settings

 

10. Now wait until Windows finalizes your settings.

Windows-7-setup

11. Finally Restart your computer. *

* If after pressing Restart nothing happens, then close all open windows or perform a cold Shutdown by pressing the Power key for several seconds.

start-shut-down-restart

Now Windows should boot normally.

You 're done!

If this article was useful for you, please consider supporting us by making a donation. Even $1 can a make a huge difference for us in our effort to continue to help others while keeping this site free: