i'd like to start a program before an openning's users session.
For exemple, my program start would execute at the same time of IIS (or DHCP...) start.
A NT (2000) service can start when the OS is booted, before any users have logged in. The easiest way to write one is download the (unsupported) NTSVC.OCX from Microsoft. It would be helpful to read the MSDN section that covers the lifecycle of a service to understand why the service works the way it does.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.