answersLogoWhite

0


Best Answer

Repair and Recovery of windows Xp with the Recovery Console

If Windows won't start, use the DOS-like Recovery Console to make repairs.

The Recovery Console is one of the last-ditch tools you can use if your Windows installation doesn't start up at all. Before you resort to the Recovery Console, if Windows starts up, make sure you've already tried System Restore (especially if you've recently changed your hardware).

To run System Restore, choose Control Panel Performance and Maintenance System Restore.

If it won't start, try running the Windows XP Setup Wizard from the installation CD and choosing its Repair option, or try starting Windows in Safe Mode.

If none of these easier paths work, you're stuck using the DOS-like Recovery Console to figure out what's wrong with Windows, your system or boot partition, or your disk's master boot record (MBR). You can use its DOS-like commands to look at the files and folders that make up Windows, and possibly repair them. You can also repair the master boot record and boot sector.

You can configure the Recovery Console not to require the administrator password on login. In the Registry Editor, set the value of key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Setup\RecoveryConsole\SecurityLevel to 1.

Starting the Recovery Console

To start the Recovery Console, boot your computer from the Windows XP installation CD and follow the prompts. When it asks which Windows installation you want, type the number of the installation (1, if Windows XP is the only operating system installed) and press Enter. Type the password for the Administrator account. When the Recovery Console is running, you see the prompt D:\WINDOWS>, which tells you the name of the current folder (directory).

If you plan to use the Recovery Console often, add it to your boot menu (the menu that appears if you have a multiboot system). You must be logged in as an administrator. Choose Start Run and type the command d:\i386\winnt32.exe /cmdcons (replace d: with your CD drive's letter if it's not D). The Recovery Console occupies about 7 MB of disk space and stores its program files in \Comdcons on your system drive.

Now you can type commands and press Enter, just like in the good old days of DOS! However, not all DOS commands work, and you can't examine files in all folders. You are restricted to the Windows program folder (C:\Windows on most systems), its subfolders, the root folder of the Windows partition (C:\ on most systems), removable drives (including diskette, ZIP, and CD drives-but these are read-only), and the \Cmdcons folder (which contains the Recovery Console program itself, if you have added it to your boot menu).

If you know DOS, the Recovery Console's commands look familiar, though only a few are available and some work differently. To see a list of all the available commands, type help and press Enter. To find out how a specific command works, type the command, followed by a space and /? (for example, expand /?). When you are done using the Recovery Console, type exit and press Enter to reboot your computer.

Looking Around

Use these commands to examine your system:

CD folder

Changes the current folder to the folder you name. In the folder name, two dots (..) represents the parent folder of the current folder. To move to a different drive, type its drive letter and a colon and press Enter.

dir folder or dir filename

Lists the contents of the folder, including files and subfolders. For the filename, you can use * as a wildcard character (for example, dir *.dll). You see the last modification date and time, attributes, size (in bytes) and filename. The attributes are represented by letters: d (directory or folder), h (hidden), s (system), e (encrypted), r (read-only), a (changed since last backup), and c (compressed).

map

Lists the drive letters with their file format (FAT32 or NTFS), size, and pathname.

type filename

Displays the contents of the file as text. For executable, graphic, and other nontext files, you see garbage.

If a filename or pathname includes spaces, enclose it in double quotes.

Fixing the MBR, Boot Sector, or Boot Menu

If your system can't find a partition from which to boot, try fixing the MBR. Type fixmbr to rewrite the MBR on the boot partition (the drive or partition from which the computer starts up).

If the system finds the boot partition but the Windows boot sector is fouled up on the Windows partition (the drive or partition where Windows is installed), rewrite the Windows boot sector by typing fixboot. To specify which drive is the Windows partition, you can add the drive letter (e.g., fixboot c.

Windows XP includes a boot menu that allows you to choose which operating system to start up. (It doesn't appear if your system has only one operating system.) To fix the boot menu, use the bootscan command. Type bootcfg /scan to look at all your partitions and drives, scanning for Windows installations. Type bootcfg /list to list the entries in boot.ini (the file that contains your boot menu entries).

Fixing Windows

If something is wrong with your Windows installation, use these commands to modify or replace the problematic files:

attrib filename flag

Changes the attribute of a file (filename). The flag is + (adds, or turns on) or - (removes, or turns off), followed by r (read-only), s (system), or h (hidden).

chkdsk drive

Checks and repairs files and folders on drive. Add the /p switch to check the drive even if no problems are marked.

copy sourcepath1 sourcepath2

Copies the file from sourcepath1 and names the new file sourcepath2. The asterisk wildcard (*) doesn't work, so you can copy only one file at a time.

diskpart

Lets you add or delete partitions, though you can't resize or move them. (For that, you need a program like PartitionMagic; go to http://www.partitionmagic.com.)

expand pathname

Decompresses files from a .cab file and puts the result in the current folder. If the .cab file contains more than one file, add /f:* to extract all the files. Or add /f:* /d to list all the files in the .cab, and then use expand pathname /f:filename command to extract just the one you want.

wildcards in recovery console

By default, the Recovery Console doesn't allow you to use wildcards, copy files from local drives to removable media, or use the CD command to list files in subfolders in all folders on all local disks. It also issues a warning message every time you copy files that overwrite existing files.

However, if you have the Professional Edition, you can change that behavior using the Group Policy Editor. At a command prompt, type gpedit.msc to run the Group Policy Editor. Go to Local Computer Policy\Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options. In the list of policies on the right, double-click on "Recover console: Allow floppy copy and access to all drives and all folders." Select the Enabled option and click OK.

Doing this won't actually make the changes; at this point, you'll have to use the Recovery Console itself to do that. Open the Recovery Console and use the following commands to customize its behavior:

set allowwildcards = true

This command lets you use the * and ? wildcards with the Recovery Console commands.

set allowallpaths = true

This command lets you use the CD command to list all files and subfolders on all folders on all local disks.

set allowremovablemedia = true

This command lets you copy files from local drives to removable media.

set nocopyprompt = true

This command lets you copy files that overwrite existing files, without getting a warning prompt.

For more visit www.thehandycomputerguy.com for your computer repair needs in Pittsburgh

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you repair Windows XP using the Recovery Console?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

List the steps to load the Recovery Console when using the four Windows 2000 rescue disks?

Access the Recovery Console by first booting from the Windows 2000/XP CD, or the four Windows 2000 setup disks or install the console under the boot loader menu and access it from there. Insert the 1st of the disks and restart the PC. You are directed to insert each of the four disks in turn, and then the Setup screen appears. Type R to select the "To repair a Windows 2000 installation" option, then type C to select the Recovery Console.


9 List the steps to load the Recovery Console when using the four Windows 2000 rescue disks?

1) insert the first of the four disks and restart the computer. You are directed to insert each disk in turn and then the setup screen appears. 2)type R to select the "to repair the Windows 2000 installation" option. Repair Options window opens and type C to select the Recovery Console


What should you do if you can't load windows for your computer?

Easy answer to try first is using your windows CD to do a repair install. Go through like you are installing new windows, and when it searches your hard drive it will show you your old windows install folder and ask if you would like to repair it. (don't press r at the first screen for recovery console, that's different)


When data corrupted by viruses cannot be restored by using antivirus software?

try using windows recovery console, restore your PC to an earlier stage


What happens if a user attempts to boot the computerand the message NTLDR is missing is observed on the screen?

NTLDR is the "Nt Loader". Since Windows XP is built on the Windows NT kernel, the NT Loader is necessary for Windows to boot.The easiest way to repair this is to boot from your Windows XP CD, then take the SECOND "R" option. The first "R" will be "Attempt to repair windows using the recovery console" That is not the one that you want. Continue as if you were going to reinstall windows. Then, the XP setup will say "Searching your hard drive for previous Windows installations", and should find C:\Windows\. Select "R" to Repair at that point.Note: You will need to do all of your windows updates again once you have done a repair of windows.


You installed Linux mint and chose Beside windows at the partitioner part now how do you remove it and you are having troubles with mint so you want to remove it?

If you have installed mint to a fresh partition with no other OS on that partition then removing mint is really easy. It applies to any other GNU/Linux. If you are using Windows, then just format the mint partition and boot into the recovery console (R) using the Windows boot cd. type: fixmbr at the recovery console and when it asks for conformation type y.


How do you format drive c when drive can't be locked?

you can't format the drive that you're running windows from while in windows. use the setup disk to run a recovery console and you should be able to format it from there using format c:


How to Fix Windows XP with a Repair Install?

Windows XP is such an amazingly stable OS that some people still prefer it despite Windows Vista and Windows 7 having succeeded it. Unfortunately, amazingly stable does not mean bulletproof, and sometimes our operating system becomes so corrupt that it is unusable. Fortunately, Windows XP has a mechanism in place to recover from this sort of failure called the repair install. 1. Put your Windows XP CD in the CD drive, and then reboot the computer. Note that it may be necessary for you to first enter your BIOS and change the boot order so that the computer accesses the CD drive first. 2. Pay attention to this step closely. At the welcome screen, you will see three options. Select the one that reads, “To set up Windows XP now, press ENTER’. This is confusing because one option reads, “To repair a Windows XP installation using Recovery Console, press R’. However, we do not want to use the Recovery Console. 3. After pressing enter, accept the Windows license agreement. Windows will now search for and find the existing window installation or installations. 4. Highlight the Windows XP installation that needs repairing, and then press “R’ for repair. If repair is not an option, exit setup, and then read the section below called “What do I do if repairing is not an offered option?’ 5. During this phase, Windows XP setup will copy over all necessary files, and in doing so replace the corrupt ones. This is just like a complete install except that your settings and files stay intact. What do I do if repairing is not an offered option? First, note that continuing setup will ERASE ALL of your files and settings. There is one thing you can try before resorting to that and that is reconfiguring the boot.ini via the Recovery console. A. Boot with the Windows XP CD in the drive. Alternatively, you can use the Windows XP floppy recovery disks. B. From the setup screen, press “R’ to load the Recovery Console. C. Type the command “bootcfg’. This will repair any errors in the boot.ini file, which is what usually prevents Windows XP setup from being able to repair a Windows installation. D. Go back to step #1, and start the repair process again.


11 List the steps to load the Recovery Console when using the four Windows 2000 rescue disks?

Insert each of the disks, restarting the computer after the first disk, which then once restarting, a setup screen appears.


What is the recovery drive for?

In a case if something happens with the operating system. If it does you can repair or even reinstall the OS using the recovery disk.


When might it be useful to be able to copy a files from a CD to the hard drive by using the recovery console?

When Windows won't boot because of changes made to the registry, you can copy the correct registry files back onto the hard drive.


How do you restore the system 32 folder?

UsingWindows XP Recovery Console - To start Recovery Console from the Windows XP Professional operating system CD Insert the Windows XP Professional operating system CD into the CD-ROM drive, and restart the computer. When prompted, press a key to start Setup. At the Setup Notification screen, press ENTER. After the Welcome to Setup screen appears, select To repair a Windows XP installation using Recovery Console by pressing R. A menu that lists one or more Windows XP Professional installations appears. Type the number corresponding to the installation that you want to use, and then press ENTER. At the prompt, enter the password for the local Administrator account to access the contents of the local hard disk. Recovery Console accepts only the local Administrator account password. From Recovery Console, you can attempt to replace corrupted files with undamaged copies stored on removable disks, such as a floppy disk or the Windows XP Professional operating system CD. To use the CD-based Recovery Console, you must set the CD-ROM as the primary boot device (the first item listed in the boot order). If the CD-ROM is not listed as a boot-order option in the computer firmware, you cannot start your system by using the Windows XP Professional operating system CD. You must use startup floppy disks to start Windows XP Professional Setup Using Recovery Console to replace the System file ================================ At the Recovery Console prompt, locate the config folder by typing: CD system32\config Create backups of the System or Software files by typing: copy system <drive:\path\filename> -or- copy software <drive:\path\filename> If they exist, save backups of other files that use file names that start with "system" or "software," such as System.sav or Software.sav. Replace the current System or Software file by typing: copy ..\..\repair\system -or- copy ..\..\repair\software Answer the Overwrite system? (Yes/No/All): prompt by pressing Y. Restart the computer. And that's solves your problem!¿?!