Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How are these fundamentally different "things" on Windows?

Aren't all running things Processes?

It seems that every Application has an associated process that shuts it down if it is shut down. One process can manage more than one application instance, it looks like. And Services, I'm not even sure what they are, exactly.

Are they not processes themselves?

share|improve this question

3 Answers 3

up vote 26 down vote accepted

Both applications and services have processes associated with them.

An application is a program which you interact with on the desktop. This is what you spend almost all of your time using on the computer. Internet explorer, microsoft word, iTunes, skype - they are all applications.

A process is an instance of a particular executable (.exe program file) running. A given application may have several processes running simultaneously. For example, some modern browsers such as google chrome run several processes at once, with each tab actually being a separate instance/process of the same executable. In some cases, complicated applications may have multiple processes; for example, Visual Studio runs a separate process when it compiles code from when it displays the IDE. However, most often, a given application is running from a single process; for example, no matter how many microsoft word windows you have open, only a single instance of winword.exe is running.

A service is a process which runs in the background and does not interact with the desktop. In Windows, services almost always run as an instance of the svchost.exe process, the windows service host process; however there are sometimes exceptions to this.

Sometimes, processes may run in the background without interacting with the desktop, but without being installed as a service. Many device drivers with enhanced features do this. For example, a touchpad driver will usually have a process which runs when a user logs in and handles the special features of the touchpad, but isn't a service and doesn't show any windows to the user.

Sometimes an application may depend on a certain service. Printing from any program requires that the print spooler service be active. Installation packages (.msi installers) require that the windows installer service be running. Antivirus programs usually employ a service so they can continue running even when the user is not logged in.

Processes usually exit when an application is closed, however this is not always the case. Some programs, particularly download and backup programs, may continue to run in the background without displaying any windows. Antivirus is also an example of this - in addition to using a service, many antivirus applications run a process silently in the background which only displays an application to the user when action is required.

share|improve this answer
    
Then whats the difference between a silent process and windows service? Sorry I'm new! –  Subin Jacob Aug 14 '13 at 7:16

Both applications and services are processes. Applications are meant to interact with a single user, whereas services work across the system, but don't interact with users directly.

share|improve this answer
    
Most Windows services run as svchost.exe, but I've not seen too many non-Windows services that do. It should be noted that Sysinternal's Process Explorer can be used to determine what services in the Services MMC console are hosted by a specific svchost.exe. –  ultrasawblade Mar 14 '11 at 12:18

A service is usually a background application that runs when windows starts up. usually it performs some task that installed applications or windows itself uses.

A stand alone application is just a normal program (a .exe). Stand alone usually refers to a single executable that can be run by itself.

Larger programs like Word, require many different files to run.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.