Tasks are made of:
- LogonTrigger (can include a specific user by name or SID),
- RegistrationTrigger (auto trigger after self regsitration),
- SessionStateChangeTrigger (“connecting or disconnecting locally or remotely, or locking or unlocking the session”)
- and every time specific triggers.
- ComHandlerAction (“It allows the task to execute and In-Proc COM server object that implements the ITaskHandler interface”).