Thursday, March 24, 2016

How to look at the triggers of a "Manual (Triggered)" service

Some Windows services, like Windows Update, have a Startup Type of Manual (Triggered). The alleged triggers appear nowhere in the Services snap-in. What, then, is triggering them?

The triggers can be examined and configured with the sc utility. Specifically, sc qtriggerinfo ServiceName produces a list of the start and stop triggers for that service. For Windows Update, its triggers are based on Group Policy. You can set triggers with the triggerinfo subcommand. Help on using that can be obtained by typing sc triggerinfo (without a service name) at the prompt.

No comments:

Post a Comment