What is the difference between a Windows service and a Windows process?
Asked
Active
Viewed 5.9k times
52
-
2A service is always a process (or maybe even more than one process), but a process does not necessarily run as a service. – Nov 25 '13 at 12:03
-
1You can have a look at this [post](http://superuser.com/questions/209654/whats-the-difference-between-an-application-process-and-services). – Monika X Sep 15 '15 at 13:46
-
this sounds like more of a superuser question – John Smith Dec 22 '15 at 19:33
3 Answers
36
A service is a true-blooded Windows process, no difference there. The only thing that's special about a service is that it is started by the operating system and runs in a separate session. An isolated one that keeps it from interfering with the desktop session. Traditionally named a daemon.

Hans Passant
- 922,412
- 146
- 1,693
- 2,536
-
But isn't a process without UI considered a daemon too? Let's take Apache web server as an example, does running Apache as a windows service provide more "***running power***" than running Apache by calling `bin\httpd.exe` directly? – Pacerier Apr 15 '16 at 14:04
-
-
What about running it using `runas`, **vs** running it using windows service? Is there a difference in "running power", or are they actually different ways to do an **identical** thing? – Pacerier Apr 15 '16 at 14:10
-
That just changes the user account for the process, not the session that it runs in. Click the Ask Question button to ask questions please. – Hans Passant Apr 15 '16 at 14:37
1
A service is a process without user interface. You can call service as a subset of process.

Karthick S
- 311
- 5
- 13
0
Windows services are essentially long-running executable applications that run in their own windows sessions and do not possess any user interface. These can be automatically started when the computer boots up and can be paused and restarted.

Vishwanath Heddoori
- 83
- 11