Using the console in Windows XP to troubleshoot a computer

Source: Internet
Author: User
Tags file copy ini safe mode

In Windows 2000 or XP, if some system files fail unexpectedly, even safe mode is inaccessible. This problem requires reinstalling the system, which is very cumbersome. 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 functionality, and its execution is command-line mode, so you must remember the command name and parameters for a particular feature. Here we give you an introduction to the most practical commands and usages that you can use to help you with the Windows console.

There are two ways to use the command Recovery Console, which is booting with the Windows XP boot CD, and then choosing to use the command to restore console repair when it starts, and the second is to install it while XP is running. How to: First insert the Windows XP installation boot disk into the CD drive, select Run in the Start menu (or press "Win key +r") to open the Run dialog box, enter the command x\1386\winnt32. Exe/cmdcons (where x is the drive letter to load XP), when the system asks you whether to install the command to restore the console, select Yes, the Installation Wizard appears, and then choose to skip network updates, such as file copy completed, installation success. After restarting, 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 of its parameters, yes, it is used to configure startup information, if your original system is Windows 98+windows XP, after reloading Windows 98, Discover Windows XP does not start, start the Windows XP command Recovery Console using the first method described above, and enter the Bootcfg/add or Bootcfg/scan command, which is the startup list of Windows XP that you manually added, in the form of: Multi (0) disk (x) rdisk (0) partition (y), where x is the hard drive where XP resides, and Y is XP in the first few areas, which automatically scans the hard disk for the program and is added automatically. In addition, Bootcfg/copy is used to back up the Windows XP startup file Boot.ini, Bootcfg/default is used to configure the default startup entry.

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

Fixboot: System partition error, unable to start the situation can be directly recovered through it. The usage is as follows: Fixboot [drive],drive is the drive that will be written to the boot sector. For example, Fixboot D: is to write a new partition boot sector to the system partition of drive D:. Note: If you do not take any arguments, the fixboot command writes a new zone boot sector to the system partition that the user logs on to.

Disable/enable: In the console, some of the advanced features and services are unavailable, and these two commands are used to set up or cancel a variety of services. Disable disables system services or device drivers. Enable enables these services and drivers. The 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 name of the device driver to disable or enable. Note: When using disable, the last startup type name will appear on the screen. Write down the name so that you can use the Enable command to restore the startup type when needed.

If you do not need a recovery Console, you can delete it manually. Open My Computer and double-click the drive that has the Recovery Console installed, assuming C disk. into 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, delete the entry for the Recovery Console, close the file after saving 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.