Recovery Console Commands

Posted by on Apr 28, 2005 | No Comments

The Recovery Console is a useful utility for troubleshooting and recovering a system. When you use the Recovery Console, you can gain limited access to any volumes without starting the Windows Graphical interface. The utility provides you with the following capabilities:

  • Use, copy, rename, or replace operating system files and folders

  • Enable or disable services or devices from starting when you restart your computer
  • Repair the file system boot sector or the Master Boot Record (MBR)
  • Create and format partitions on drives


Once you start the Recovery Console, you will have access to a limited number of commands. These commands include:

Attrib: Changes the attributes of a file or directory.
Batch: Executes the commands specified in the text file.
ChDir (Cd): Displays the name of the current directory or changes the current directory.
Chkdsk: Checks a disk and displays a status report.
Cls: Clears the screen.
Copy: Copies a single file to another location.
Delete (Del): Deletes one or more files.
Dir: Displays a list of files and subdirectories in a directory.
Disable: Disables a system service or a device driver.
Diskpart: Manages partitions on your hard drives.
Enable: Starts or enables a system service or a device driver.
Exit: Exits the Recovery Console and restarts your computer.
Expand: Extracts a file from a compressed file.
Fixboot: Writes a new partition boot sector onto the system partition.
Fixmbr: Repairs the master boot record of the partition boot sector.
Format: Formats a disk.
Help: Displays a list of the commands you can use in the Recovery Console.
Listsvc: Lists the services and drivers available on the computer.
Logon: Logs on to a Windows 2000 installation.
Map: Displays the drive letter mappings.
Mkdir (Md): Creates a directory.
More: Displays a text file.
Rename (Ren): Renames a single file.
Rmdir (Rd): Deletes a directory.
Set: Displays and sets environment variables.
Systemroot: Sets the current directory to the systemroot directory of the system you are currently logged on to.
Type: Displays a text file.