Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Disable Automatic Maintenance in Windows Server 2012  (Read 4788 times)

0 Members and 1 Guest are viewing this topic.

vinayakk

  • Guest
Disable Automatic Maintenance in Windows Server 2012
« on: January 31, 2014, 10:50:57 am »
The automatic maintenance job is visible in the Action Center, but the configuration are limited to say the least in that UI.  It’s way better to go straight to the source which in Windows Server 2012 R2 is scheduled tasks. Below is a screenshot of the Action Center / Automatic Maintenance, but to disable it, jump to the next section.



Note: Disabling this task also stops the Windows update task, so please only do this on demo machines you use for presentations etc. NOT for production environments.

Since the Automatic Maintenance task is a built-in scheduled task, but if you think you can just open task scheduler as an administrator and disable it you’re wrong. You need to use the psexec utility (Sysinternals) together with schtasks.exe, and you need to run the command as Administrator.

Use the following command:

Code: [Select]
psexec \\SERVERNAME -s schtasks /change /tn "\Microsoft\Windows\TaskScheduler\Maintenance Configurator" /DISABLE
This disables the Maintenance Configurator task in Task Scheduler. You can check it in Windows Task Scheduler
 Task Scheduler Library ---> Microsoft ---> Windows ---> TaskScheduler.

 :)