Saturday, August 30, 2008

Repair your XP install

XP Repair install
WARNINGS before Repair Install

Warning! #1
Should you do a repair install and is it the best choice?
A Repair Install is not foolproof and should not be considered the cure-all fix for non-boot situations.
The below procedure applies only if you can still boot into Windows.

To prevent loss of data and/or program settings, perform the following before the Repair Install.

Manually delete the Undo_guimode.txt file from the Windows\System32 folder before you perform any of the actions that are listed in the "Symptoms" section of this article. To do this in Windows XP, type the following command at a command prompt:
del /a /f %windir%\system32\undo_guimode.txt

From the Start menu, click Run. See screen shot Image
In the Run dialog box, in the Open text box, type: cmd. Click OK.
Delete the undo_guimode.txt file. In the C:\Windows\System32\cmd.exe dialog box, type: del /a /f c:\windows\system32\undo_guimode.txt. Press the ENTER key. See screenshot Image
KB Q312369

Check the link below for an option for recovering from a non-boot event.
Windows XP Crashed? Here's Help
A salvage mission into the depths of Windows XP, explained by a non-geek
by Charlie White



Also as a precaution the windows\system32\WPA.DBL and WPA.BAK should be copied to a floppy before doing a repair install. For more information see Alex Nichol's article on XP activation.

More articles to help prevent data loss.

Chris Quirke

http://cquirke.mvps.org/reinst.htm




Additional tips to perform before initiating the Repair Install.
You should complete the basic requirements of backing up all files and folders that cannot be restored from other media. This includes passwords, applications purchased and downloaded from the internet without CD support, financial records and folders, digital images that cannot be replaced...............

Backup copies of your registry files (in the %systemroot%\Repair folder) are also replaced after the in-place upgrade is complete. Copy these registry backups to another location before you perform an in-place upgrade/Repair Install. You may need to use them after the in-place upgrade is complete.

It would also be a good idea to run the Files And Settings Transfer wizard F.A.S.T located on the XP CD.

If you made unorthodox registry changes with third party software, there is the potential of data loss from a Repair Install. Another consideration of concern would be a power failure during the repair install could render your system un bootable and result in loss of data.

The likelihood of you losing the files and folders is probably of minimal risk, but you have to expect the worst and make sure you are prepared for recovery.

If you are sure you have explored all other troubleshooting avenues, then proceed with the repair install.

If you get a warning message: "Setup cannot continue because the version of Windows on your computer is newer than the version on the CD."

You get this message when you use a pre-SP 1, SP2 XP CD on an XP installation that has been updated to SP1, SP2.

You have the options listed below.

Remove the SP 1, SP2 update if the option is available from Add/Remove.
Create a slipstreamed XP CD merging the SP1 or SP2 update.
2a Autostreamer for creating a slipstreamed CD the easy way.
Purchase an XP CD with SP2 included.

Please read carefully and make sure you followed the warning links before initiating the Repair Install. You can print a text version for reference. repair.txt

Boot the computer using the XP CD. You may need to change the boot order in the system BIOS so the CD boots before the hard drive. Check your system documentation for steps to access the BIOS and change the boot order.
When you see the "Welcome To Setup" screen, you will see the options below
This portion of the Setup program prepares Microsoft
Windows XP to run on your computer:

To setup Windows XP now, press ENTER.

To repair a Windows XP installation using Recovery Console, press R.

To quit Setup without installing Windows XP, press F3.

Press Enter to start the Windows Setup. do not choose "To repair a Windows XP installation using the Recovery Console, press R", (you Do Not want to load Recovery Console). I repeat, do not choose "To repair a Windows XP installation using the Recovery Console, press R".
Accept the License Agreement and Windows will search for existing Windows installations.
Select the XP installation you want to repair from the list and press R to start the repair. If Repair is not one of the options, END setup. After the reboot read

If the Repair Option is not Available
{What should I do? Most important do not ignore the information below!

If the option to Repair Install is NOT available and you continue with the install; you will delete your Windows folder and the Documents and Settings folders. All applications installed that place keys in the registry will need to be re-installed and will require the original install media.

You should exit setup if the repair option is not available and consider other options. I have found if the Repair option is not available, you have a few paths I have listed below to try before XP requires a Clean install.

Another option to consider (since the cost of 100 + gig hard drives has dropped to well under $75) would be to disconnect the current hard drive and install a clean XP from retail disks or restore media to a new hard drive. You can then connect the original hard drive after configuring the jumpers to a slave drive. You can retrieve important files. One thing to remember, if a hard drive has not been formatted or written over by reinstalling, the data is accessible. The less you access a hard drive after a non-boot episode; the better your chances of retrieving your data.

Very important!!

If you still have the ability to access the Windows XP installation, backup all important files not restorable from other sources before attempting any recovery console or other trouble shooting attempts}


Setup will copy the necessary files to the hard drive and reboot. Do not press any key to boot from CD when the message appears. Setup will continue as if it were doing a clean install, but your applications and settings will remain intact.
If you get files not found during the copying stage.

Blaster worm warning: Do not immediately activate over the internet when asked, enable the XP firewall before connecting to the internet. You can activate after the firewall is enabled. Control Panel - Network Connections. Right click the connection you use, Properties and there is a check box on the Advanced page.

KB 833330u Blaster removal

What You Should Know About the Sasser Worm and Its Variants

Microsoft Security Bulletin MS04-011

Reapply updates or service packs applied since initial Windows XP installation. Please note that a Repair Install using an Original pre service pack 1 or 2 XP CD used as the install media will remove SP1/SP2 respectively and service packs plus updates issued after the service packs will need to be reapplied.