Is this OK? Let WinXP fix the fault itself

  
Recovery Console is a tool for Windows 2000/XP/2003 dedicated to repairing the system, it can enable and disable services, format the drive, read and write data on the local drive (including formatted as NTFS The file system driver), and performs many other management tasks, is a "magic weapon" that fixes the system even when Windows 2000/XP/2003 security mode cannot be accessed.

1. Using the Recovery Console

After selecting "Microsoft Windows Recovery Console" (that is, the Recovery Console) when the computer starts, 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. Enter "help command name" to get help for the specified command.

In the faulty 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 fix various problems that occur on the computer.

2. Introduction to Practical Commands

Obviously, many commands in the Recovery Console are familiar to us and will not be described here. The following are some of the commands that ordinary users usually do not use often. With them, we can easily complete many system maintenance tasks. In this issue of "Old Tree New Flower DOS3", the Expand and Rmdir commands that can be used in the Recovery Console are described.

1Diskpart

Role: Create and delete partitions on the hard drive.

Syntax: Diskpart [/add /delete] [device_name drive_name partition_name] [size]

Parameters: If you do not take any parameters, the Windows character mode version of Diskpart will be started.

/add - create a new partition;

/delete - delete the existing partition;

drive_name - the partition to be deleted represented by the drive letter, only with "/delete" is used at the same time, such as "E:";

partition_name - the partition to be deleted represented by the partition name, can be used instead of "drive_name" (used only with "/delete"); BR>
size—The size of the partition to be created, expressed in megabytes (MB), used only with "/add".

Example:

Delete F partition - diskpart /delete F:

Create a 200MB partition - diskpart /add DeviceHardDisk0 200

2Fixboot < BR>
Function: Write the new partition boot sector to the specified partition.

Syntax: Fixboot [drive]

Parameters: Without any parameters, the Fixboot command will write a new partition boot sector to the system partition where the user logs in. If the system detects an invalid or non-standard partition table tag, it will prompt the user to continue executing 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 corrupt the partition table and cause the partition to become inaccessible.

Example: The system partition to write the new drive D partition boot sector --Fixboot D:

3. Deleting the Recovery Console

Although the Recovery Console works well, if you don't like it, you can remove it manually. To do this:

Open "My Computer" and double-click the hard drive on which the Recovery Console is installed, assuming the C drive. Click "Tools → Folder Options", select the "View" tab, select the check box in front of the "Show all files and folders" option, clear the check box in front of the "Hide protected operating system files" option. Exit after "OK".

Now enter the root directory of the C drive, delete the "Cmdcons" folder, Cmldr file. Right-click on the Boot.ini file, select "Properties", clear the "Read-only" checkbox in the window that opens, and "OK" to exit. Then open the Boot.ini file in "Notepad", delete the entry of the Recovery Console (usually "C:cmdconsbootsect.dat="Microsoft Windows Recovery Console"/cmdcons"), close the file after saving, and finally restore the Boot. The read-only property of the .ini file is fine.
Copyright © Windows knowledge All Rights Reserved