MODIFYING THE REGISTRY

8. When you have completed the repair process, type exit and then press E

NTER

.

The computer will restart.

The Major Recovery Console Commands

There are a number of commands available in the Recovery Console, some of which

are described in Table 4-11.

Table 4-11

Major Recovery Console Commands

Command Description

Attrib Changes the attributes of a file or folder.

– Clears an attribute

+ Sets an attribute

c Compressed file attribute

h Hidden file attribute

r Read-only attribute

s System file attribute

Chdir (cd) Displays the name of the current folder or changes the current folder.

Chkdsk Checks a disk and displays a status report.

Cls Clears the screen.

Copy Copies a single file to another location. You cannot copy a file from a hard

drive to a floppy disk, but you can copy a file from a floppy disk or a CD-ROM

to a hard drive or from a hard drive to another hard drive. This command

allows you to access and recover user data when you cannot otherwise start

the computer.

Delete (Del) Deletes one or more files.

Dir Displays a list of files and subfolders in a folder. The wildcard characters * and

? are permitted.

Disable Disables a system service or a device driver.

Diskpart Creates, deletes, and manages partitions on your hard disk.

/add Creates a new partition

/delete Deletes an existing partition

Do not modify the structure of dynamic disks with this command because you

might damage your partition table.

Enable Starts or enables a system service or a device driver.

Exit Exits the Recovery Console and restarts your computer.

Expand Expands a compressed file stored on the Windows XP Professional CD-ROM

or from within a .cab file and copies it to a specified destination.

Fdisk Manages partitions on your hard disk.

Fixboot Writes a new partition boot sector onto the system partition.

Fixmbr Repairs the MBR of the partition boot sector. This command overwrites only the

master boot code, leaving the existing partition table intact. If corruption in the

MBR affects the partition table, running fixmbr might not resolve the problem.

Format Formats a disk. If no file system is specified, NTFS is used by default.

Help Lists the commands you can use in the Recovery Console.

Logon Logs on to a Windows XP Professional installation.

Map Displays the drive letter mappings.

Mkdir (md) Creates a folder.