How To Use The Recovery Console On A Windows Server 2003-Based Computer That Does Not Start
How To Use The Recovery Console On A Windows Server 2003-Based Computer That Does Not Start
Page 1 of 5
The Recovery Console is a command-line tool that you can use to repair Windows if
the computer does not start correctly. You can start the Recovery Console from the
Windows Server 2003 CD, or at startup, if you previously installed the Recovery
Console on the computer.
1. Configure the computer to start from the CD or the DVD drive. For more
information about how to do this, see the computer documentation or
contact the computer manufacturer.
2. Insert the Windows Server 2003 CD in the computer's CD or DVD drive.
3. Restart the computer.
4. When you receive the message that prompts you to press any key to start
from the CD, press a key to start the computer from the Windows Server
2003 CD.
5. When the Welcome to Setup screen appears, press the R key to start the
Recovery Console.
6. Select the Windows installation that you must access from the Recovery
Console.
7. Follow the instructions that appear on the screen, type the Administrator
password, and then press ENTER.
8. At the command prompt, type the appropriate Recovery Console commands
to repair your Windows Server 2003 installation.
For a list of commands that are available in the Recovery Console, type help
at the command prompt, and then press ENTER.
http://support.microsoft.com/kb/326215 8/6/2009
How To Use the Recovery Console on a Windows Server 2003-Based Computer That Do... Page 2 of 5
http://support.microsoft.com/kb/326215 8/6/2009
How To Use the Recovery Console on a Windows Server 2003-Based Computer That Do... Page 3 of 5
SERVICE_BOOT_START
SERVICE_SYSTEM_START
SERVICE_AUTO_START
SERVICE_DEMAND_START
z Exit quits the Recovery Console and then restarts the computer.
z Expand expands a compressed file. The source argument is the file that
you want to expand. By default, you cannot use wildcard characters. The
destination argument 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 should not be expanded and displays a directory of the files in
the source.
z Fixboot writes a new boot sector on the system partition. The fixboot
command is only supported on x86-based computers.
z Fixmbr repairs the boot partition's master boot record (MBR). The device-
name argument is an optional name that specifies the device that requires a
new MBR. Omit this variable when the target is the boot device. The fixmbr
command is only supported on x86-based computers.
z Format formats a disk. The /q switch performs a quick format.
The /fs:file-system switch specifies the file system.
z Help lists all the commands that the Recovery Console supports. For more
information about a specific command, type help command-name or
command-name /?.
z Listsvc displays all available services and drivers on the computer.
z 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.
z Map displays currently active device mappings. Include the arc option to
specify the use of Advanced RISC Computing (ARC) paths instead of
Windows device paths. (ARC is the format that is used for the Boot.ini file.)
z Md (Mkdir) creates a directory. The command operates only in the system
directories of the current Windows installation, in removable media, in the
root directory of any hard disk partition, or in the local installation sources.
z More/Type displays the specified text file to the screen.
z Rd (rmdir) removes a directory. The command operates only in the system
directories of the current Windows installation, in removable media, in the
root directory of any hard disk partition, or in the local installation sources.
z Ren (rename) renames a single file. The command operates only in the
system directories of the current Windows installation, in removable media,
in the root directory of any hard disk partition, or in the local installation
sources. You cannot specify a new drive or path as the target.
z Set displays and sets the Recovery Console environment variables.
z Systemroot sets the current directory to %systemroot%.
Precautionary Measures
http://support.microsoft.com/kb/326215 8/6/2009
How To Use the Recovery Console on a Windows Server 2003-Based Computer That Do... Page 4 of 5
to use if you cannot start Windows. This precautionary measure can save you time
if you must use the Recovery Console.
To install Recovery console as a startup option for Windows Server 2003 x64
edition, type the following line:
drive:\amd64\winnt32.exe /cmdcons
4. Click Yes when the message appears, to install the Recovery Console.
5. When you receive the message that states that the Recovery Console is
successfully installed, click OK.
6. To use the Recovery Console, restart the computer, and then use the
ARROW keys to select Microsoft Windows Recovery Console in the
Please select the operating system to start list.
http://support.microsoft.com/kb/326215 8/6/2009
How To Use the Recovery Console on a Windows Server 2003-Based Computer That Do... Page 5 of 5
6. Remove the Recovery Console entry from the Boot.ini file. To do so, follow
these steps.
d. On the File menu, click Save, and then click Exit to quit Notepad.
7. Change the attribute for the Boot.ini file back to Read-only. To do so, right-
click Boot.ini, and then click Properties. Click to select the Read-only
check box, and then click OK.
For additional information about how to use the Recovery Console, click the
following article number to view the article in the Microsoft Knowledge Base:
326215 (http://support.microsoft.com/kb/326215/ ) How To Use the Recovery
Console on a Windows Server 2003-Based Computer
APPLIES TO
http://support.microsoft.com/kb/326215 8/6/2009