Traditional Culture Encyclopedia - Hotel accommodation - How to use the recovery console function to repair the system?

How to use the recovery console function to repair the system?

There are two ways to start the system recovery console:

One is to boot from the installation CD.

Insert the installation CD of Windows XP and set it to boot from CDROM in BIOS. After starting the computer, the system will automatically enter the Windows XP installation interface option, press the "R" key to select the second item "Repair Windows XP installation by using the system fault console, and press the" R "key to automatically log in to the recovery console.

The second is to install when XP is running.

Specific methods: First, insert the WindowsXP installation boot disk into the CD-ROM drive, select Run from the start menu (or press "Win +R") to open the run dialog box, and enter the command x1386 \ winnt32.exe/cmdcons (where x is the drive letter of the CD-ROM drive that loads XP). When you are asked whether to install the Command Recovery Console, select Yes, and the installation wizard will appear. After restarting, you can see the options of Microsoft Windows XP recovery console in the startup list.

Some common commands:

Bootcfg: This is the most commonly used command. After entering Bootcfg, you will see several parameters of it. Yes, it is used to configure startup information. If your original system is Windows98+WindowsXP, after reinstalling Windows98, it is found that WindowsXP cannot be started. Use the first method mentioned above to start the WindowsXP command recovery console. Enter the Bootcfg/add or Bootcfg/scan command. The former is the startup list for manually adding WindowsXP, and the format is: multi (0) disk (x) rdisk (0) partition (y), where x is the hard disk where XP is located, y is the partition where XP is located, and the latter is the hard disk that the program automatically scans and adds. In addition, Bootcfg/copy is used to back up the WindowsXP startup file Boot.ini, and Bootcfg/default is used to configure the default startup item.

Diskpart: Used to create and delete partitions on the hard disk. The syntax format is diskpart[/add/delete][ device name, drive name, partition name] [size]. Example: delete partition f-diskpart/delete f: create a 200MB partition-diskpart/adddeviceharddisk 0 200.

Fixboot: The system partition is wrong, and the situation that it can't be started can be recovered directly through it. The usage is as follows: fixboot[drive], where drive is the drive to which the boot sector will be written. For example, fixbootd: is the system partition that writes the new partition boot sector to drive d:. Note: If there are no parameters, the fixboot command will write a new boot sector to the system partition where the user logs in.

Disable/Enable: Some advanced features and services are unavailable in the console. At this time, it is necessary to set or cancel various services through these two commands. Disable Disables system services or device drivers. Enable is used to enable these services and drivers. Usage is as follows: disable/enable (servo _ name) (device _ driver _ name), servo _ name, the name of the system service to be disabled or enabled. The name of the device driver to disable or enable. Note: When using disable, the name of the last startup type will be displayed on the screen. Write down the name so that you can use the enable command to restore the startup type if necessary.

If you no longer need the Recovery Console, you can delete it manually.

1. Open My Computer, and double-click the drive where the Recovery Console is installed, assuming it is drive C.

2. Enter the root directory of drive C and delete the "Cmdcons" folder and Cmldr file.

3. Right-click the Boot.ini file, select "Properties", clear the "Read Only" check box in the open window, and then click "OK" to exit.

4. Open the Boot.ini file in Notepad, delete the entry of the recovery console, save the file and close it, and finally restore the read-only property of the Boot.ini file.