PDA

View Full Version : How to use the Recovery Console (Repair) in XP



100%
10-21-2006, 05:51 PM
Taken from here - http://www.webtree.ca/windowsxp/repa...very%20Console (http://www.webtree.ca/windowsxp/repair_xp.htm#How%20To%20Format%20using%20the%20Recovery%20Console)


Repair XP
Following are my experiences with repairing XP. I will not assume any responsibility for problems that may occur to your system from using any of these suggestions. It is always prudent to backup important data before you make any changes to your operating system.
Windows Update Site Problems (http://www3.telus.net/dandemar/update.htm) - Jupiter Jones MS MVP
Repair System Restore (http://home.earthlink.net/%7Emvp_bert/html/srfail.html) - Bert Kinney MS MVP
How To Uninstall SP2 Using the Recovery Console (http://win-xp-sp.blogspot.com/2004_08_01_win-xp-sp_archive.html) - S Raj Kumar Rathi (scroll to August 17, 2004)
How To Use The Automatic Recovery Feature to Recover From a Bad SP2 Install (http://support.microsoft.com/default.aspx?scid=kb;en-us;875355&Product=windowsxpsp2) - Microsoft
How To Remove SP2 using a Repair Install (http://www.webtree.ca/windowsxp/repair_xp.htm#How%20to%20Repair%20Windows%20XP%20by%20Installing%20Over%20top%20of%20Existing%20Setup:)
How To Access Safe Mode (http://www.webtree.ca/windowsxp/repair_xp.htm#How%20to%20access%20Safe%20Mode:)
How To Access Last Known Good Config (http://www.webtree.ca/windowsxp/repair_xp.htm#How%20to%20access%20Last%20Known%20Good%20Configuration:)
How To Backup, Edit and Restore the Registry (http://support.microsoft.com/?kbid=322756)- Microsoft
How To Create a Boot Disk to Start Windows XP (http://support.microsoft.com/default.aspx?scid=kb;en-us;Q314079)
How To Create a Slipstreamed version of XP (http://www.webtree.ca/windowsxp/slipstream.htm)
How To Fix :NTLDR is missing press any key to restart (http://ntldrismissing.com/)- From Miles Cromer
How To Fix and "Invalid Boot.ini" or "Windows could not start........Hall.dll "error (http://support.microsoft.com/default.aspx?scid=kb;en-us;330184)- Microsoft Knowledgebase
Cannot Start Windows XP if the System or Software Hive Is Missing or Damaged (http://www.kellys-korner-xp.com/xp_sys32.htm) - From Kelly Theriot
Password Problems and Windows XP (http://www.kellys-korner-xp.com/win_xp_passwords.htm)- From Kelly Theriot
How To Fix The Cryptographic Service Error (http://www.updatexp.com/cryptographic-service.html) - Fix for "Error:Setup could not verify the integrity of the file Update.inf. Make sure the Cryptographic service is running on this computer"
System Cannot Access CD-Rom, CD-Recorder or DVD Devices (http://www.webtree.ca/windowsxp/tips_fixes.htm)
Error Messages After Removing Easy CD Creator from XP (http://support.microsoft.com/default.aspx?scid=kb;%5BLN%5D;q314060)
Introduction to using System File Checker (http://www.updatexp.com/scannow-sfc.html)- SFC /SCANNOW
SFC (System File Checker) has a problem running (http://www.updatexp.com/scannow-sfc.html) - SFC /SCANNOW keeps asking for the XP CD
How to log on to Windows XP if you forget your password (http://support.microsoft.com/default.aspx?scid=kb;enus;321305)
How To Take Ownership of a File or Folder (http://support.microsoft.com/?kbid=308421)
How To Access Recovery Console (http://www.webtree.ca/windowsxp/repair_xp.htm#How%20to%20access%20the%20Recovery%20Console:)
Recovery Console in Windows XP (http://www.kellys-korner-xp.com/win_xp_rec.htm) - From Kelly Theriot. This is a must read
How To Backup, Edit and Restore the Registry in XP (http://support.microsoft.com/?kbid=322756) - Microsoft Knowledgebase Article.
How To Create a Set of Emergency Floppies - If your computer can not boot from a CD-Rom create a 6 floppy disk set that corresponds to your version of Windows XP. Click here for Home Edition (http://www.microsoft.com/downloads/release.asp?releaseid=33290) Click here for Pro Edition (http://www.microsoft.com/downloads/release.asp?releaseid=33291)
How To Create a bootable CD to access the Recovery Console (http://www.webtree.ca/windowsxp/tools/bootdiscs/xp_rec_con.zip) - this 7Mb .iso will give you a bootable Recovery Consolerather than using the 6 floppy set above. Unzip and burn the .ISO file to disc. You can boot the CD and run the Recovery Console How To Repair Boot sector (http://www.webtree.ca/windowsxp/repair_xp.htm#How%20to%20Repair%20the%20Boot%20Sector:)
How To Format (http://www.webtree.ca/windowsxp/repair_xp.htm#How%20To%20Format%20using%20the%20Recovery%20Console)
How To Partition (http://www.webtree.ca/windowsxp/repair_xp.htm#How%20Partition%20using%20the%20Recovery%20Console:)
How To Exit the Recovery Console (http://www.webtree.ca/windowsxp/repair_xp.htm#How%20To%20Exit%20the%20Recovery%20Console:)
How To Run a Repair Install (http://www.webtree.ca/windowsxp/repair_xp.htm#How%20to%20Repair%20Windows%20XP%20by%20Installing%20Over%20top%20of%20Existing%20Setup:)
How To Uncover Windows XP Product Key (http://www.webtree.ca/windowsxp/repair_xp.htm#View%20Product%20Key%20XP)
How To Change The Product ID (http://support.microsoft.com/default.aspx?scid=kb;en-us;Q328874)
A better boot diskette for WinNT/2000/XP (http://www.xxcopy.com/xxcopy/xxcopy33.htm)
Has XP Been Activated? (http://www.webtree.ca/windowsxp/repair_xp.htm#How%20To%20Determine%20If%20XP%20was%20Activated)
NTFS Reader for DOS (freeware) (http://www.ntfs.com/products.htm) - lets you access an NTFS partition from a floppy and copy files off it
Known Issues with Windows XP Service Pack 1 (http://www.webtree.ca/windowsxp/repair_xp.htm#Known%20Issues%20with%20Windows%20XP%20Service%20Pack%201)
AIDA32 (http://www.aida32.hu/aida-features.php?bit=32) - AIDA32 is a professional system information, diagnostics and benchmarking program running on Win32 platforms. It extracts details of all components of the PC. You can even uncover your Windows XP and Office 2000/XP Product Keys with this freeware app. READ the FAQ!!!
Tweaks&Fixes (http://www.kellys-korner-xp.com/xp_tweaks.htm)- From Kelly's Korner this is a fantastic set of registry hacks and fixes.
NTBackup Is Missing From My OEM version of XP (http://www.onecomputerguy.com/software/ntbackup.msi) (download)- Some OEMs don't include NTBackup - Bob Cerelli has it at his site in his Windows XP Tips section (http://www.onecomputerguy.com/windowsxp_tips.htm)
Knoppix (http://www.knoppix.net/docs/) - Ok this might appear to be blasphemy on a site dedicated to Windows but if your system is really hosed and you are desperate to get data off the drive then give Knoppix a go. The download is a whopping 700MB but you get an ISO that, when burned to CD, creates a version of Linux that runs directly off the CD and doesn't require installation to your Hard Drive. With this CD Operating System you can access your NTFS or FAT partitions and with it's built in CD Burning software copy your important data off the drive . Or if you have a network you can transfer files to another system. This is a must have!
How to access Safe Mode:
Reboot your computer while holding down the F8 Key. At the Advanced Options Menu select the option for Safe Mode and press Enter.
How to access Last Known Good Configuration:
Reboot your computer while holding down the F8 Key. At the Advanced Options Menu select Last Known Good Configuration.
http://www.webtree.ca/windowsxp/safemode%20002.jpg

How to access the Recovery Console: - take this link for more information (http://www.kellys-korner-xp.com/win_xp_rec.htm)The Recovery Console is a set of tools which run from a Command prompt. If your system is formatted as NTFS then these tools can help you manage the partition. You can learn more about the Recovery Console through Help and Support or
Click here for information about the different commands and their functions (http://support.microsoft.com/default.aspx?scid=kb;en-us;Q307654) .
To run the Recovery Console from CD boot with the Windows XP CD (or with the optional 6 floppy disk set (http://www.webtree.ca/windowsxp/clean_install.htm#a)) and select "R" at the Welcome Screen.
http://www.webtree.ca/windowsxp/RC%20001.jpg
The screen will switch to black and you will be asked which installation to log on to. If you only have one installation you will press "1". Remember that numlock is off at this time.
http://www.webtree.ca/windowsxp/RC%20002.jpg
Next you'll be prompted to enter your Admin password. By default it is created blank so just press Enter.
http://www.webtree.ca/windowsxp/RC%20003.jpg
At the C:\Windows command prompt type "Help" for a list of commands you can use.
http://www.webtree.ca/windowsxp/RC%20006.jpg

How to Repair the Boot Sector:
If XP won't start it may be due to a damaged boot sector or a missing or corrupt ntldr or ntdetect.com files.
To replace damaged ntldr and ntdetect.com you can copy fresh files from the XP CD using the COPY command. Boot with the XP CD and enter the Recovery Console (as above). At the Command Prompt type the following (where "X" is your CD-Rom drive letter) allowing the files to overwrite the old files
COPY X:\i386\NTLDR C:
COPY X:\i386\NTDETECT.COM C:

To repair a damaged Boot Sector at the command prompt type FIXBOOT and press Enter. Then answer "Y"
http://www.webtree.ca/windowsxp/RC%20009.jpg

How To Format using the Recovery Console (click for info on How To Access The Recovery Console) (http://www.webtree.ca/windowsxp/repair_xp.htm#How%20to%20access%20the%20Recovery%20Console:)

format drive : /Q /FS:file-system
Use the above command (where /Q performs a quick format of the drive, drive is the drive letter of the partition to format /FS:file-system specifies the type of file system to use [FAT, FAT32, or NTFS]) to format the specified drive to the specified file system. For example the following quick formats C partition as NTFS
FORMAT C: /Q /FS:NTFS
the following will do a full format of C as FAT32
FORMAT C: /FS:FAT32
*** Note: If a file system is not specified, then the existing file system format is retained.
Type EXIT to quit the Recovery Console and restart your Computer
http://www.webtree.ca/windowsxp/RC%20013.jpg

How Partition using the Recovery Console: (click for info on How To Access The Recovery Console) (http://www.webtree.ca/windowsxp/repair_xp.htm#How%20to%20access%20the%20Recovery%20Console:)At the command prompt type DISKPART and press Enter.
http://www.webtree.ca/windowsxp/RC%20014.jpg

An interface is displayed which you can move through with the Arrow Keys. Press "C" to create a partition in unused space. Pressing "D" will delete the highlighted partition.
http://www.webtree.ca/windowsxp/RC%20015.jpg

How To Exit the Recovery Console:
You can not use Ctrl+Alt+Del to quit the Recovery Console. Instead type "EXIT" at the command prompt and Windows will be started.
http://www.webtree.ca/windowsxp/RC%20016.jpg
Boot to Windows.
http://www.webtree.ca/windowsxp/RC%20017.jpg

How to Repair Install: ***Also removes Service Packs***
Sometimes the only way to repair XP is to reinstall. You do not have to wipe your partition and start over. Just as with previous versions of Windows you can reinstall right over top of an existing setup. This has the advantage of retaining your installed applications, data and settings. You will lose previously saved System Restore Points but System Restore will begin creating new restore points again immediately following the Repair Install. You will need to reinstall SP2 and any Critical Updates from the Windows Update Site. Be aware that a Repair Install will leave your system vulnerable to the Blaster and Welchia worms. Do not go on line until you have enabled XP's firewall first. Then visit the Windows Update Site to patch your system It is always prudent to backup important data before you make changes to XP.
There are two approaches. The first one should be used if you can still boot to your Windows Desktop. Simply pop the XP CD into the CD-Rom drive and select Install->Upgrade[recommended]. This will install XP overtop of itself in the same way as upgrading from a previous setup. However if your version is an OEM version then you will not have this option. If you do not see the option to Upgrade[recommended] DO NOT choose New Install as that will either overwrite your current setup completely or give you a dual boot setup. Also if you have an older version of XP and have upgraded to a new service pack you will get a message stating that a newer version of Windows was found and you will not be able to run the Upgrade. Create a Slipstream version (http://www.webtree.ca/windowsxp/slipstream.htm) to solve this problem
If you cannot boot to the Desktop, or you have an OEM version of XP, or you want to remove a service pack then the following should be used to complete a Repair Install.
Boot with the Windows XP CD and at the Setup Screen press the Enter Key
http://www.webtree.ca/windowsxp/RC%20001.jpg
You will be taken to the Windows XP Licensing Agreement. After reading the agreement press F8 to proceed.
http://www.webtree.ca/windowsxp/Setup02.jpg
The next screen gives you the option to do a fresh (clean) install or to repair the selected Windows XP installation. To run a Repair Install Press "R" at this time.
***CAUTION*** if you do not see the option to repair the selected Windows XP installation DO NOT choose the option to continue installing a fresh copy without repairing as that will overwrite your data and cause unrecoverable data loss.
http://www.webtree.ca/windowsxp/Setup03.jpg
Windows XP will copy the necessary files to your Hard Drive to begin the installation and will then reboot. You will see the message that informs you to "Press any key to boot the CD". Do not press any keys this time just wait a few seconds and the Windows Startup Screen will be displayed. Following this you will be greeted by the Windows XP Setup Screens.
http://www.webtree.ca/windowsxp/Setup05.jpg
http://www.webtree.ca/windowsxp/RC%20017.jpg
http://www.webtree.ca/windowsxp/Setup06.jpg
When Setup has completed you should find all of your previously installed apps and settings are intact.
How To Determine If XP was Activated?
You installed XP and then can't remember if you activated it. Go to Start->Run and enter the following
oobe/msoobe /a
View Product Key XP - Visit the Keyfinder Homepage (http://www.magicaljellybean.com/keyfinder.html) by Aleks Ozolins
If you have more than one system running XP you have obviously purchased more than one copy of the Operating System. However you may have forgotten which Product Key you used for which system. It happens. I have 5 systems and have had all of them running XP at times. XP does not store the Product Key in a recognizable format in the registry.
Click this link and select "Open" and your Windows XP Product Key will be displayed (http://www.webtree.ca/windowsxp/keyfinder.exe)
Keyfinder is a freeware utility that retrieves your Product Key. has the options to copy the key to clipboard, save it to a text file, or print it for safekeeping. It works on Windows 95, 98, ME, NT4, 2000, XP, .NET, Office 97, and Office XP. It even has the ability by using Microsoft's own script to change the Windows XP, 98, and ME installation key. See the Microsoft Knowledgebase article here Q328874 (http://support.microsoft.com/default.aspx?scid=kb;en-us;Q328874)
If your version of XP came pre-installed on your computer the revealed Product Key could be that of an image used by the manufacturer. If this is the case you will likely be unable to use it to install another version of Windows XP such as one purchased separately from the computer. Find an alternate location for ViewKeyXP if my link is broken. (http://www.thatcomputerguy.us/archives/000018.html)
Known Issues with Windows XP Service Pack 1
Fix Switch Identities in Microsoft Outlook Express After Service Pack 1 (http://support.microsoft.com/default.aspx?scid=kb;en-us;Q329084)
HP/Compaq SP1 Notice - (http://www.hp.com/cposupport/personal_computing/support_doc/bph07866.html)The System Restore feature in these computers seriously conflicts with SP1
Cannot Start Windows XP After Installing Service Pack 1 and Then Performing a System Recovery Operation (http://support.microsoft.com/default.aspx?scid=kb;en-us;Q329450)
Fix for SP1 Problems and Compaq Pressario 6330 (http://tinyurl.com/1sc8)
Microsoft Knowledgebase Articles Pertaining to Windows XP SP1 (http://search.support.microsoft.com/search/default.aspx?Catalog=LCID=1033&CDID=EN-US-KB&PRODLISTSRC=ON&withinResults=&QuerySource=gsfxAdvancedSearch_Query&Product=winxp&Queryc=SP1+XP&Query=SP1+XP&KeywordType=ALL&maxResults=25&Titles=false&numDays=)
Setup Could Not Verify the Integrity of the File" Error Message Occurs When You Try to Install SP1 (http://support.microsoft.com/default.aspx?scid=kb;en-us;Q326815)
' (http://support.microsoft.com/search/preview.aspx?scid=kb;en-us;Q308402)The Password Is Not Valid' Error Message Appears When You Log On to Recovery Console in Windows XP (http://support.microsoft.com/default.aspx?scid=kb;en-us;308402)

peat moss
10-22-2006, 04:55 PM
Wholly crap nice one Zed , are you bored babysitting or what ? Worthy of a pin me thinks for the work it took alone . :01: