Automatic Maintenance in Windows Server 2012 R2
psexec
\\SERVERNAME -s schtasks /change /tn
"\Microsoft\Windows\TaskScheduler\Maintenance Configurator" /DISABLE
In my
scenario, I was testing this on my Hyper-V host, so I simply skipped the \\SERVERNAME switch.
psexec
-s schtasks /change /tn "\Microsoft\Windows\TaskScheduler\Maintenance
Configurator" /DISABLE