Windows Server 2012 Task Scheduler Cleanup

At work, I noticed that Windows Server 2012 creates two scheduled tasks for each user that logs into the server.

Optimize Start Menu Cache Files – This idle task reorganizes the cache files used to display the Start Menu.

User Feed Synchronization – This task calls msfeedssync.exe to sync RSS feeds for Internet Explorer.

Both of these tasks are not critical to Windows’ operation and can be disabled. However, they need to be turned off individually for each user that logs onto the box. In addition, if you actually use the Task Scheduler, they can make looking through the Task Scheduler Library impossible (which is why I’m writing this in the first place).

The two PowerShell commands below can be run as a script via Task Scheduler (how ironic) to clean up the Task Scheduler Library.

Get-ScheduledTask | where {$_.taskname -like "Optimize Start Menu Cache Files*"} | Unregister-ScheduledTask -Confirm:$false
Get-ScheduledTask | where {$_.taskname -like "User_Feed_Synchronization*"} | Unregister-ScheduledTask -Confirm:$false

I’ve found this works well so far, and is the easiest way to solve this problem without having to configure each user account.






Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.