Breadcrumbs

Home Technical Help Windows Recovery Console Commands
Windows Recovery Console Commands PDF Print E-mail
Written by Administrator   

Once you are in the recovery console command line type help and press enter to list all the DOS commands. Below is a description of all of the commands, type the command in DOC command line exactly as it appears and press enter

 

 

  • Attrib -

The attrib command is used to change the attributes of a single file or a directory.

 

  • Batch -

The batch command can be used to run a series of other Recovery Console commands located in a text file that you specify.

 

  • Bootcfg -

The bootcfg command is used to build or modify the boot.ini file, a hidden file that is used to identify in what folder, on which partition, and on which hard drive Windows is located. You can use Bootcfg Copy to make copies of intsanace of essential operating systems files such as Boot.ini files. Example syntax is bootcfg /copy /d "\ABC Server\" /id 1. For more info goto Microsoft help

 

  • Chdir -

The chdir command is used to display the drive letter and folder that you are currently in. Chdir can also be used to change the drive and/or directory that you want to work in.

 

  • Chkdsk -

This is one of the most important command in recovering your windows installation, the chkdsk command, often referred to as "check disk", is used to identify, and often times correct, certain hard drive errors. To use the command type chkdsk and press enter. To check and fix errors in a particular drive, such as drive D, type chkdsk d: /f. For more info goto Microsoft help

 

  • Cls -

The cls command clears the screen of all previously entered commands and other text.

 

  • Copy -

The copy command does simply that - it copies a single file from one location to another.

 

  • Delete -

The delete command is used to delete a single file.

 

  • Dir -

The dir command is used to display a list of files and folders contained inside the folder that you are currently working in. The dir command also displays other important information like the hard drive's serial number, the total number of files listed, their combined size, the total amount of free space left on the drive, and more.

 

  • Disable -

The disable command is used to disable a system service or a device driver.

 

  • Diskpart -

The diskpart command is used to create or delete partitions on hard drives.

 

  • Enable -

The enable command is used to enable a system service or a device driver.

 

  • Exit -

The exit command ends the Recovery Console session and then restarts the computer.

 

  • Expand -

The expand command is used to extract a single file or a group of files from a compressed file.

 

  • Fixboot -

The fixboot command writes a new partition boot sector to the system partition that you specify.

 

  • Fixmbr -

The fixmbr command writes a new master boot record to the hard disk drive that you specify.

 

  • Format -

The format command is used to format a drive in the file system that you specify. Be very cautious using this command as it deletes all files and programs

 

  • Help -

The help command provides more detailed information on any of the other Recovery Console commands.

 

  • Listsvc -

The listsvc command will list the services and drivers available in your Windows installation.

 

  • Logon -

The logon command is used to gain access to the Windows installation that you specify.

 

  • Map -

The map command is used to display the partition and hard drive that each drive letter on the computer is currently assigned to.

 

  • Mkdir -

The mkdir command is used to create a new folder.

 

  • More -

The more command is used to display the information contained in a text file. The more command performs the same function as the type command.

 

  • Net use -

The net use command is not available in Recovery Console, even though it is listed in the "Help" system as an available command. In other areas of Windows, the net use command is used to assign a drive letter to a shared network resource.

 

  • Rename -

The rename command is used to change the name of the individual file that you specify.

 

  • Rmdir -

The rmdir command is used to delete an existing and completely empty folder.

 

  • Set -

The set command is used to enable or disable certain options in Recovery Console.

 

  • Systemroot -

The systemroot command is used to set the %systemroot% environment variable as the current folder you are working in.

 

  • Type -

The type command is used to display the information contained in a text file. The type command performs the same function as the more command.

 

For more information goto Microsoft help on console commands