Enable

Enables a Windows XP, Windows 2000 or Windows NT 4.0 system service or a device driver The enable command is only available when you are using the Recovery Console

enable {service_name | device_driver_name} [startup_type]

Parameters

service_name

The name of the system service you want to enable.

device_driver_name

The name of the device driver you want to enable.

startup_type

The startup type that you want to designate for the service or device driver. Valid startup types are:

SERVICE_BOOT_START

SERVICE_SYSTEM_START

SERVICE_AUTO_START

SERVICE_DEMAND_START

Example

The following example sets the startup type for the Eventlog service to Automatic or SERVICE_AUTO_START:

enable eventlog service_auto_start

Note

If you do not designate a startup type, the enable command lists the current startup type for the service or device driver you specified in service_name.

When you use the enable command to change a startup type, the previous startup type's name will display on the screen. You should write this name down in case you need to restore the startup type to the previous setting.

Top of pageTop of page

Related Topics

Command-line reference A-Z

Delete the Recovery Console

Install the Recovery Console as a startup option

Start the computer and use the Recovery Console

Recovery Console overview


Top of pageTop of page