Trigger Started Services on Windows 7
- Posted: Mar 24, 2011 at 8:26 AM
- 38,254 Views
Right click “Save as…”
Trigger started services are services in Windows 7 or Windows Server 2008 R2 that can register to be started or stopped when a trigger event occurs. This eliminates the need for services to start when the system starts, or for services to poll or actively wait for an event; a service can start when it is needed, instead of starting automatically whether or not there is work to do. Examples of predefined trigger events include arrival of a device of a specified device interface class or availability of a particular firewall port. A service can also register for a custom trigger event generated by an Event Tracing for Windows (ETW) provider.
In this screencast, Kate Gregory (@gregcons) provides an overview of trigger started services on Windows 7 via the Windows API Code Pack, a source code library that can be used to access some features of Windows 7 and Windows Vista from managed code.
Update (March 24, 2011 - 11 PM): The Windows Trigger Start Service Recipe for Managed Code is now available to download.