Windows XP Recovery Console usage Tips

Source: Internet
Author: User
Tags ini administrator password

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. This issue of "old tree new Flower said Dos③", describes the expand, rmdir commands that can be used in the Recovery Console.

①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:\cmdcons\bootsect.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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.