Search Task Scheduler Library
I've inherited a server with several hundred scheduled tasks. There's no consistent naming scheme, so finding some particular task that performs some particular action is rather tedious.
Is there any way to create a filter on Task Scheduler's library pane so I can limit my manual search to entries that have some key word in the task name?
Solution 1:
Is there any way to create a filter on Task Scheduler's library pane
I don't think it is possible to create a filter in Task Scheduler.
However, you can use explorer's search facilities to do the filtering, as the scheduled tasks can be found in C:\Windows\System32\Tasks
.
Just search for a string that is part of the task name.
Now you have the folder names containing the tasks (which mirror the names in the hierarchy in Task Scheduler).
Example (searching for VAIO):
Notes:
- The tasks are in files named after the trigger ID in the file. Example:
<Triggers> <LogonTrigger id="VAIO Care"> <Enabled>true</Enabled> <Delay>PT5M</Delay> </LogonTrigger> </Triggers>
-
The corresponding task file name is
VAIO Care
-
The files are XML formatted files.
Solution 2:
You can do this with Powershell.
Example:
Get-ScheduledTask | where {$_.settings.waketorun}
Got this information from here
Here's my results: powershell results
I'm assuming from the format of this command that you should also be able to filter with any other setting from the tasks settings window you have in mind. Just search google for other possible commands you may need.
Here are some other ideas you may be able to start with. Some of his ideas include ways to find tasks with a specific name.
I know this question is very old, but it showed on google when I was having this issue, so I thought I'd input my 2 cents for anyone finding this later.