Submit Your Article Forum Rules FAQ About Us
Search the forums:

Tech Support Team


Hello and Welcome to Tech Support Team! Before you can start posting and answering questions, you'll have to register. Registration is fast, simple and absolutely free! Feel free to browse through existing questions by choosing the forum you want to visit below.



View Poll Results: Did you find this Tutorial useful?
Yes 5 100.00%
No 0 0%
Kinda 0 0%
Voters: 5. You may not vote on this poll

Comment
How to install and use the Windows XP Recovery Console
How to install and use the Windows XP Recovery Console
Published by Jason
17th January 2008
How to install and use the Windows XP Recovery Console

Summary
Quote:
To recover your operating system when your computer does not start correctly or does not start at all, you may want to install and use the Windows Recovery Console. However, Microsoft recommends this method of system recovery for advanced users only. Also, learn about the Recovery Console command prompt, command actions, rules, how to remove the Recovery Console, and how to install it during an unattended installation.
Introduction
Quote:
Microsoft recommends that you use the Recovery Console only after Safe mode and other startup options do not work. The Recovery Console is recommended only if you are an advanced user who can use basic commands to identify and locate problem drivers and files. Additionally, you must be an administrator to use the Recovery Console.
========================================

How to install the Recovery Console

To install the the Recovery Console; follow these steps:

1. Insert the Windows XP CD into the CD-ROM drive

2. Click Start, and then click Run.

3. In the Open box, type X:\i386\winnt32.exe /cmdcons where X is the drive letter for your CD-ROM drive. Below is an image to show this step:




4. Click ok, and you should see an image similar to the one below:





Just simply click the 'Yes' button to continue with the installation of the Recovery Console. It will then attempt to do a 'Dynamic Update' to make sure you have the latest files, as shown in the image below:



Allow it to continue and when it's finished, you will be presented with a screen similar to the one below, telling you that the Windows Recovery Console has been installed.


5. Press the OK and remove the Windows XP CD from your computer.

Now, the next time your computer starts, you will have the option to start the Recovery Console.

How to start the Recovery Console

Once you have installed the Recovery Console on to your hard drive, follow the instructions below on how start it.

1. Reboot your computer and as Windows starts, you should see your startup options, as shown in the image below:


2. Now, with the arrow keys on your keyboard, select the 'Microsoft Windows Recovery Console' and press enter.

3. The Recovery Console will now start and list your Windows installations. If you have just the one, simply press 1 and then enter to log on to your Windows installation. If you have multiple ones, you'd simply enter the number associated with the installation you'd like to work on.

4. Next, it will prompt you for the administrator's password. Simply enter your password and press enter, if there is no password, just press enter.

5. Once you have entered your password and pressed enter, you should now be presented a C:\Windows> prompt and you can start using the Recovery Console.
Page copy protected against web site content infringement by Copyscape

Published by
Jason's Avatar
Super Moderator
Join Date: Oct 2007
Posts: 2,181
Reputation: Jason will become famous soon enoughJason will become famous soon enough


Applies to
Windows (all)

Tutorial Tools
  Top
Old 17th January 2008, 07:54 PM
Jason's Avatar
Super Moderator
 
Join Date: Oct 2007, 2,181 posts.
Reputation: Jason will become famous soon enoughJason will become famous soon enough
How to use the Recovery Console

Quote:
You can enable and disable services, format drives, read and write data on a local drive (including drives that are formatted to use the NTFS file system), and perform many other administrative tasks. The Recovery Console is particularly useful if you have to repair your computer by copying a file from a disk or CD-ROM to your hard disk, or if you have to reconfigure a service that is preventing your computer from starting correctly.
The following is a list of the available commands you can use in the Recovery Console. If you do not know what a certain command does, you can use the prefix help to get a more detailed explanation. For example: help chkdsk

Quote:
  • Attrib - changes attributes on one file or subdirectory.
  • Batch - executes commands that you specify in the text file, Inputfile. Outputfile holds the output of the commands. If you omit the Outputfile parameter, output appears on the screen.
  • Bootcfg - modifies the Boot.ini file for boot configuration and recovery.
  • CD (Chdir) - operates only in the system directories of the current Windows installation, removable media, the root directory of any hard disk partition, or the local installation sources.
  • Chkdsk - The /p switch runs Chkdsk even if the drive is not flagged as dirty. The /r switch locates bad sectors and recovers readable information. This switch implies /p. Chkdsk requires Autochk. Chkdsk automatically looks for Autochk.exe in the startup folder. If Chkdsk cannot find the file in the startup folder, it looks for the Windows 2000 Setup CD-ROM. If Chkdsk cannot find the installation CD-ROM, Chkdsk prompts the user for the location of Autochk.exe.
  • Cls - clears the screen.
  • Copy - copies one file to a target location. By default, the target cannot be removable media, and you cannot use wildcard characters. Copying a compressed file from the Windows 2000 Setup CD-ROM automatically decompresses the file.
  • Del (Delete) - deletes one file. Operates within the system directories of the current Windows installation, removable media, the root directory of any hard disk partition, or the local installation sources. By default, you cannot use wildcard characters.
  • Dir - displays a list of all files, including hidden and system files.
  • Disable - disables a Windows system service or driver. The variable service_or_driver is the name of the service or driver that you want to disable. When you use this command to disable a service, the command displays the service's original startup type before it changes the type to SERVICE_DISABLED. Note the original startup type so that you can use the enable command to restart the service.
  • Diskpart - manages partitions on hard disk volumes. The /add option creates a new partition. The /delete option deletes an existing partition. The variable device is the device name for a new partition (such as \device\harddisk0). The variable drive is the drive letter for a partition that you are deleting (for example, D). Partition is the partition-based name for a partition that you are deleting, (for example: \device\harddisk0\partition1) and can be used instead of the drive variable. The variable size is the size, in megabytes, of a new partition.
  • Enable - enables a Windows system service or driver. The variable service_or_driver is the name of the service or driver that you want to enable, and start_type is the startup type for an enabled service. The startup type uses one of the following formats:

SERVICE_BOOT_START
SERVICE_SYSTEM_START
SERVICE_AUTO_START
SERVICE_DEMAND_START
  • Exit - quits the Recovery Console, and then restarts the computer.
  • Expand - expands a compressed file. The variable source is the file that you want to expand. By default, you cannot use wildcard characters. The variable destination is the directory for the new file. By default, the destination cannot be removable media and cannot be read-only. You can use the attrib command to remove the read-only attribute from the destination directory. The option /f:filespec is required if the source contains more than one file. This option permits wildcard characters. The /y switch disables the overwrite confirmation prompt. The /d switch specifies that the files will not be expanded and displays a directory of the files in the source.
  • Fixboot - writes a new startup sector on the system partition.
  • Fixmbr - repairs the startup partition's master boot code. The variable device is an optional name that specifies the device that requires a new Master Boot Record. Omit this variable when the target is the startup device.
  • Format - formats a disk. The /q switch performs a quick format. The /fs switch specifies the file system.
  • Help - If you do not use the command variable to specify a command, help lists all the commands that the Recovery Console supports.
  • Listsvc - displays all available services and drivers on the computer.
  • Logon - displays detected installations of Windows and requests the local Administrator password for those installations. Use this command to move to another installation or subdirectory.
  • Map - displays currently active device mappings. Include the arc option to specify the use of Advanced RISC Computing (ARC) paths (the format for Boot.ini) instead of Windows device paths.
  • MD (Mkdir) - operates only within the system directories of the current Windows installation, removable media, the root directory of any hard disk partition, or the local installation sources.
  • More/Type - displays the specified text file on screen.
  • Rd (Rmdir) - operates only within the system directories of the current Windows installation, removable media, the root directory of any hard disk partition, or the local installation sources.
  • Ren (Rename) - operates only within the system directories of the current Windows installation, removable media, the root directory of any hard disk partition, or the local installation sources. You cannot specify a new drive or path as the target.
  • Set - displays and sets the Recovery Console environment variables.
  • Systemroot - sets the current directory to %SystemRoot%.

Last edited by Jason; 19th July 2008 at 04:00 PM.
Reply With Quote
  Top
Old 17th January 2008, 08:08 PM
Jason's Avatar
Super Moderator
 
Join Date: Oct 2007, 2,181 posts.
Reputation: Jason will become famous soon enoughJason will become famous soon enough
How to delete the Recovery Console

Warning: To remove the Recovery Console, you need to modify the boot.ini file. Take care in working this procedure, as modifying it incorrectly can prevent your computer from starting properly.

Follow the steps below to remove the Recovery Console:

1. Double-click on My Computer and then double-click on the drive you installed the Recovery Console to.

2. Click on the tools menu, then click folder options, and then click the view tab.

3. Select Show hidden files and folders, and uncheck Hide protected operating system files.

4. Now at the root folder, delete the Cmdcons folder and the Cmldr file.

5. At the root folder, right-click the Boot.ini file, and then click Properties.

6. Click to clear the Read-only check box, and then click OK.

7. Next, click on Start, then Run and type Notepad.exe c:\boot.ini in the Open field and press the OK button.

8. Remove the entry for the Recovery Console; it will look similar to this:
C:\CMDCONS\BOOTSECT.DAT="Microsoft Windows Recovery Console" /cmdcons

ONLY delete that entry.

11. Once deleted, click file, and then save.

12. Right click once again on the boot.ini file and select properties.

13. Put a checkmark back in the Read-only checkbox and then press the OK button.

The Recovery Console has now (should of) been removed from your system.

Any questions/comments? Leave them below!

Last edited by Jason; 19th July 2008 at 04:01 PM.
Reply With Quote
  Top
Old 23rd March 2008, 12:11 AM
evilfantasy's Avatar
Security Team
 
Join Date: Dec 2007, 2,555 posts.
Location: Tulsa, OK
Reputation: evilfantasy will become famous soon enoughevilfantasy will become famous soon enough
Recently I ran into a case of the Recovery Console asking for a password.

This registry edit causes the Recovery Console not to ask for a password

This works for both XP Home and XP Pro.
  • Start > Run > Regedit
  • Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\Cu rrentVersion\Setup\RecoveryConsole
  • Set the DWORD Security Level value to 1
  • Exit Registry and Reboot
Also see MS article 308402
__________________
.

ƃolq s’ʎsɐʇuɐɟlıʌǝ
Reply With Quote
  Top
Old 27th October 2008, 06:35 PM
Blackmirror's Avatar
TST Oracle
 
Join Date: Jul 2008, 8,169 posts.
Location: UK Norfolk .....
Reputation: Blackmirror is on a distinguished road
Is there a standalone recovery console download for people who dont have an xp cd ??
__________________
Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, chocolate in one hand, wine in the other, body thoroughly used up, totally worn out and screaming...
Damn, What a ride!!
Reply With Quote
  Top
Old 27th October 2008, 06:57 PM
evilfantasy's Avatar
Security Team
 
Join Date: Dec 2007, 2,555 posts.
Location: Tulsa, OK
Reputation: evilfantasy will become famous soon enoughevilfantasy will become famous soon enough
How to obtain Windows XP Setup disks for a floppy boot installation

How to obtain Windows XP Setup disks for a floppy boot installation
__________________
.

ƃolq s’ʎsɐʇuɐɟlıʌǝ
Reply With Quote
  Top
Old 28th October 2008, 09:46 AM
Blackmirror's Avatar
TST Oracle
 
Join Date: Jul 2008, 8,169 posts.
Location: UK Norfolk .....
Reputation: Blackmirror is on a distinguished road
Thank you i knew there was another way to do it
__________________
Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, chocolate in one hand, wine in the other, body thoroughly used up, totally worn out and screaming...
Damn, What a ride!!
Reply With Quote
  Top
Old 28th October 2008, 04:59 PM
Klunk's Avatar
TST Enthusiast
 
Join Date: Jul 2008, 279 posts.
Reputation: Klunk is on a distinguished road
Quote:
Originally Posted by Blackmirror View Post
Is there a standalone recovery console download for people who dont have an xp cd ??
Direct Download of ISO image
http://www.thecomputerparamedic.com/files/rc.iso

and another
http://www.webtree.ca/windowsxp/tool...xp_rec_con.zip

Last edited by Klunk; 28th October 2008 at 05:10 PM.
Reply With Quote
  Top
Old 28th October 2008, 05:00 PM
Blackmirror's Avatar
TST Oracle
 
Join Date: Jul 2008, 8,169 posts.
Location: UK Norfolk .....
Reputation: Blackmirror is on a distinguished road
Now thats what i was looking for Klunk
Many thanks
__________________
Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, chocolate in one hand, wine in the other, body thoroughly used up, totally worn out and screaming...
Damn, What a ride!!
Reply With Quote
  Top
Old 28th October 2008, 05:21 PM
Klunk's Avatar
TST Enthusiast
 
Join Date: Jul 2008, 279 posts.
Reputation: Klunk is on a distinguished road
If you have no XP CD or no rc.iso image or if CD from the ISO image doesnt work then look on your drive for the i386 folder.
If you have the i386 folder present on your system then you can install the Recovery Console and have it as a boot option. All that is needed is the winnt32.exe file and run it with a switch from the run command.
So if you have the i386 folder and it contains winnt32.exe then enter the following in the run box

For i386 folder located in Windows folder, enter this
%windir%\i386\winnt32.exe /cmdcons

For i386 folder located at the root of your system drive, enter this
%systemroot%\i386\winnt32.exe /cmdcons


Just found this article that gives instructions how to make a bootable Recovery Console CD from the XP Setup floppies
http://my.opera.com/hippo1023/blog/show.dml/517459

More reading
http://www.ehsco.com/reading/20060816iwc1.html

Last edited by Klunk; 28th October 2008 at 05:34 PM.
Reply With Quote
  Top
Old 28th October 2008, 06:56 PM
Blackmirror's Avatar
TST Oracle
 
Join Date: Jul 2008, 8,169 posts.
Location: UK Norfolk .....
Reputation: Blackmirror is on a distinguished road
I tried that Klunk and got a warning


I dont want to hijack this as its a tutorial though
__________________
Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, chocolate in one hand, wine in the other, body thoroughly used up, totally worn out and screaming...
Damn, What a ride!!

Last edited by Blackmirror; 13th July 2011 at 10:34 AM.
Reply With Quote
  Top
Old 29th October 2008, 11:14 AM
Albert Lionheart's Avatar
TST Oracle
 
Join Date: Dec 2007, 7,960 posts.
Location: Market Haemorrhoids, Middle England
Reputation: Albert Lionheart is on a distinguished road
why is this really useful thread not a sticky??
__________________
Never take life seriously; nobody gets out alive anyway.
Reply With Quote
  Top
Old 28th January 2011, 01:06 PM
only.you's Avatar
TST Member
 
Join Date: Jan 2011, 54 posts.
Reputation: only.you is on a distinguished road
thank you so much for giving us
of this wonderful information..
__________________
structured settlement annuity
Reply With Quote
  Top
Old 13th July 2011, 07:58 AM
xclgreen's Avatar
Newcomer
 
Join Date: Jul 2011, 2 posts.
Reputation: xclgreen is on a distinguished road
Great post. I'll be using your guide to install.
Reply With Quote
Comment

Only registered members can participate in forum threads. You must register or log in to contribute.


Tags
recovery console, recovery console guide

Tutorial Tools

Forum Jump


All times are GMT. The time now is 10:23 AM.