Start as service vs ordinary start

  • Thread starter Thread starter Christian Borchgrevink-Lund
  • Start date Start date
C

Christian Borchgrevink-Lund

Is there any advantage in starting a prg as a windows service?

Christian
 
Christian said:
Is there any advantage in starting a prg as a windows service?

Christian

Christian

Yes, if a program starts as a service and is set to automatic, it will start
before any user is logged onto the system. This is handy for programs like
firewalls or remote connection programs.

The disadvantage is that the program will always be loaded and using
resources after it is started.

Not just any application can be configured as a service. It has to be
explicitly programmed to be stable.

See here for information.

HOWTO: Create a User-Defined Service: (W2K)
http://support.microsoft.com/?kbid=137890

Start, stop, pause, resume, or restart a service:
http://www.microsoft.com/WINDOWSXP/home/using/productdoc/en/sys_srv_start_service.asp?frame=true

Microsoft Windows XP Professional Resource Kit Documentation:
http://www.microsoft.com/technet/prodtechnol/winxppro/reskit/prork_overview.asp?frame=true

Windows XP Technical Overview:
http://www.microsoft.com/technet/prodtechnol/winxppro/evaluate/xptechov.asp?frame=true


--
Ronnie Vernon
Microsoft MVP
Windows Shell/User

Please reply to the newsgroup so all may benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top