If changes to the system have resulted in the system not operating properly, and you have tried the Last Known Good configuration but still have problems, you may still be able to solve the problem by using the Windows 2000 Recovery Console. The Windows 2000 Recovery Console is a command-line interface you can use to perform a variety of troubleshooting and recovery tasks, including:
After this lesson, you will be able to
Estimated lesson time: 20 minutes
To install the Recovery Console, insert the Microsoft Windows 2000 Professional CD-ROM into your CD-ROM drive, and close the Microsoft Windows 2000 CD dialog box, if it opens. Open the Run dialog box or a Command Prompt window in Windows 2000, change to the i386 folder on the Windows 2000 CD-ROM, and then run the winnt32 command with the /cmdcons switch. After you install the Recovery Console, you can access it from the Please Select Operating System To Start menu. You can also use the Windows 2000 Setup disks or the Windows 2000 Professional CD-ROM to start your computer and then select the Recovery Console option, when you are prompted to choose repair options, to access the Recovery Console.
After you start the Recovery Console, you must specify which installation of Windows 2000 you want to log on to (if you have a dual boot or multiple boot configuration), and then you must log on as Administrator.
You can also run the Recovery Console from the Windows 2000 installation CD-ROM. The Recovery Console provides you with a limited set of administrative commands that you can use to repair your Windows 2000 installation.
Follow these steps to start the Recovery Console from a Windows 2000 Professional CD-ROM:
Setup displays the Welcome To Setup screen. Notice that, in addition to the initial installation of Windows 2000, you can use Windows 2000 Setup to repair or recover a damaged Windows 2000 installation.
The Windows 2000 Repair Options screen appears. Notice that you can repair a Windows 2000 installation using the Recovery Console or the Emergency Repair Process.
If you have more than one installation of Windows 2000 on the computer, you will be prompted to select which installation you want to repair.
You are prompted to enter the Administrator's password.
A command prompt appears.
The computer will restart.
There are a number of commands available in the Recovery Console. Table 6.9 describes some of these commands.
Table 6.9 Recovery Console Commands
Command | Description |
---|---|
Chdir (cd) | Displays the name of the current folder or changes the current folder |
Chkdsk | Checks a disk and displays a status report |
Cls | Clears the screen |
Copy | Copies a single file to another location |
Delete (del) | Deletes one or more files |
Dir | Displays a list of files and subfolders in a folder |
Disable | Disables a system service or a device driver |
Enable | Starts or enables a system service or a device driver |
Exit | Exits the Recovery Console and restarts your computer |
Fdisk | Manages partitions on your hard disks |
Fixboot | Writes a new partition boot sector onto the system partition |
Fixmbr | Repairs the master boot record of the partition boot sector |
Format | Formats a disk |
Help | Lists the commands that you can use in the Recovery Console |
Logon | Logs on to a Windows 2000 installation |
Map | Displays the drive letter mappings |
Mkdir (md) | Creates a folder |
More | Displays a text file |
Rmdir (rd) | Deletes a folder |
Rename (ren) | Renames a single file |
Systemroot | Sets the current folder to the systemroot folder of the system that you are currently logged on to |
Type | Displays a text file |
In this practice you use the Windows 2000 Recovery Console to troubleshoot a Windows 2000 installation that will not boot. You also install and start the Recovery Console, and you will look at Help to determine the commands available in the Recovery Console. You also use the Listsvc command to view the services and then use the Disable command to disable the Alerter service.
In this exercise you troubleshoot a Windows 2000 installation and repair it by using the Recovery Console.
To create a system boot failure
What error do you receive when attempting to restart the computer?
Answer
To use the Recovery Console to repair the installation
NOTE
If your computer is not equipped with a CD-ROM drive that is capable of booting from a CD-ROM, you can insert your Windows 2000 Setup Boot disk into your floppy disk drive for step 3. Insert the other three Windows 2000 Setup disks when you are prompted to do so.
Setup displays the Welcome To Setup screen.
The Windows 2000 Repair Options screen appears.
You are prompted to enter the Administrator's password.
A C:\Winnt command prompt appears.
The computer reboots and should start normally.
In this exercise, you install the Recovery Console.
The Windows 2000 Setup message box appears.
Windows 2000 Setup installs the Windows 2000 Recovery Console to your hard disk.
In this exercise you use the Help command to view the available commands. You then use the available Listsvc and Disable commands.
The Windows 2000 Recovery Console starts up and prompts you to select which Windows 2000 installation you would like to log on to. If you had more than one Windows 2000 installation on this computer, they would be listed here.
Notice the Listsvc command. You can use this command to view all available services.
The Disable command allows you to disable a Windows system service or driver.
Recovery Console displays several lines of text describing how the registry entry for the Alerter service has been modified. The Alerter service is now disabled.
In this exercise you confirm that the Alerter service is disabled and then restart it.
Notice that the Startup Type value for the Alerter service is Disabled.
The Windows 2000 Recovery Console is a command-line interface that you can use to perform a variety of troubleshooting and recovery tasks, including starting and stopping services, reading and writing data on a local drive, and formatting hard disks.
You install the Recovery Console by starting a command prompt, changing to the i386 folder on the Windows 2000 CD-ROM, and running the winnt32 command with the /cmdcons switch. After you install the Recovery Console, you can access it from the Startup menu or by using the Windows 2000 Setup disks or the Windows 2000 CD to start your computer, and then selecting the Recovery Console option when you are prompted to choose repair options.