encyclopegia.org

Windows service

In Windows NT operating systems, a Windows service is a computer program that operates in the background.[src] It is similar in concept to a Unix daemon.[src] A Windows service must conform to the interface rules and protocols of the Service Control Manager, the component responsible for managing Windows services.[src] It is the Services and Controller app, services.exe, that launches all the services and manages their actions, such as start, end, etc.[src] Windows services can be configured to start when the operating system is started and run in the background as long as Windows is running.[src] Alternatively, they can be started manually or by an event.[src] Windows NT operating systems include numerous services which run in context of three user accounts: System, Network Service and Local Service.[src] These Windows components are often associated with Host Process for Windows Services.[src] Because Windows services operate in the context of their own dedicated user accounts, they can operate when a user is not logged on.[src] Prior to Windows Vista, services installed as an "interactive service" could interact with Windows desktop and show a graphical user interface.[src] In Windows Vista, however, interactive services are deprecated and may not operate properly, as a result of Windows Service hardening.[src]

In Windows NT operating systems, a Windows service is a computer program that operates in the background.[src] It is similar in concept to a Unix daemon.[src] A Windows service must conform to the interface rules and protocols of the Service Control Manager, the component responsible for managing Windows services.[src] It is the Services and Controller app, services.exe, that launches all the services and manages their actions, such as start, end, etc.[src] Windows services can be configured to start when the operating system is started and run in the background as long as Windows is running.[src] Alternatively, they can be started manually or by an event.[src] Windows NT operating systems include numerous services which run in context of three user accounts: System, Network Service and Local Service.[src] These Windows components are often associated with Host Process for Windows Services.[src] Because Windows services operate in the context of their own dedicated user accounts, they can operate when a user is not logged on.[src] Prior to Windows Vista, services installed as an "interactive service" could interact with Windows desktop and show a graphical user interface.[src] In Windows Vista, however, interactive services are deprecated and may not operate properly, as a result of Windows Service hardening.[src] ==Administration== Windows administrators can manage services via: The Services snap-in (found under Administrative Tools in Windows Control Panel) Sc.exe Windows PowerShell ===Services snap-in=== The Services snap-in, built upon Microsoft Management Console, can connect to the local computer or a remote computer on the network, enabling users to: view a list of installed services along with service name, descriptions and configuration start, stop, pause or restart services specify service parameters when applicable change the startup type.[src] Acceptable startup types include: Automatic: The service starts at system startup.[src] Automatic (Delayed): The service starts a short while after the system has finished starting up.[src] This option was introduced in Windows Vista in an attempt to reduce the boot-to-desktop time.[src] However, not all services support delayed start.[src] Manual: The service starts only when explicitly summoned.[src] Disabled: The service is disabled.[src] It will not run.[src] change the user account context in which the service operates configure recovery actions that should be taken if a service fails inspect service dependencies, discovering which services or device drivers depend on a given service or upon which services or device drivers a given service depends export the list of services as a text file or as a CSV file ===Command line=== The command-line tool to manage Windows services is sc.exe.[src] It is available for all versions of Windows NT.[src] This utility is included with Windows XP and later and also in ReactOS.[src] The sc command's scope of management is restricted to the local computer.[src] However, starting with Windows Server 2003, not only can sc do all that the Services snap-in does, but it can also install and uninstall services.[src] The sc command duplicates some features of the net command.[src] The ReactOS version was developed by Ged Murphy and is licensed under the GPL.[src] ====Examples==== The following example enumerates the status for active services & drivers.[src] C:\>sc query The following example displays the status for the Windows Event log service.[src] C:\>sc query eventlog ===PowerShell=== The Microsoft.PowerShell.Management PowerShell module (included with Windows) has several cmdlets which can be used to manage Windows services: Get-Service New-Service Restart-Service Resume-Service Set-Service Start-Service Stop-Service Suspend-Service ===Other management tools=== Windows also includes components that can do a subset of what the snap-in, Sc.exe and PowerShell do.[src] The net command can start, stop, pause or resume a Windows service.[src] In Windows Vista and later, Windows Task Manager can show a list of installed services and start or stop them.[src] MSConfig can enable or disable (see startup type description above) Windows services.[src] ==Installation== Windows services are installed and removed via *.INF setup scripts by SetupAPI; an installed service can be started immediately following its installation, and a running service can be stopped before its deinstallation.[src] ==Development== ==See also== Windows services Windows Service Hardening svchost.exe Concept Background process Daemon (computing) DOS Protected Mode Services Terminate-and-stay-resident program Device driver Operating system service management Service Control Manager Service Management Facility Service wrapper ==References== ==Further reading== David B.[src] Probert, Windows Service Processes ==External links== Windows Sysinternals: Autoruns for Windows v13.4 – An extremely detailed query of services Service Management With Windows Sc From Command Line – Windows Service Management Tutorial Windows Service Manager Tray[src]

46 sentences · 46 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Windows service." encyclopegia.org, 2024, https://encyclopegia.org/wiki/windows-service. Accessed 28 November 2026.

Chicago

"Windows service." encyclopegia.org. Accessed November 28, 2026. https://encyclopegia.org/wiki/windows-service.

APA

encyclopegia.org. (2024). Windows service. Retrieved November 28, 2026, from https://encyclopegia.org/wiki/windows-service

Accessed November 28, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Joint Support and Enabling Service

stub · references available

General Packet Radio Service

stub · references available

Windows Messenger service

stub · references available

Foreign Intelligence Service

stub · references available

Federal Public Service Foreign Affairs

stub · references available

Windows Communication Foundation

stub · references available

features new to Windows Vista

stub · references available

National Intelligence Service

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1237793043 · 0.5 · snapshot enwiki-001237793043

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.