Disable Automatic Maintenance Windows Server 2016

Looks like that task isn't included in Server 2016. I verified this on a fresh install. Windows appears to run the maintenance scheduled tasks individually now.

The one that runs tiworker and the one that I'm finding the most intrusive is the SilentCleanup task, which runs disk cleanup whether the disk space is low or not, counter to its description. That one can be found under the DiskCleanup folder. I think I'm going to disable this task across the board since there is no reason a server should be running automatic disk cleanup IMO.

Edit: I found a way to check what all the maintenance tasks are:

$MaintTasks = @()
foreach ($task in (Get-ScheduledTask))
{
if (($task | Export-ScheduledTask) -like “*maintenance*”) {$MaintTasks += $task}
}
$MaintTasks

On a fresh WS 2016 install:

Get-ScheduledTask | Where-Object -Property Description -Match "maint"

TaskPath                                       TaskName                          State     
--------                                       --------                          -----     
\Microsoft\Windows\ApplicationData\            DsSvcCleanup                      Ready     
\Microsoft\Windows\Diagnosis\                  Scheduled                         Ready     
\Microsoft\Windows\DiskCleanup\                SilentCleanup                     Ready     
\Microsoft\Windows\Windows Defender\           Windows Defender Cache Mainten... Ready

The Diagnosis task seems to be relevant. It's using a custom handler. Have you dug into that yet?