Service Control Manager

Service Control Manager

The Windows Service Control Manager (SCM) (SERVICES.EXE) is a remote procedure call (RPC) server that manages creating, deleting, starting and stopping of Windows services. It is started at system boot and is RPC based so that service configuration and service control programs can manipulate services on remote machines. [ [ Service Control Manager information on MSDN] ]

The service functions provide an interface for the following tasks performed by the SCM:

* Maintaining the database of installed services.
* Starting services and driver services either upon system startup or upon demand
* Enumerating installed services and driver services.
* Maintaining status information for running services and driver services.
* Transmitting control requests to running services.
* Locking and unlocking the service database.

The Service Control Manager maintains a database of installed services in the registry. The database is used by the SCM and programs that add, modify, or configure services. The "HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices" registry key is used for storing this database. An initial copy of the database is created when the system is installed. The database contains entries for the device drivers required during system boot. The database includes the service type, startup type, error control level, fully qualified path of the service executable, optional dependency information and optional account name and password about each installed service and driver service.

During system boot, the SCM starts all auto-start services and the services on which they depend. For example, if an auto-start service depends on a demand-start service, the demand-start service is also started automatically. The user can also manually start a service with the "Services" management console. The user can specify arguments for the service in the "Start" parameters field. A service control program can start a service and specify its arguments with the "StartService" function.

When a service is started, the SCM performs the following steps:
* Retrieve the account information stored in the database.
* Log on the service account.
* Load the user profile.
* Create the service in the suspended state.
* Assign the logon token to the process.
* Allow the process to execute.

ee also

* Windows service
* Operating system service management
* Unix daemon


Wikimedia Foundation. 2010.

Look at other dictionaries:

  • Service Control Manager — (SCM) (WindowsSystem32Services.exe)  в Microsoft Windows, сервер, реализующий технологию удалённого вызова процедур (remote procedure call  RPC). Обеспечивает создание, удаление, запуск и остановку сервисов ОС. Стартует при загрузке… …   Википедия

  • Service Control Manager — Ein Windows Systemdienst, kurz Dienst oder englisch Service, ist ein Programm, das unter Windows als Hintergrundprozess läuft. Im Konzept ist er dem Unix Daemon sehr ähnlich. Inhaltsverzeichnis 1 Funktionsweise 2 Anwendungen 3 Literatur 4 …   Deutsch Wikipedia

  • Service Control Manager — Le Service Control Manager (SCM) (services.exe) de Windows est un serveur Remote Procedure Call (RPC) qui gère non seulement le démarrage et l arrêt des services Windows, mais aussi la création et la suppression de ces services. Il est démarré au …   Wikipédia en Français

  • Service Capability Interaction Manager — A Service Capability Interaction Manager (or SCIM) orchestrates service delivery among application server platforms within the IP Multimedia Subsystem architecture.The Service Capability Interaction Manager (SCIM) was introduced in 3GPP TS 23.002 …   Wikipedia

  • Service-oriented architecture — (SOA) is a method for systems development and integration where functionality is grouped around business processes and packaged as interoperable services . SOA also describes IT infrastructure which allows different applications to exchange data… …   Wikipedia

  • Service Management Facility — (SMF) is a feature of the Solaris operating system that creates a supported, unified model for services and service management on each Solaris system and replaces init.d scripts. SMF introduces:* Dependency order . Services sometimes depend on… …   Wikipedia

  • Service animal — Service animals are animals that have been trained to perform tasks that assist people with disabilities. Service animals may also be referred to as assistance animals, assist animals, support animals, or helper animals depending on country.… …   Wikipedia

  • Service Request — Die IT Infrastructure Library (ITIL) ist eine Sammlung von Good Practices in einer Reihe von Publikationen, die eine mögliche Umsetzung eines IT Service Managements (ITSM) beschreiben und inzwischen international als De facto Standard hierfür… …   Deutsch Wikipedia

  • Control-Feedback-Abort Loop — Too often systems fail, sometimes leading to significant loss of life, fortunes and confidence in the provider of a product or service. It was determined that a simple and useful tool was needed to help in the analysis of interactions of groups… …   Wikipedia

  • Control Data Corporation — (CDC) was a supercomputer firm. For most of the 1960s, it built the fastest computers in the world by far, only losing that crown in the 1970s after Seymour Cray left the company to found Cray Research, Inc. (CRI). CDC was one of the nine major… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”

We are using cookies for the best presentation of our site. Continuing to use this site, you agree with this.