Share via


Task Scheduler - Large number of tasks queue status

Question

Tuesday, July 14, 2020 10:18 PM

Hello,

One of our clients has a Windows Server 2019 bare metal machine, running Hyper-V and Veeam Backup and Replication. A large number of tasks in the Task Scheduler as Queued and there doesn't seem to be any reason as to why they are Queued. Here is the dump from Get-ScheduledTask | Sort State

TaskPath                                       TaskName                          State     
                                                                      
\Microsoft\Windows\Maps\                       MapsUpdateTask                    Disabled  
\Microsoft\Windows\MemoryDiagnostic\           ProcessMemoryDiagnosticEvents     Disabled  
\Microsoft\Windows\MemoryDiagnostic\           RunFullMemoryDiagnostic           Disabled  
\Microsoft\Windows\Workplace Join\             Recovery-Check                    Disabled  
\Microsoft\Windows\DiskDiagnostic\             Microsoft-Windows-DiskDiagnost... Disabled  
\Microsoft\Windows\File Classification Infr... Property Definition Sync          Disabled  
\Microsoft\Windows\InstallService\             WakeUpAndContinueUpdates          Disabled  
\Microsoft\Windows\SharedPC\                   Account Cleanup                   Disabled  
\Microsoft\Windows\Software Inventory Logging\ Collection                        Disabled  
\Microsoft\Windows\Storage Tiers Management\   Storage Tiers Optimization        Disabled  
\Microsoft\Windows\PLA\                        Server Manager Performance Mon... Disabled  
\Microsoft\Windows\Multimedia\                 SystemSoundsService               Disabled  
\Microsoft\Windows\Offline Files\              Background Synchronization        Disabled  
\Microsoft\Windows\Offline Files\              Logon Synchronization             Disabled  
\Microsoft\Windows\Active Directory Rights ... AD RMS Rights Policy Template ... Disabled  
\Microsoft\Windows\AppID\                      PolicyConverter                   Disabled  
\Microsoft\Windows\.NET Framework\             .NET Framework NGEN v4.0.30319... Disabled  
\Microsoft\Windows\InstallService\             WakeUpAndScanForUpdates           Disabled  
\Microsoft\Windows\.NET Framework\             .NET Framework NGEN v4.0.30319... Disabled  
\Microsoft\Windows\AppID\                      VerifiedPublisherCertStoreCheck   Disabled  
\Microsoft\Windows\.NET Framework\             .NET Framework NGEN v4.0.30319    Queued    
\Microsoft\Windows\Power Efficiency Diagnos... AnalyzeSystem                     Queued    
\Microsoft\Windows\Registry\                   RegIdleBackup                     Queued    
\Microsoft\Windows\RecoveryEnvironment\        VerifyWinRE                       Queued    
\Microsoft\Windows\Plug and Play\              Device Install Reboot Required    Queued    
\Microsoft\Windows\Plug and Play\              Device Install Group Policy       Queued    
\Microsoft\Windows\.NET Framework\             .NET Framework NGEN v4.0.30319 64 Queued    
\Microsoft\Windows\Maintenance\                WinSAT                            Queued    
\Microsoft\Windows\LanguageComponentsInstal... Installation                      Queued    
\Microsoft\Windows\Application Experience\     Microsoft Compatibility Appraiser Queued    
\Microsoft\Windows\InstallService\             ScanForUpdatesAsUser              Queued    
\Microsoft\Windows\MUI\                        LPRemove                          Queued    
\                                              HearbetEmailer                    Queued    
\Microsoft\Windows\Windows Defender\           Windows Defender Cleanup          Queued    
\Microsoft\Windows\Windows Defender\           Windows Defender Scheduled Scan   Queued    
\Microsoft\Windows\Time Zone\                  SynchronizeTimeZone               Queued    
\Microsoft\Windows\Windows Defender\           Windows Defender Cache Mainten... Queued    
\Microsoft\Windows\Windows Defender\           Windows Defender Verification     Queued    
\Microsoft\Windows\Wininet\                    CacheTask                         Queued    
\Microsoft\Windows\Workplace Join\             Automatic-Device-Join             Queued    
\Microsoft\Windows\Windows Error Reporting\    QueueReporting                    Queued    
\Microsoft\Windows\WindowsColorSystem\         Calibration Loader                Queued    
\Microsoft\Windows\Setup\                      SetupCleanupTask                  Queued    
\Microsoft\Windows\                            Server Initial Configuration Task Queued    
\Microsoft\Windows\Server Manager\             ServerManager                     Queued    
\Microsoft\Windows\Servicing\                  StartComponentCleanup             Queued    
\Microsoft\Windows\Shell\                      CreateObjectTask                  Queued    
\Microsoft\Windows\SoftwareProtectionPlatform\ SvcRestartTaskLogon               Queued    
\Microsoft\Windows\Time Synchronization\       SynchronizeTime                   Queued    
\Microsoft\Windows\Shell\                      IndexerAutomaticMaintenance       Queued    
\Microsoft\Windows\Software Inventory Logging\ Configuration                     Queued    
\Microsoft\Windows\InstallService\             ScanForUpdates                    Queued    
\Microsoft\Windows\Defrag\                     ScheduledDefrag                   Queued    
\Microsoft\Windows\Device Information\         Device                            Queued    
\Microsoft\Windows\Customer Experience Impr... Consolidator                      Queued    
\Microsoft\Windows\Customer Experience Impr... UsbCeip                           Queued    
\Microsoft\Windows\DiskCleanup\                SilentCleanup                     Queued    
\Microsoft\Windows\DiskDiagnostic\             Microsoft-Windows-DiskDiagnost... Queued    
\Microsoft\Windows\Diagnosis\                  Scheduled                         Queued    
\Microsoft\Windows\DirectX\                    DXGIAdapterCache                  Queued    
\Microsoft\Windows\Chkdsk\                     ProactiveScan                     Queued    
\Microsoft\Windows\ApplicationData\            DsSvcCleanup                      Queued    
\Microsoft\Windows\AppxDeploymentClient\       Pre-staged app cleanup            Queued    
\Microsoft\Windows\ApplicationData\            appuriverifierdaily               Queued    
\Microsoft\Windows\ApplicationData\            CleanupTemporaryState             Queued    
\Microsoft\Windows\CertificateServicesClient\  UserTask                          Queued    
\Microsoft\Windows\CertificateServicesClient\  UserTask-Roam                     Queued    
\Microsoft\Windows\Autochk\                    Proxy                             Queued    
\Microsoft\Windows\BrokerInfrastructure\       BgTaskRegistrationMaintenanceTask Queued    
\Microsoft\Windows\Flighting\FeatureConfig\    ReconcileFeatures                 Queued    
\Microsoft\Windows\DiskFootprint\              StorageSense                      Queued    
\Microsoft\Windows\ExploitGuard\               ExploitGuard MDM policy Refresh   Queued    
\Microsoft\Windows\Application Experience\     ProgramDataUpdater                Queued    
\Microsoft\Windows\DiskFootprint\              Diagnostics                       Queued    
\Microsoft\Windows\Application Experience\     StartupAppTask                    Queued    
\Microsoft\Windows\Hyper-V\                    Configure Hyper-V                 Queued    
\Microsoft\Windows\Bluetooth\                  UninstallDeviceTask               Ready     
\Microsoft\Windows\UPnP\                       UPnPHostConfig                    Ready     
\Microsoft\Windows\WDI\                        ResolutionHost                    Ready     
\Microsoft\Windows\TextServicesFramework\      MsCtfMonitor                      Ready     
\Microsoft\Windows\Location\                   Notifications                     Ready     
\Microsoft\Windows\Location\                   WindowsActionDialog               Ready     
\Microsoft\Windows\Time Synchronization\       ForceSynchronizeTime              Ready     
\Microsoft\Windows\BitLocker\                  BitLocker MDM policy Refresh      Ready     
\Microsoft\Windows\Windows Media Sharing\      UpdateLibrary                     Ready     
\Microsoft\Windows\Flighting\OneSettings\      RefreshCache                      Ready     
\Microsoft\Windows\WindowsUpdate\              Scheduled Start                   Ready     
\Microsoft\Windows\Windows Filtering Platform\ BfeOnServiceStartTypeChange       Ready     
\Microsoft\Windows\BitLocker\                  BitLocker Encrypt All Drives      Ready     
\Microsoft\Windows\ApplicationData\            appuriverifierinstall             Ready     
\Microsoft\Windows\Active Directory Rights ... AD RMS Rights Policy Template ... Ready     
\Microsoft\Windows\Task Manager\               Interactive                       Ready     
\Microsoft\Windows\Data Integrity Scan\        Data Integrity Scan               Ready     
\Microsoft\Windows\Data Integrity Scan\        Data Integrity Scan for Crash ... Ready     
\Microsoft\Windows\EDP\                        EDP Inaccessible Credentials Task Ready     
\Microsoft\Windows\EDP\                        EDP Auth Task                     Ready     
\Microsoft\Windows\Server Manager\             CleanupOldPerfLogs                Ready     
\Microsoft\Windows\Plug and Play\              Sysprep Generalize Drivers        Ready     
\Microsoft\Windows\NetTrace\                   GatherNetworkInfo                 Ready     
\Microsoft\Windows\Mobile Broadband Accounts\  MNO Metadata Parser               Ready     
\Microsoft\Windows\EDP\                        EDP App Launch Task               Ready     
\Microsoft\Windows\SpacePort\                  SpaceManagerTask                  Ready     
\Microsoft\Windows\SpacePort\                  SpaceAgentTask                    Ready     
\Microsoft\Windows\Storage Tiers Management\   Storage Tiers Management Initi... Ready     
\Microsoft\Windows\Speech\                     HeadsetButtonPress                Ready     
\Microsoft\Windows\Maps\                       MapsToastTask                     Ready     
\Microsoft\Windows\Chkdsk\                     SyspartRepair                     Ready     
\Microsoft\Windows\CloudExperienceHost\        CreateObjectTask                  Ready     
\Microsoft\Windows\EDP\                        StorageCardEncryption Task        Ready     
\                                              LogWindowsBackupEvent00004        Ready     

The machine is full up to date, has been rebooted multiple times to try and get the tasks to start. Any ideas on where to look and trouble shoot would be greatly appreciated. 

People think I'm tech savvy

All replies (4)

Tuesday, July 14, 2020 11:51 PM

Upon reboot is it always the same set? Might also try; If the task is already running stop the existing

 

 

Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management

Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.


Wednesday, July 15, 2020 7:36 AM

Hi, 

Did you try to manually running those queued tasks? What is their state? Going to queue again?

Please refer to this link and make sure "queue a new instance" is not chosen through Task properties\Settings.

Task Scheduler - Why Does Clicking Run Cause Task Status to be Queued?

This "Windows Server 2019 General" Forum will be migrating to a new home on Microsoft Q&A, please refer to this sticky post for more details.

_________________________________

"Windows Server 2019 General" forum will be migrating to a new home on Microsoft Q&A!

We invite you to post new questions in the "Windows Server 2019 General"  forum's new home on Microsoft Q&A!

For more information, please refer to the sticky post.


Tuesday, July 21, 2020 9:32 AM

Hi, 

Any update?

Bests,

"Windows Server 2019 General" forum will be migrating to a new home on Microsoft Q&A!

We invite you to post new questions in the "Windows Server 2019 General"  forum's new home on Microsoft Q&A!

For more information, please refer to the sticky post.


Tuesday, July 28, 2020 10:56 PM

Apologies for the delay in replying, I wasn't receiving any notifications.

On reboot, the same tasks are always queued after a few hours.

If I try and manually run the tasks, they run, but if they are short lived tasks that are set to run multiple times, they return to being queued at their next scheduled start time.