Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page




 

Microsoft DOS enable command

Quick links

About enable
Availability
Syntax
Examples

About enable

The enable command is a recovery console command to enable a disabled service or driver.

Availability

The enable command is a recovery console command that is available in the below Microsoft operating systems.

Windows 2000
Windows XP

Index

Category:
MS-DOS

Companies:
Microsoft

Related Pages:

Resolved

Were you able to locate the answer to your questions?

Syntax

Enables a Windows system service or driver.

enable servicename [start_type]

servicename Name of the service or driver to be enabled.

start_type How the service or driver is scheduled to be started. Valid start-type values are:

SERVICE_BOOT_START
SERVICE_SYSTEM_START
SERVICE_AUTO_START
SERVICE_DEMAND_START

Enable prints the old start_type of the service before resetting it to the new value. Note the old value, in case it is necessary to restore the start_type of the service. If you do not specify a new start_type, enable prints the old start_type. 

Examples

enable <servicename> SERVICE_SYSTEM_START

The above example would enable the auto start service. If you wish to later disable that service, you would want to use the disable command, using the old start_type.

To list the available services and drivers, run the listsvc command.

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope