The Windows 2000 Recovery Console

The Recovery Console facility allows Windows 2000 to boot into a limited, console-based mode suitable for repairing damaged systems and configurations. It can be entered by booting from the Windows 2000 distribution CD, and it may be installed on the boot menu with the following command (where x : is the CD-ROM drive):

x :\I386\Winnt32.Exe /cmdcons

The Recovery Console supports the following standard Windows 2000 commands: attrib, batch, cd, chkdsk, cls, copy, delete, dir, expand, format, help, mkdir, rename, rmdir, and type. However, few or no options are supported for any of them, and their functioning has been simplified. For example, copy can only copy a single file. In addition, the following Recovery Console-specific commands are available:

enable service-or-driver[start-type]

Enable/start the specified service or device driver; start-type sets the startup attribute for the service/driver, either SERVICE_BOOT_START (start driver at system boot), SERVICE_SYSTEM_START (start driver during power-up boot), SERVICE_AUTO_START (start service at system boot), SERVICE_DEMAND_START (manual service startup), or SERVICE_DISABLED (service is disabled).

disable service-or-driver

Disable system service or device driver.

diskpart /delete | /add device

Manage hard drive partitions, where the options perform the associated action. The device may be specified as a drive letter or as a device name (see the map command output for the format).

exit

Terminate the Recovery ...

Get Windows 2000 Commands Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.