Re: Windows Service

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"Raj" <Raj@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D71E4F08-6619-4EB2-9D38-9711C461E162@xxxxxxxxxxxxxxxx
> Sounds like something similar is done with a "Windows service". I want to
> know what is advantage of making this process as windows service ? What
> is
> advantage of not making a Windows service.

Services provide useful functions to client applications. Those services run
in the background, whether and user is logged in or not, and on a desktop
which is typically invisible. Services must be installed by users with
administrative rights. They can be made to "impersonate" their clients -
that is they can run in their own security context or assume the context of
their callers as required and when necessary.

> Please refer a good book that will help me understand windows services,
> processes, threads etc. I have Jeffrey Richter book, great to understand
> some
> of these concepts, but it does not talk about windows services.

Richter is the man. His MSPRESS book "Programming Server Side Applications
for MS Windows 2000" (0-7356-0753-2) has an entire chapter in services and
another on service control programs.

Regards,
Will


.



Relevant Pages

  • Windows Utility to Monitor Starting of Services?
    ... I am looking for a Windows service that would act as a monitor for ... user name or security context of the user making the change ... Does any monitor service like what I am describing exist? ...
    (comp.security.misc)
  • Re: msi in a Windows Service
    ... different security context. ... small windows service, it does NOTHING!!! ... Dim psi As New ProcessStartInfo ...
    (microsoft.public.dotnet.general)
  • Re: Make a Windows Service start a windows program.
    ... | Is there any way for a windows service to start a windows program? ... service does not run in the security context of a logon user, ... variables or profile setting are needed. ...
    (microsoft.public.dotnet.languages.csharp)