Click to See Complete Forum and Search --> : Process that continues after you logoff


andypandy2
May 14th, 2009, 02:58 AM
Hi !

I'm desperately seeking, not Susan, but a way to spawn a process on my computer which will not be killed when I logoff. Some sort of a background process ...

Any ideas out there will be highly appreciated.

Thanks.

_Superman_
May 14th, 2009, 03:14 AM
You need an auto-start windows service.

andypandy2
May 14th, 2009, 03:34 AM
Thank you.

How exactly could this work ? My customer is using our software and has the ability to launch a very long process (to compute something). I would like to give him the possibility of logging out for the week-end.

Can standard user start theses services - I cannot ask my customers to change their privileges...

Thanks again

_Superman_
May 14th, 2009, 03:37 AM
Services run in the Local System user context by default.
It can do work on behalf of the active user.

Look at some documentation - Introduction to Windows Service Applications (http://msdn.microsoft.com/en-us/library/d56de412(VS.80).aspx)

andypandy2
May 14th, 2009, 03:43 AM
I WILL do some reading ... a whole new unexplored world.

Thank you and have a nice day