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. [ [http://msdn2.microsoft.com/en-us/library/ms685150.aspx 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

References


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

  • Windows service — On Microsoft Windows operating systems, a Windows service is a long running executable that performs specific functions and which is designed not to require user intervention. Windows services can be configured to start when the operating system… …   Wikipedia

  • User Account Control — UAC (User Account Control)  компонент Microsoft Windows, впервые появившийся в Windows Vista. Этот компонент запрашивает подтверждение действий, требующих прав администратора, в целях защиты от несанкционированного использования компьютера.… …   Википедия

  • 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

  • Local Security Authority Subsystem Service — Диалог «Завершение работы» Windows XP, появляющийся при завершении процесса LSASS LSASS  часть операционной системы, отвечающей за авторизацию локальных пользователей отдельного компьютера (сокр. от Local Security Authority Subsystem… …   Википедия

  • Session Manager Subsystem — SMSS (аббр. от англ. Session Manager Subsystem Service)  подсистема управления сессиями в Windows NT. Этот компонент не входит в ядро Windows NT, но его работа критически важна для системы. SMSS для своей работы использует NativeAPI.… …   Википедия

  • Windows Service — Службы Windows (англ. Windows Service, сервисы)  приложения, автоматически запускаемые системой при запуске Windows и выполняющиеся вне зависимости от статуса пользователя. Имеет общие черты с концепцией демонов в Unix. Содержание 1 Режимы работы …   Википедия

Share the article and excerpts

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