What if the Sysprep Tool Fails?

August 10, 2016 | Views: 4008

Begin Learning Cyber Security for FREE Now!

FREE REGISTRATIONAlready a Member Login Here

Ever done something at work, then it backfires at you like it has a personal grudge with you?

Sysprep can, at times, really mess up your jolly day should it ‘decide’ to backfire. I’ve seen a good number of IT Assistants run to format the PC simply because of the “Windows could not finish configuring the system. To attempt to resume configuration, restart the computer” message that wouldn’t go away even after restarting the PC.

The most common culprit for this error is a registry key that’s abnormally larger (~8KB). Microsoft provides you with a hotfix that can be found here and must be applied before running the Sysprep command.

In my case, my client had not upgraded his Windows 7 PC to SP1, which, thanks to Microsoft, comes with the Hotfix in it. Further research shows cases where the same error can also occur on a clean installation of Windows 7 OS.

So, what if SysPrep fails?

Don’t panic – yet (just kidding). At the above screen, just do a key combination of the SHIFT key and F10 (SHIFT + F10).
A beautiful angel in black and white will certainly appear bearing the name of CMD or rather Command Prompt. Type:cd oobe and press Enter.
Let me just define a few terms as we go, so you feel like a pro 😉
cd in CMD will be change directory and oobe will be the new directory you intend to navigate to. You can read more about oobe here and here.
Next, type msoobe and hit Enter.
The CMD window may disappear, but don’t panic. A Setup Up Windows screen will appear. Choose your Region, Time and Currency and Keyboard layout settings. Press Next or just hit Enter.
Type your Username and Computer Name. Then, hit Next.
You can add a password if you wish.
Accept the License Terms by checking the box next to “I accept the license terms” and press Next.
Check your security and update settings as you wish. I won’t share any comments here.
Set the Time and Date Settings and press Next.
Now, let Windows finalize your settings. Then, restart your PC.

NOTE: Should nothing happen after the reboot, do a cold boot. Windows should boot normally.

Share with Friends
FacebookTwitterLinkedInEmail
Use Cybytes and
Tip the Author!
Join
Share with Friends
FacebookTwitterLinkedInEmail
Ready to share your knowledge and expertise?
8 Comments
  1. Thanks a lot

  2. Thanks for it.

  3. Good work

  4. I dont use windows, but, that help a lot if i will format some computer

    • you’re most unlikely to experience it if you’ll be formatting a PC. SysPrep is mmore of a OS reset; mostly used in multi-PC deployment of Windows­ OS’

  5. Great work

Comment on This

You must be logged in to post a comment.

Our Revolution

We believe Cyber Security training should be free, for everyone, FOREVER. Everyone, everywhere, deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is a free community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

Support Cybrary

Donate Here to Get This Month's Donor Badge

 

Cybrary|0P3N

Is Linux Worth Learning in 2020?
Views: 333 / December 14, 2019
How do I Get MTA Certified?
Views: 925 / December 12, 2019
How much does your PAM software really cost?
Views: 1378 / December 10, 2019
How Do I Get into Android Development?
Views: 1756 / December 8, 2019

We recommend always using caution when following any link

Are you sure you want to continue?

Continue
Cancel