Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ServiceStartMode Enumeration

Indicates the start mode of the service.

[Visual Basic]
Public Enum ServiceStartMode
public enum ServiceStartMode
__value public enum ServiceStartMode
enum ServiceStartMode


The ServiceStartMode is used by the service installer to indicate whether the new service should be disabled at system startup, whether the system should start the service automatically at system startup, or whether the service should be started manually by a user or application.


Member name Description
Automatic Indicates that the service is to be started (or was started) by the operating system, at system start-up. If an automatically started service depends on a manually started service, the manually started service is also started automatically at system startup.
Disabled Indicates that the service is disabled, so that it cannot be started by a user or application.
Manual Indicates that the service is started only manually, by a user (using the Service Control Manager) or by an application.


Namespace: System.ServiceProcess

Platforms: Windows NT Server 4.0, Windows NT Workstation 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Serviceprocess (in System.Serviceprocess.dll)

See Also

System.ServiceProcess Namespace | ServiceInstaller.StartType | ServiceInstaller

© 2015 Microsoft