Windows API category
Service Control
The Service Control Manager is used by installers, updaters and administrators — and by malware for SYSTEM execution and persistence. Event 7045 plus service binary paths outside Program Files are key checks.
Creating, configuring, starting and stopping Windows services. This category contains 25 APIs.
Open Service Control in the interactive atlasService Control APIs
Last reviewed or generated: .
-
ChangeServiceConfig2W
Changes optional service configuration such as description or failure actions.
-
ChangeServiceConfigW
Changes a service binary path, start type or account.
-
ControlService
Sends a control code to a service, such as stop or pause.
-
ControlServiceExW
Sends a control code with extended parameters.
-
CreateServiceA
ANSI variant of CreateService.
-
CreateServiceW
Creates a service in the SCM database, specifying its binary path and start type.
-
DeleteService
Marks a service for deletion; the service record is removed when its last handle closes.
-
EnumDependentServicesW
Lists services that depend on a given service.
-
EnumServicesStatusExW
Lists services in the Service Control Manager database with state and configuration.
-
GetServiceDisplayNameW
Resolves a service key name to its display name.
-
GetServiceKeyNameW
Resolves a service display name to its key name.
-
OpenSCManagerA
ANSI variant of OpenSCManager.
-
OpenSCManagerW
Opens a handle to the Service Control Manager on a local or remote machine.
-
OpenServiceW
Opens an existing service with the requested access.
-
QueryServiceConfig2W
Reads optional service configuration.
-
QueryServiceConfigW
Reads a service configuration including its binary path.
-
QueryServiceObjectSecurity
Reads the security descriptor of a service.
-
QueryServiceStatus
Returns the current status of a service.
-
QueryServiceStatusEx
Returns extended service status including process ID.
-
RegisterServiceCtrlHandlerExW
Registers an extended service control handler with context.
-
RegisterServiceCtrlHandlerW
Registers a handler for service control requests.
-
SetServiceObjectSecurity
Changes the security descriptor of a service.
-
SetServiceStatus
Reports service status to the SCM.
-
StartServiceCtrlDispatcherW
Connects the main thread of a service process to the SCM.
-
StartServiceW
Starts a service, causing its binary to run.