Recovery Console commands

The following commands can be used with the Recovery Console:

Attrib 

Changes the attributes of a file or directory.

Batch 

Executes the commands specified in the text file.

Bootcfg 

Boot file (boot.ini) configuration and recovery.

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 specified partition.

Fixmbr 

Repairs the master boot record of the specified disk.

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 installation.

Map 

Displays the drive letter mappings.

Mkdir (Md) 

Creates a directory.

More 

Displays a text file.

Net Use 

Connects a network share to a drive letter.

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.

Install the Recovery Console as a startup option

Start the computer and use the Recovery Console

Recovery Console overview

Startup options



© 2016 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies