O'Reilly logo

Windows 2000 Commands Pocket Reference by Æleen Frisch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required