Detailed Win xp Repair Console Commands and Usage

  
Put the disc in xp (2000), install the candidate R, fix it!
Windows XP (including Windows 2000) console commands are a very effective tool for diagnosing and testing and restoring system functionality in the event of some unexpected situation. Xiao Bian has always wanted to sum up the commands in this regard. This hard old fan has compiled the practical secrets for us.
The Bootcfg bootcfg command initiates configuration and failback (for most computers, the boot.ini file). The bootcfg command with the following parameters is only available when using the Recovery Console. A bootcfg command with different parameters can be used at the command prompt. Usage:
bootcfg /default sets the default boot entry.
bootcfg /add Adding Windows to the Boot List Installing bootcfg /rebuild Repeats the entire Windows installation process and allows the user to select what to add. Note: Before using bootcfg /rebuild, back up the boot.ini file with the bootcfg /copy command.
bootcfg /scan Scans all disks used for Windows installation and displays the results. Note: These results are stored statically and used for this session. If the disk configuration changes during this session, to get an updated scan, you must first restart your computer and then scan the disk again.
bootcfg /list Lists the entries already in the boot list.
bootcfg /disableredirect Disable redirection in the boot loader.
bootcfg /redirect [ PortBaudRrate] [ useBiosSettings] Enables redirection by specifying the configuration in the boot loader. Example: bootcfg /redirect com1 115200 bootcfg /redirect useBiosSettings hkdsk Creates and displays a status report for the disk. The Chkdsk command also lists and corrects errors on the disk. The chkdsk command with the following parameters is only available when using the Recovery Console. The chkdsk command with different parameters can be used at the command prompt.
vol [drive:] [ chkdsk [drive:] [/r] Parameters None If you do not take any parameters, chkdsk will display the status of the disk in the current drive. Drive: Specifies the drive to be checked by chkdsk. /p Performs a thorough check even if the drive is not within the check range of chkdsk. This parameter does not make any changes to the drive. /r finds bad sectors and restores readable information. Implicit the /p parameter. Note The Chkdsk command requires the Autochk.exe file. If the file cannot be found in the boot directory (default is \\%systemroot%\\System32), try to find it on the Windows installation CD. If you have multiple machines that boot your system, you must ensure that you use this command on a drive that contains Windows. Diskpart creates and deletes partitions on the hard drive. The diskpart command is only available when using the Recovery Console. Diskpart [ /add /delete] [device_name drive_name partition_name] [size] Parameters None Without any arguments, the diskpart command starts the Windows character mode version of diskpart. /add creates a new partition. /delete Deletes an existing partition. Device_name The device on which the partition is to be created or deleted. The device name is available from the output of the map command. For example, the device name: \\Device\\HardDisk0

Copyright © Windows knowledge All Rights Reserved