UPDATE 2: This is also a viable solution for Windows 8(.1) systems.
UPDATE 3 (January 2016): Reported to work on Windows 10 after sysprep.
Over the past week I have been re-imaging the 13 computers in our public computer centre at work, and I came across a small problem. In the past, and by past I mean pre-college, I used to use a program called Norton Ghost to create images of my home system so that at a moments notice I could re-image my system and have all my applications installed without the hassle of re-installing everything manually, but those days are gone as Norton Ghost transformed into something entirely different. These days it is said that it is much easier to use Windows Automated Installation Kit (WAIK for short) however it is not without its issues, like most Microsoft products.
The issue arose after I did a sysprep to the original system and tried to reboot the system after I created my .wim image. Upon first boot I got a wonderful message on my screen that read:
Windows could not finish configuring the system. To attempt resume configuration, restart the computer
And after several unsuccessful reboots, the error message still returned, and always when it tried to start the services.
I searched several forums on the issue and tried every “correct answer” response I could find, to no avail.
One such “correct answer” was to remove the system from the domain before running sysprep, but as the systems I am dealing with are in a workgroup, this answer was obviously not correct for my situation. Another possible “correct answer” was to disable Avira Antivirus 32bit, this is close to a possible solution because I am running Avira on these systems, however I am running the 64bit version, and this is reported as having no issue at all on the processes, so again, this correct answer was a false positive (who votes that these are correct anyways?)
After trying several more “correct answers” I finally found the one true CORRECT ANSWER:
Somehow we managed to boot the machine.
Booting in Safe mode caused the same error message, but after it it did not reboot and continue to install drivers etc… The next normal boot was successful.First thing to do now is a backup. We are so lucky.
Daniel AlbrechtIT Management & Coaching
Indeed booting into safe mode first, waiting for the message to appear, and then rebooting normally has fixed the issue, and has done so 10 times thus far.
Here is the forum where I actually found the correct answer, and its not the one listed as the “ACTUAL SOLUTION”, in fact is about a quarter of the way down the page with a bLack check-mark, not Blue one (what ever that means).
So thanks to Daniel, everything has been moving smoothly and I am able to get a system fully up and running in about an hour and a half instead of the usual five to six hours it takes to install all the software and configure the system manually.
If I may just add to help someone else who might be in my position. I syspreped a Server running Windows 2012. It fell in to the exact same problem you’ve described here. Problem is this Server was running in a Hyper-V VM, and wouldn’t give me the chance to apply F8 for Safe Mode on bootup. So when the error message came up, I did the following instead:
* Pressed Shift + F10 to get the command prompt.
* Run the command: ‘bcdedit /set {default} safeboot minimal’.
* Rebooted.
* When error message about safe mode subsequently came up after reboot, pressed Shift + F10 again.
* Ran the command: ‘bcdedit /deletevalue safeboot’.
* Rebooted.
Net result was it was then sorted, exactly as you described. It could well be my ignorance, and there may be a better way to get F8 to the VM, but certainly my attempts via Remote Desktop didn’t work. The above extra bit did the trick!
You couldn’t imagine how happy I am to let you know that your CORRECT ANSWER also works on Win Server 2008 R2.
THANK YOU!
Glad to know the solution worked elsewhere.
I know this post is been up for a while. But finding it today after toiling for 2 days at a client’s site has proved to be a life saver. I stumble into this just when I was about to throw in the towel and go through the painstaking process of redoing everything from scratch. Thank you so very much for sharing and remained blessed.
Glad to see its still helping those in need.
Thank you so much. This work for me and I am good to go! Lenovo T440p i7 200 GB SSD Windows 7 image deployed with Clonezilla.
Glad I could help.
I think the mistake for me was installing AV on the Windows 7 ent computer then capturing it. I have made many WDS Win7 images and I never add AV to the box. A big no no. This safe mode trick has saved my bacon. Thank you very much.
Worked on a generalized Windows 7 x64 Ultimate as well, thanks a lot!
Thanks, Mathew, for this post. After numerous attempts, this is the one that worked. I pressed F8/Safemode, the message came again up with “Safemode” not “Windows cannot finish configuring…” I rebooted again, not in safemode–more by accident, since it did not catch the F8 key press–and this time it continued to install devices, then rebooted to “Setup is preparing for first use, et al.” I am in WIndows setup now. Again, Thanks! Maybe I will get some sleep tonight after all.
I started with: http://www.sevenforums.com/tutorials/135077-windows-7-installation-transfer-new-computer.html. Which has been helpful with using sysprep for moving a system intact to a new motherboard.
Thanks for posting this! Saved me a lot of time and trouble! Worked perfectly! As a side note, I encountered this during sysprep and then again during the actual installation of Windows. Both times booting into safe mode and then restarting worked.
Christopher, you are correct, I forgot to mention that, once you sysprep the original machine, you have to boot it into safe mode to get it back up and running.
Hi
Thanks for reporting back your findings. Unfortunately. this did not work for me in this case. I am new to all of this and tried syspreping, then capturing and applying an image with gimagex. I have obviously went wrong somewhere along the way.
Describe to me what you have done exactly, and what messages you get along the way.
OMG your a life saver. Just swapped out my motherboard for an upgrade. Did a sysprep and this post fixed my fail to config issues. Thanks.
Glad I could help.
I have pressed the shift and f3 and it comes up with window system 32 what do I do next
I am not sure why you pressed Shift + F3, all you need to do is boot to safe mode (Usualy by pressing F8 if I am not mistaken) let it load, it will give the error again, reboot into normal mode and it should work OK.
Thanks you very much Mr MATTHEW. It is worked for me.
1) F8>> safe mode
2) error again and restart
3) reboot in normal mode
Nice Post Mr MATTHEW…
Thanks you so much
your the man bro!!
Much appreciated.
You have no idea how much you helped me out here after a couple of hours of making a reference image i thought I would have to start all over from scratch!!! thanks to the fix it saved my ass!!! Thank you man
I have also sysprepped my Windows 7, subbed out a Gigabyte motherboard for an Asus motherboard (along with RAM and a CPU) and attempted booting from the same HDD after ‘Generalizing’ my computer sysprep shutdown.
I too get this error message, both in normal and safe modes. However, booting in normal mode, after receiving the error in safe mode, still returns me to the same error.
Help!
Not sure what to do next. Check out the original pst on TechNet and see if any of the other solutions work for you… I ony posted about my experience and how I was able to overcome it. I wish you luck, let me know if you do find a solution.
Tks Matthew a lot. It took me 5 failed times to Ghost until I read your post.s
Thank you very much!!!!
Thank you so much, I was getting fustrated. It WORKED.
Many thanks the solution works for me as well. Nice Post.
wow! so glad i found this post! i am running a cafe business and imaging helps me a lot. i encountered the same error and rebooting to safe mode first fix the issue! 🙂
Glad to see it helped… Something else I have come across, if you don’t already, that may help you even further. Booting from Virtual Hard Drives (.VHD files) quick and easy to implement and a lot easier than imaging. WIndows 7 and newer allow this. I am currently working on a project where I am adding a Windows 8.1 VHD to preinstalled Windows 7 systems and enabling them to dual boot…
I am sorry to say that it did not work for me. Back to the drawing board
Sorry it didn’t work. Try some of the other posts I mentioned as they seemed to work for the odd cases. Good luck.
Thank you very much for this post, It saved me hours of working on trying to fix this little problem.
Glad the article could help.
thank you very much for your great help. it work perfectly with the safe mode
thanks a lot, had to sysprep a server for failover cluster, took me 3 days sysprepping and restoring snapshots 😀
This also works with Windows 8.1 Professional, WOW
Thank you! thank you! Lots of love
Hey ABI, glad to see it still works… I have not had any issue with Win 8 as I am now using VHDs to image my systems… Much faster.
Edit: Nevermind, I was using VMWare to create my Grandfather->Father->Son images and they all referenced the Grandfather, so when I copied the Son over to the new systems, it wasn’t actually syspreped… I will commend later if the VHDs do the same issue.
EDIT: I can confirm, it also works for Windows 8.1, now that I have the systems done correctly.
Who knew a simple fix like this would resolve it. Cheers buddy!
Great tip. It worked on my Windows 7 Pro (x64) system. Thank you very much.
Worked for me too Thanks!
You wonderful man. Thank you so very much for your kind sharing of knowledge.
If I may just add to help someone else who might be in my position. I syspreped a Server running Windows 2012. It fell in to the exact same problem you’ve described here. Problem is this Server was running in a Hyper-V VM, and wouldn’t give me the chance to apply F8 for Safe Mode on bootup. So when the error message came up, I did the following instead:
* Pressed Shift + F10 to get the command prompt.
* Run the command: ‘bcdedit /set {default} safeboot minimal’.
* Rebooted.
* When error message about safe mode subsequently came up after reboot, pressed Shift + F10 again.
* Ran the command: ‘bcdedit /deletevalue safeboot’.
* Rebooted.
Net result was it was then sorted, exactly as you described. It could well be my ignorance, and there may be a better way to get F8 to the VM, but certainly my attempts via Remote Desktop didn’t work. The above extra bit did the trick!
Thank you so much again – this problem had me very much beaten for hours, till I found your blog. God Bless you! 🙂
Thank you Bobby, I will add this to the list of resolutions so that people can find it. THe problem with Windows 8(.1) and Server 2012 is they have made it very hard to get into Safe Mode, even outside a virtual environment. I ran into this when my home system (Windows 8.1 Pro) failed to boot after a BIOS update. They make it easy to get into Safe Mode if you are at the log in screen (Shift + Click Power Icon) or already logged in… However 99% of the time I need to access Safe Mode is because the system won’t boot. They also say that you can get into Safe Mode by booting with the Windows Installation disk, however it wasn’t there either, apparently its hit or miss and not a 100% viable solution. Your answer however is.
Just want to say, 4 years after your posting about 2012 R2 safemode boot, THANK YOU! THANK YOU!
We are relegated to what versions of OS we can run by our vendors certifying them. Late last year they certified 2012 R2.
Now it is time for a 350+ server refresh across 27 domains.
In prepping my image I was faced with the boot loop, and was reading all sorts of cockamamie solutions to resolve it. I have to admit, I said “NUT UH” when I read the solution. It was far to simple.
However, your solution was not invasive to the image at all, unlike some of the other solutions that had appeared via my google-fu. So I said, WTH, lets try it. And it worked! I am now staring at a setting screen for my Country/Region, App Language and Keyboard layout!
Again, thank you!
Hi,
During trying safe mode i came across this thread, and I’m happy to tell you that it worked for me too.
Thanks a lot
ALL HAIL THE MASTER!!!
thank U!!!
Took me three days
and I nearly give up. Thanks for the sharing!
Nothing else to say: THANK YOU TO DANIEL AND YOU MATTHEW!!!, it help me a looooooot while i try to install 34 PC using image (you can imagine how long it will take if use manual install), again Thanks aaaaa lllooootttt
I can definitely imagine. I have stopped using the regular image files and have moved to VHDs for rollouts, much easier to maintain and manage. But even VHDs have the same issue once syspreped.
Thank you so much saved me a load of time!!
I have faced the same issue while installing Win 2008 Enterprise server R2- IBM Blade server- I just removed the Q-Logic card and found it working. Then reinserted the Q-logic card once the installation complete. 🙂
Interesting Fix.
Thank you so much! Starting in safe mode resolved this problem for me!
You guys are awesome. It worked in win 7×64, Win8.1, Win2012R2. A 100 thousand thank yous!
Your Welcome.
Thank you this solution saved my butt!
We run ESET anti virus and after doing a lot more research, lead me realise that the problem was down to not only the anti-virus but really down to HIPS (Host-based Intrusion Prevention System). This was stopping window from starting services during setup.
I disabled HIPS before syspreping, rebooted and found that this error did not appear and window setup ran smoothly and fast.
My name is Craig and I work for a small company roughly around 300 employees. I have a computer I restored to factory settings and uninstalled the stuff we don’t use, then installed/updated what we need like java, reader, office 2007, our vpn and another program called snapshot viewer. I also, ran the windows updates. When i did a sys prep Audit Mode without generalize it worked and got no errors, but then I ran sysprep/generalize in OOBE Mode and when it restarted I got a “windows couldn’t complete the installation error” Any idea why this is happening and how do I fix it? Please the fastest way I can get this fixed the better.
THis is exactly what this article is about Craig, simply boot into SAfemode, and allow the error to occur again, then r3eboot into normal mode…
Managed to do this on a windows 7 ultimate 64bit that had been modified so it would work because it was an update from windows Vista. Went from a core 2 quad to an i5. Could be happier, thank you sir.
Thanks a lot, this solution also worked on a clean Windows 8.1 install! Saved me many hours! thanks!
Thank you very much. Worked like a charm for Windows 7 64 bit. THE ACTUAL SOLUTION RIGHT HERE INDEED!!!
Thank you for posting this, saved me a lot of time.
This still works fine man. Cheers!
This was a great help, and allowed me to fix the issue with the image. For people who have issues with the hitting F8 quick enough before Windows starts loading, power off the machine during the Windows loading screen. Next time you reboot, you’ll get a Windows was unable to load pause screen and be able to choose Safe Mode.
Thanks so much! This really helped.
Will this work now in cloning?
As far as I can see, the method of cloning/imaging doesn’t have any affect. It seems to be related simply to Sysprep. I first came a cross it when imaging systems via imagex back in 2012, however in 2014 I noticed the same issue when implementing VHDs. So theoretically this solution should work no matter what you cloning procedure.
You sir are my lord and savior!
Hi, On a Windows 8.1 computer with an Asus P8P67M-Pro when I make a computer hardware change the computer will not boot and when I make a second change wh the new hrdwre the PC will boot so I am thinking the problem I always with this motherboard is a bios configuration kind of problem and so I happily tried running the Command Prompt commands above.
But I get the error message “Windows could not finish configuring the system. To attempt resume configuration, restart the computer”.
Can you make any further suggestion as to how to work around this consistent problem?
Hi,
The above resolution is for system that are coming back from being Syspreped (normally used when ghosting/replicating systems). In your case its probably a driver issue as windows does not like hardware changed. Back in the days of Windows XP and older (98, 95) when you changed hardware, all you had to do was reboot the system and it went into discovery mode and installed drivers for any new hardware. Windows Vista and above no longer do this. My suggestion would be to go into safe mode (if possible) and try and install the drivers for the new hardware there and reboot. Not sure if that will help or not.
Thanks a lot, it worked
This totally saved my bacon! Thanks.
thank u so much you’re the best! (from ALGERIA)
thank you sooo much you saved my time peace on you sir
Pure Genius!!
Thank you so much….Its worked on win 2K8 R2..
I have spent almost two-weeks attempting to resolve this problem. I can’t believe the solution is something is so simple (and undocumented!).
Thank you so much!
Thank You so much,
I searched a fix for 2 month and i found it.
Thank you!
Thank you so much. I was deploying win 10 and ran into that error. I followed your procedure, ran all the command and the computer booted fine into audit boot.
Thanks a million!
I am booting safe mode with command promot still no cmd apperas when I shift+f10, also just pressing ok and letting it reboot to normal didnt work. Hope you can help 🙂
Can you describe your setup for me:
What OS are you using?
Is it a dedicated system or a VM?
If its a VM, what Visualization solution are you using (VMWare, VirtualBox, Hyper-V, etc)?
Just want to add my 2 cents. Server 2012 R2 std vhdx. I sysprepped and the image used to work but just spun another vm up and got these errors. I used MarkBeacoms answer here:
http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_install/windows-could-not-complete-the-installation-to/bf09c3c5-298b-459f-aed5-4f431b8398f5?auth=1
I actually had to run both of his fixes. MMC then oobe.
freekin weird
I had exactly the same problem (W10 on Asus X551C laptop), but was not able to get the CMD windows with SHIFT-F10. So probably I had a driver problem. Finally I cracked it by changing BIOS to Secure Boot ON.
Brilliant, a working solution!
Copied a VMWare VM (Windows 2008 R2) from one host to another, ran sysprep encountered the error. Booted to safemode, ok’d the message and let it boot normally.
Waited …. and working!
Thank you!
This did work on the 1511 build of Windows 10. However, with the 1607 update it does and it doesn’t work. The problem with the new build is that you don’t get the error message. What happens instead is that you are caught in a continuous boot loop. The way to get around this is, when you see the windows icon, hard power off the laptop, let it reboot, then do the same thing again. After the second power off, when you boot up you’ll be presented with the troubleshoot options. Press F8 and select one of the safe mode options. It may look like nothing’s happening for a while but eventually it will reboot, fail again, reboot itself in normal mode and hey presto, it carries on with the configuration. Same problem, just a different method of fixing it.
I’ve tried evirything except this one, that worked for me:
When the message appear:
1. Shift F10 to open cmd
2. Type cd c:/windows/sysprep/sysprep.exe
This will open sysprep and run it again with the audit option. And it will work
Many thanks,
There is another way to do this.
1. Hold down the SHIFT key and press F10 (SHIFT + F10)
2. At command prompt type: cd oobe (& press Enter)
3. Then type: msoobe (& press Enter)
4. Exit command prompt and reboot.
You will get the same error popup but it will start in sometime. I tried this on a Windows 10 x64 laptop, worked well.
Still thank’s for the another way u shared.
Cheers,
Yusuf Usmani
Guys, in May 2018 this safe mode trick saved me too. Was making an image of the latest Win10 version 1803 with bunch of corporate applications. Avira was the culprit. Thaaaaaanks!
I had the same problem the cd oobe command works but the pop up message says “The instruction at 0xb987ccb referenced memory at 0x000000094. the memory could not be read. click ok to terminate the program
July 2018, this trick saved me when getting this error after cloning a VM in VCenter 6.5.
*Customization of the guest operating system ‘windows8Server64Guest’ is not supported in this configuration. Microsoft Vista (TM) and Linux guests with Logical Volume Manager are supported only for recent ESX host and VMware Tools versions. Refer to vCenter documentation for supported configurations.
*Windows could not finish configuring the system, windows 2016 server
[…] high and low and found an answer buried deep in the forums. As it was hard to find the answer, I decided to write about it, so that others could find the answer much more easily. It became one of my most popular posts, […]
In my case I am running Windows Server 2012 R2 in a VMware environment. After running Sysprep-generalize or creating a VMware server template file and deploy a virtual machine from it, after reboots with the same error message “Windows could not finish….” I found another article that mentions that the Out Of Box Experience (OOBE) screen that asks for username, computername, language, timezone, etc.) fails to launch resulting in a time-out and that “Windows could not finish….” . It turns out that after running Sysprep-Generalize, on the next reboot it needs to “specialize” the particular installation through the OOBE. The solution is to press Shift+F10 to get to command prompt then go to %windir%\System32\oobe\ and manually run the command msoobe.exe and answer the “specialization” questions about locale, timezone, language, etc. It will reboot correctly afterwards. Anthony Maw, MCSE, Vancouver, Canada
This saved me on WS 2019.
Glad to see that 8 years latter its still a working solution.
me too 🙂 works on Server 2019