Enable

Microsoft Windows XP, Microsoft Windows XP OEM Upgrade

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_nameThe name of the system service you want to enable.
device_driver_nameThe name of the device driver you want to enable.
startup_typeThe 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

Notes:

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.

Information in this document was provided by the manufacturer.