Windows XP uses the console to solve computer problems.

  

In Windows 2000 or XP, if some system files unexpectedly fail, even the safe mode cannot enter. The problem arises that you need to reinstall the system, which is very troublesome. At this point, using the system console commands in Windows 2000 or XP may solve these problems. The Windows System Console is a very effective tool for diagnosing, testing, and restoring system functions. Its execution is in command line mode, so you must remember the command names and parameters for specific functions. Here we give an introduction to the most practical commands and usages, hoping to help you use the Windows console.

There are two ways to use the command recovery console. One is to use the Windows XP boot CD to boot, and then choose to use the command recovery console to repair when booting; the second is to install when XP is running. Specific method: first insert the Windows XP installation boot disk into the CD-ROM drive, select Run in the Start menu (or press "Win+R") to open the Run dialog box, enter the command X\\1386\\WINNT32.EXE /CMDCONS (where X is the load XP CD-ROM drive letter), when the system asks you whether to install the command recovery console, select Yes, the installation wizard appears, then choose to skip the network update, and other files are copied, the installation is successful. After rebooting, you can see the Microsoft Windows XP Recovery Console option in the startup list.

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 Windows 98+ Windows XP, after reinstalling Windows 98, found that Windows XP can not be started, use the first method mentioned above to start the Windows XP command recovery console, enter the Bootcfg /add or Bootcfg /scan command, the former is manually added by yourself Windows XP boot list, the format is: Multi (0) disk (x) rdisk (0) partition (y), where X is the hard disk where XP is located, Y is XP in the first few partitions, the latter is the program automatically scans the hard disk , added automatically. In addition, Bootcfg /copy is used to backup the Windows XP startup file Boot.ini, Bootcfg /default is used to configure the default startup items.

Diskpart: used to create and delete partitions on the hard drive. The syntax is: Diskpart[/add /delete] [device_name drive_name partition_name] [size] . Example: Delete F partition - diskpart /delete F: Create a 200MB partition - diskpart /add DeviceHardDisk0 200.

Fixboot: The system partition is wrong. If it cannot be started, it can be recovered directly. The usage is as follows: fixboot [drive], drive is the drive that will be written to the boot sector. For example, fixboot d: writes a new partition boot sector to the system partition of drive D:. Note: If you do not take any parameters, the fixboot command will write a new zone boot sector to the system partition where the user is logged in.

Disable/Enable: In the console, some advanced features and services are not available. In this case, you need 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 (service name) (device_driver_name), servce_name, the name of the system service to disable or enable. Device driver_name, the device driver name to disable or enable. Note: When using disable, the last startup type name will be displayed on the screen. Make a note of the name so that you can use the enable command to restore the startup type when needed.

If you don't need the Recovery Console, you can remove it manually. Open "My Computer" and double-click the drive where the Recovery Console is installed, assuming it is a C drive. Go to the root directory of the C drive and delete the "Cmdcons" folder and the 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 use the "Notepad" to open the Boot.ini file, delete the entry of the Recovery Console, close the file after saving, and finally restore the read-only attribute of the Boot.ini file.



Copyright © Windows knowledge All Rights Reserved