For example, this one uses notepad.exe as the trigger: and Task = 13312 and (band(Keywords,9007199254740992)) and and (Data='C:\Windows\System32\notepad.exe')]]Ĭlick Ok for this, then Ok to close the trigger dialog box. Now you just need to add the application you want to cause the trigger. Now Switch to the XML tab, and enable edit query manually Choose Custom, and click Edit Event Filter.On the Triggers tab, create a new trigger, and choose On an event as the trigger.On the General Tab, give the task a name.Open Task Scheduler and create a new task.Now, if you start any application, if you look in Event Viewer / Security Log you will see a Process Creation event 4688 each time an application is started. Double Click Audit process tracking and enable Success.Navigate to Local Policies/Audit Policy.Start and enter secpol.msc into the Run box. ![]() ![]() ![]() So all we need is to ensure an event is created whenever an application starts, and then create a scheduled task to start whenever the event is logged. The task scheduler can start an app based various types of triggers, including Event Log entries. However another more generic way, and far more complex, is to use the Task Scheduler. You could probably set up specific pairs of apps to run using the registry, and altering what deals with mimetypes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |