Saturday, December 18, 2010

【 Weak current College 】 installation and use of XP Recovery Console


The Windows Recovery Console function is to help Windows-based computer is not starting correctly or does not start when the restore operation. In safe mode and other startup method are invalid, you might consider using the recovery console. Recommended only for advanced users (can use basic commands to identify and locate problem drivers and files) before using this method. In addition, it requires you to be a local administrator.

Install the recovery console

You can install on your computer to recovery console so that you are unable to restart Windows. Start from an existing operating system list, select the Recovery Console option. For important server and it staff workstations, it is best to install the recovery console. This article describes how to provide your WindowsXP install Recovery Console on your computer. You must have administrative rights on the computer, you can install the recovery console.

Although you can directly start from WindowsXP CD to run the recovery console, but a more convenient way is to set it to start menu startup options. To run directly from CD, see the "using the Recovery Console" section.

To install the recovery console, perform the following steps:

The WindowsXP CD into the CD-ROM drive.

Click Start, and then click Run.

In the Open box, type d: i386winnt32.exe/cmdcons, where d is the drive letter of your CD-ROM drive.

At this point the "Windows Installer" dialog box, which displays the Recovery Console option. The system prompts you to confirm the installation. Click Yes to begin the installation process.

Restart the computer. The next time you start your computer, you will see on the start menu "MicrosoftWindows recovery console".

Note: you can also use a network share using a UNC install the recovery console.

Use the recovery console

You can enable and disable services, format drives, read and write to a local drive (including is formatted to use the NT file system (NTFS) drive) on the data, you can also perform many other administrative tasks. If you need to move files from disk or CD is copied to your hard disk to repair your computer, or you need to reconfigure your computer fails to start the service, the recovery console is particularly useful.

If you cannot start your computer, you can boot from MicrosoftWindowsXP or from WindowsXP CD run the recovery console. This article describes how to perform this task.

On your computer after you install WindowsXP, you need to use WindowsXP boot disk or WindowsXP CD to start the computer and use the recovery console.

For more information about how to create a WindowsXP startup disk (WindowsXP did not ship with a startup disk) for additional information, click the following article number to view the article in the Microsoft Knowledge Base:

The Setup boot disks for WindowsXP

Note: to start the computer from WindowsXP CD, you need to configure your computer's basic input/output system (BIOS) to start from the CD-ROM drive.

From WindowsXP boot disk or WindowsXP CD run the recovery console, follow these steps:

Insert the boot disk into the floppy disk drive WindowsXP or WindowsXP CD into the CD-ROM drive, and then restart the computer.

When prompted, click to select the start the computer from the CD-ROM drive of all the options you want.

The "Welcome to Setup" screen, press r to start the recovery console.

If you have a dual-boot or multiple-boot computer, select the require access from the recovery console.

When prompted, type the administrator password. If the administrator password is blank, simply press the Enter key.

At the command prompt, type the appropriate command to diagnose and fix WindowsXP installation.

To view the recovery console provides a list of commands, at a command prompt, type the Recovery Console command or help, and then press ENTER.

To view information about a specific command, at a command prompt, type help command name, and then press ENTER.

To exit the recovery console and restart the computer, at the command prompt, type exit, and then press ENTER.

Use the Recovery Console command prompt

The Recovery Console command prompt to provide special, they are different from ordinary Windows command prompt. Recovery Console has its own command interpreter. According to the recovery console prompt, type Administrator (the local administrator, not a domain administrator) password to access the command interpreter.

Start the recovery console, you can press F6 to install Access SCSI or RAID hard drive required third-party SCSI or RAID driver. This prompt action and in the process of installing the operating system.

The recovery console requires several seconds to start. Failure recovery console menu, a beltNumber of lists, lists all installed on your computer Windows (usually the only a-c:Windows-exists). Even in only one item, you must type a number and then press ENTER. If you press the Enter key before you did not select the number that the computer will reboot and repeat the process.

When you see the% SystemRoot% prompt (usually C:Windows), you can begin to use the recovery console provides command.

Command operations

The following list describes the recovery console provides command:

Attrib to change a file or subdirectory.

Batch execution you in a text file, the command specified in the Inputfile, Outputfile storage command output. If you ignore the Outputfile parameter, the output is displayed on the screen.

Bootcfg to Boot.ini file (setting the startup configuration and recovery).

CD (Chdir) operation is limited to the current Windows system directory, removable media, the root of all hard disk partitions, or the local installation source.

Chkdsk even if the drive is not marked as being updated, the/p switch
Will also run Chkdsk. The/r switch find bad sectors and recovers readable information, this function contains the/p switch. Chkdsk requested Autochk. Chkdsk at startup folder automatically find Autochk.exe file. If Chkdsk at startup folder do not find this file, you will find Windows2000 installation CD. If Chkdsk does not find CD, will prompt the user for the location of the Autochk.exe file.

Cls is used to clear the screen.

Copy to copy the files to the target location. By default, the destination cannot be removable media, and you cannot use wildcard characters. Copy the installation CD from Windows2000 compressed files will automatically be decompressed.

Del (Delete) the file. Action scoped to the current Windows system directory, removable media, the root of all hard disk partitions, or the local installation source. By default you cannot use wildcard characters.

Dir display a list of all files, including hidden and system files.

Disable to disable a Windows system service or driver. Variable service _ or _ driver that you want to disable a service or driver name. You use this command to disable a service, change the type to SERVICE_DISABLED before the computer will display the service startup type of the original. Please note the original startup type, so that you can use the enable command to restart the service.

Diskpart manage partitions on a hard disk volume. /Add option to create a new partition,/delete options to delete existing partitions. Variable device is the device name for the new partition (e.g. deviceharddisk0). Variable drive that you want to delete the partition of the drive letter (for example, D)

Partition is the partition you want to delete the specific name (for example: deviceharddisk0partition1) and can be used to replace the drive variable. Variable size is the new partition's size (in megabytes). Teddy bear online www.beareyes.com.cn

Enable to enable a Windows system service or driver. Variable service_or_driver is you want to enable for the service or driver name that is enabling services start_type startup type. Startup type using one of the following formats:

SERVICE_BOOT_START
SERVICE_SYSTEM_START
SERVICE_AUTO_START
SERVICE_DEMAND_START

Exit to exit Recovery Console, and then restart the computer.

Expand expand a compressed file. Variable source is a file that you want to expand; by default, you cannot use wildcard characters. Variable destination is a directory of the new file; by default, the destination cannot be removable media, or is read-only; you can use the attrib command to remove the read-only attribute of the target directory. When the source file contains multiple files that require the use of option/f: filespec; this option allows the use of wildcard characters. /Y switch disables the overwrite confirmation prompt. The/d switch specifies that the file should not be expanded and displays the file directory in a source file.

Fixboot on the system partition on the write a new boot sector.

Fixmbr repair boot partition master boot code. Variable name of the device is an optional, specifies the device needs a new MBR; if the target is a boot device can ignore this variable.

Format to format the disk. /Q switch to perform a quick format;/fs switch specifies the file system.

Help if you are not using the command variable specifies the command to list the recovery console to help support all of the commands.

Listsvc displays all available services on your computer and the driver.

Logon displays detected Windows installation and request for such anThe local administrator password. Use this command to go to another installation or subdirectories.

Map shows the devices currently in use. Contains arc options, specify the Advanced RISC Computing (ARC) path (Boot.ini), instead of Windows device paths.

MD (Mkdir) operating range is limited to the current Windows system directory, removable media, the root of all hard disk partitions, or the local installation source.

More/Type on screen displays the specified text file (such as the file name).

NetUse connected to WindowsXP recovery console on a remote share. The following text describes the syntax of this command:

NETUSE [DeviceName | *] [\ computer name share name [volume] [password | *]]
[/USER: [domain] username]
[/USER: [dotted domain] username]
[/USER: [username @ dotted name]
[/SMARTCARD]
[/SAVECRED]
[[/DELETE]| [/PERSISTENT:{YES|NO}]]

NETUSE {DeviceName | *} [password | *]/HOME

NETUSE[/PERSISTENT:{YES|NO}]

Rd (Rmdir) operating range is limited to the current Windows system directory, removable media, the root of all hard disk partitions, or the local installation source.

Ren (Rename) the scope of action is limited to the current Windows system directory, removable media, the root of all hard disk partitions, or the local installation source. You cannot add a new drive or path is specified as the target.

Set display and set the recovery console environment variables.

Systemroot sets the current directory to the% SystemRoot%.

Recovery Console rules

Use the recovery console, there will be a certain environmental rules in force. Type set to see the current environment. Default rules are as follows:

AllowAllPaths = FALSE, prohibit access to subject you to enter the recovery console when the system is installed outside the directory and subdirectories.

AllowRemovableMedia = FALSE, prohibit the use of removable media as copy files.

AllowWildCards = FALSE to ban commands such as copy and del use wildcard support.

NoCopyPrompt = FALSE, which means that when you overwrite an existing file, the recovery console will prompt you to confirm.

Delete the recovery console
To delete the recovery console, follow these steps:

Restart the computer, click Start, click my computer, and then double-click installed the recovery console's hard drive.

On the Tools menu, click folder options, and then click the view tab.

Click the "Show hidden files and folders" and click to clear the "Hide protected operating system files" check box, and then click OK.

In the root folder, delete the Cmdcons folder and file Cmldr.

In the root folder, right-click the boot.ini file, and then click Properties.

Click to clear the read only check box, and then click OK.

Warning: error, modify the Boot.ini file may cause your computer to restart. Make sure you only delete the recovery console. In addition, after you complete this step, we recommend that you set the Boot.ini file attributes back to read-only State. On MicrosoftWindows Notepad to open the boot.ini file, remove for the recovery console. This file is similar to the following:

C:cmdcons ootsect.dat=MicrosoftWindowsRecoveryConsole/cmdcons

Save and close the file.

In the unattended Setup process to install the recovery console

As in the Windows unattended Setup to install the recovery console, you must use the unattend.txt file in the [GuiRunOnce] section.

No comments:

Post a Comment