During an Active Directory cleanup, I needed to find all tasks which were running with a specific service account. With this query you can easily find your tasks. In our environment, I’ve executed this query with the configuration management tool named SALT. Use the tool which is available in your environment, or just a PowerShell remote session.
Find all Windows scheduled tasks running as specific user
Posted by