ENABLE


Enables a service or device driver.

Use

Type “ENABLE” followed by the service name or device driver name and the startup type. The possible startup types are SERVICE_BOOT_START, SERVICE_SYSTEM START, SERVICE_AUTO_START, and SERVICE_DEMAND_START. For example, to enable the Messenger service to start automatically, type:

ENABLE Messenger SERVICE_AUTO_START

When the ENABLE is run with a device driver name or service name but no start type, the current start type is displayed. Write this down if you need to keep a record of it.

You can use the LISTSVC command for a list of services and drivers on the computer.

Parameter

Startup type: The possible startup types are defined in Table 13.2.

Table 13.2

Startup Type

Definition

Applies Primarily To

SERVICE_BOOT_START

Starts with Windows

Device drivers

SERVICE_SYSTEM_START

Starts with the computer

Device drivers

SERVICE_AUTO_START

Starts with Windows

Services

SERVICE_DEMAND_START

Starts manually by a program or user

Services




The A+ Certification & PC Repair Handbook
The A+ Certification & PC Repair Handbook (Charles River Media Networking/Security)
ISBN: 1584503726
EAN: 2147483647
Year: 2003
Pages: 390

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net