Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how can we start a program before an user open a session on NT? 1

Status
Not open for further replies.

athom

ISP
Apr 4, 2001
20
CA
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.
 
i think you need to use the "Windows NT Server", or "Win2000".
 
You can use Server or Workstation . . . just make the executable a service using the NTSVC.ocx. - Jeff Marler B-)
 
Jeff is correct.

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.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top