Use of Windows XP Console

  
        The k

Recovery Console is a very effective tool for diagnosing and testing and restoring system functions in the event of some unexpected conditions in the system. Because many DOS commands are used, many rookies are discouraged. Starting with Windows 2000, Microsoft has provided a Recovery Console. It is a new control model from Microsoft that fixes the system when security mode and other boot options don't work.

The Recovery Console has the following functions: you can enable or disable the service, format the drive, read and write data on the local drive (including the drive formatted as NTFS file system), rewrite the main boot of the hard drive Record (MBR), rewrite partition boot records, restore boot menus, etc. and perform many other managed tasks. The Recovery Console is especially useful if you need to repair your system by copying a file from a floppy or CD-ROM to your hard drive. Let's take Windows XP as an example to see how to use it.

Starting and entering

There are two methods, one is to boot from the installation CD, and the other is to boot from the hard disk. This article discusses the former method. Insert the installation CD of Windows XP, and set it to boot from CDROM in BiOS. After booting the computer, the system will automatically enter the Windows XP installation interface option, press the "R" key to select the second item "To use the 'failed console' To repair the Windows XP installation, press R. The system automatically logs in to the Recovery Console.

As shown in Figure 1, it automatically finds the existing system and its installation directory and gives the number. At this point, ask which system you need to fix. There is only one here, if it is more than one, it will be displayed (Figure 1). Enter "1" and press Enter.

Next, the console prompts for the administrator password for the system. After that, I really entered the console and can give orders. So, what do you do if you don't know what commands are available?

Show console commands

The answer is to use the HELP command. Enter HELP at the console prompt and you will see the first page of the console command. Look at the prompt at the bottom of the screen, press the space bar to display the next page command.

Introduction to Commands

But I know what is wrong with the command, what should I do? The answer is still the HELP command, but this time it is up to the command you want to know after the HELP command. Here are a few more commonly used commands:

(1)FIXBOOT command

This command is used to repair the partition boot sector, as shown in Figure 2.

(2) FIXMBR Command

can be used to repair the hard disk master boot record.

(3)BOOTCFG Command

This command is unique to Windows XP and it fixes the boot menu.

(4)FORMAT command

For new partitions created with the DISKPART command, you can use it to format NTFS and FAT32, so don't equate it with the FORMAT command under Windows 98. .

(5) DISKPART Command

This command displays the partition information and can operate on the partition. It should be pointed out that many people call it FDISK, which is wrong. Although it is similar to the function of FDISK, I personally feel that it is more adaptable than FDISK, and the function is more convenient. For example, you don't have to specifically activate the primary partition. The default is active. It is also not necessary to delete the extended partition after deleting the primary partition, and it is possible to directly operate on the logical drive. It also has the benefit of direct manipulation of NTFS partitions, which is especially important for beginners.

Copyright © Windows knowledge All Rights Reserved