After using Symantec System Recovery 2011 (aka Symantec Backup Exec System Recovery) to restore an image backup of a physical Windows 7 machine to a virtual machine using the "Restore Anywhere" option, I was left with a machine that was stuck on the message: "Setup is preparing your computer for first use"
The "Restore Anywhere" option is a way of saying I am restoring to disimiliar hardware. Also, I tried the restore to VMware VSphere 5 and VMware Workstation 7 and I had the same results.
Below are some steps that helped me resolve this.
While you see the message "Setup is preparing your computer for first use" you can press Shift F10 on the keyboard and you will see a command prompt.
Type in taskmgr.exe and you will get the Windows Task Manager
Look for a process called windeploy.exe and kill it (End Task)
Then you are taken to the Windows Logon screen where you can login normally.
Then follow these steps:
1. Within Windows, Click Start - Run, type 'regedit.exe' and press Enter.
2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\Setup
3. Within HKEY_LOCAL_MACHINE\SYSTEM\Setup you will need to change the following values:
Here is an example of what the registry values could look like
This is what the values needed to be changed to:
"CmdLine"="" (This field should be Blank )
Now click START and run MSCONFIG.EXE
On the General tab you may see it set for Selective Startup, and on the Boot tab you will see a reference to a Windows installation that is in "Recovery".
This is where it is confusing, but on the General tab, under Selective Startup, check the box that says "Use original boot configuration", and you will see it immediately uncheck the "Selective Startup" and check the "Normal Startup". Also if you now look at the Boot tab you will see another bootable installation.
Now reboot, and you'll likely get a nasty message from the Boot Manager that says it cannot boot. So you boot from your Windows 7 CD and choose the Repair Option. It will detect the issue, correct it, and reboot.
And now finally you should have a working Windows 7 machine again.