The Windows Recovery Console is a tool used by Windows 2000/xp/2003 to repair the system, enabling and disabling services, formatting drives, reading and writing data on local drives (including drives formatted as NTFS file systems), and performing many other administrative tasks. It is our "magic weapon" to repair the system even when Windows 2000/xp/2003 Safe mode is inaccessible.
1. Using the Recovery Console
When the computer starts by selecting Microsoft Windows Recovery Console (the Recovery Console), enter the administrator password when prompted. Then at the system prompt, type the Recovery Console command. Enter "Help" to get a list of command names, and you can enter the aid command name to be helped by the specified command.
In the fault console, we can use attrib, Batch, Bootcfg, ChDir (CD), Chkdsk, Cls, Copy, Delete (Del), Dir, Disable, Format, Diskpart, Enable, Expand, FIXMBR, fixboot and other commands, to the computer to repair various problems.
2. Practical Command Introduction
Obviously, many of the commands in the Recovery Console are familiar to us, and we're not going to repeat them here. Here is a general user to introduce the usual use of commands, using them, we can easily complete a lot of system maintenance work.
①diskpart
Role: Create and delete partitions on the hard drive.
Syntax: Diskpart [/add |/delete] [device_name | drive_name | partition_name] [size]
Parameter: If no arguments are taken, the DiskPart version of Windows character mode is started.
/add--create a new partition;
/delete--Delete existing partitions;
drive_name--the partition to be deleted as a drive letter, used only with "/delete", such as "E:";
partition_name--to be deleted by partition name instead of "Drive_name" (Used only with "/delete");
size--the size of the partition to be created in megabytes (MB) and is used only with "/add".
Instance:
Delete F partition--diskpart/delete F:
Create a 200MB partition--diskpart/add DeviceHardDisk0 200
②fixboot
Function: Writes the new partition boot sector to the specified partition.
Syntax: Fixboot [drive]
Parameters: If no arguments are taken, the fixboot command writes a new partition boot sector to the system partition that the user logs on to. If the system detects an invalid or nonstandard partition table token, the user is prompted to continue with the command, and do not proceed unless there is a problem with the drive you are accessing. Writing a new master boot record to the system partition can damage the partition table and cause the partition to be inaccessible.
Instance: Writes a new partition boot sector to the system partition of drive D--fixboot D:
3. Remove Recovery Console
Although the Recovery Console works fine, if you don't like it, you can delete it manually. The method is:
Open My Computer and double-click the hard drive on which you installed the Recovery Console, assuming C disk. Click tools → Folder Options, select the View tab, select the check box before the Show All files and folders option, empty the check box before the Hide protected operating system files option, and then exit.
Now enter the C packing directory, delete the "Cmdcons" folder, Cmldr files. Right-click the Boot.ini file, select Properties, clear the Read-only check box in the Open window, and OK to exit. Then, open the Boot.ini file in Notepad and remove the Recovery Console entry (typically "c:cmdconsbootsect.dat=" Microsoft Windows Recovery Console "/cmdcons"), Close the file after you save it, and then restore the read-only property of the Boot.ini file.