Windows 10: How to disable/delete scheduled tasks automatically when rebooting?


  1. Posts : 332
    Windows 10 64-bit home
       01 Jun 2018 #1

    How to disable/delete scheduled tasks automatically when rebooting?


    I have several scheduled tasks from an app that keep reappearing in task scheduler with each reboot. If I disable them or even delete them they just reappear each time I reboot my PC. If I disable them they stay disabled until the next reboot.

    Is it possible to set up a batch file or script that I can drop in my startup folder that would disable or delete those scheduled tasks at each reboot, so I don't have to manually do it after each reboot?

    I'm not good with creating batch files or scripts though. Is there anything out there that can help with this?
      My ComputerSystem Spec

  2.    01 Jun 2018 #2

    Hi, assuming you want to keep the program and there's no way to stop it creating these tasks, then:

    Using Autohotkey, a script should be similar to this example, which I found with a quick search:

    autohotkey disable scheduled task

    https://autohotkey.com/board/topic/8...nabledisabled/

    You can ignore the first 6 lines which define keys F1 & F2 - delete them.

    You need a simple text editor- create the text file as .txt initially, then
    - replace Enabled in the last line with False
    - repeat the text between the last { & } for each task you wish to disable
    - replace the items in comments in each instance with the task you wish to disable.

    Install Autohotkey (free)

    Change the file extension to ahk
    With Autohotkey installed, double clicking the ahk file will execute the script.

    When working as you want... compile it (create an exe) - very simple, right click the ahk file, click 'Compile'.

    Then have that exe run at startup.

    Note: you can check ahk scripts fairly simply- it will tell you on which line there is an error.
    You can post questions on the Autohotkey forum.
    Last edited by dalchina; 01 Jun 2018 at 13:42.
      My ComputerSystem Spec

  3.    01 Jun 2018 #3

    What application is creating (and re-creating) those scheduled tasks?
      My ComputerSystem Spec

  4.    01 Jun 2018 #4

    Do like I would do, let it start, if its not harmful, then find the program creating them and DELETE IT, don't just delete the task, BUT the entire program. 100% of the time when I delete a program causing the problem, it stops the scheduled task from poping up again.
      My ComputerSystem Spec

  5.    01 Jun 2018 #5

    Hey rivre,
    Some apps/programs running at startup re-enable/re-create their task scheduler entries. If you do NOT need/want the app/program running at startup ... try the following ...

    1. Task Manager > Startup Tab ... if the app/program is listed, right click and disable it.
    2. Windows Services ... if the app/program is listed, right click > properties and set the startup type to manual.
    3. Task Scheduler ... Double check that it's task entries are disabled.
      My ComputersSystem Spec


  6. Posts : 332
    Windows 10 64-bit home
    Thread Starter
       01 Jun 2018 #6

    margrave55 said: View Post
    What application is creating (and re-creating) those scheduled tasks?
    It's my firewall, Comodo. It's constantly triggering HDD activity with scanning, telemetry, and updates - the scheduled tasks activate every couple hours. And that's with all the HIPS and virus modules off. It's a bit quieter when I disabled those tasks, but they come right back at every boot. They always seem to trigger when I'm doing something like backups, or when I want the PC to just idle quietly while watching TV, but then it starts ravaging my HDD for a few minutes. Resource manager shows it's Comodo.

    I might give FortKnox a try as an alternative to see how that behaves. If it doesn't work out, I'll re-install Comodo I guess and try the autohotkey idea.
      My ComputerSystem Spec


  7. Posts : 332
    Windows 10 64-bit home
    Thread Starter
       01 Jun 2018 #7

    Eagle51 said: View Post
    Hey rivre,
    Some apps/programs running at startup re-enable/re-create their task scheduler entries. If you do NOT need/want the app/program running at startup ... try the following ...

    1. Task Manager > Startup Tab ... if the app/program is listed, right click and disable it.
    2. Windows Services ... if the app/program is listed, right click > properties and set the startup type to manual.
    3. Task Scheduler ... Double check that it's task entries are disabled.
    Thanks. I tried all that, no luck - task manager startup entry and services just lists Comodo itself, which I of course want to run at startup. But it insists on putting those scheduled tasks right back in again at every boot, with a new start date. No way to stop that behavior in Comodo's settings. I've looked it over repeatedly and checked every sub menu.
      My ComputerSystem Spec

  8.    01 Jun 2018 #8

    rivre:

    - create cmd file and put some following commands into it:
    schtasks /change /tn "microsoft\windows\updateorchestrator\schedule scan" /disable
    - modify task identifiers in cmd file
    - create another scheduled task which starts at computer start and runs that cmd file.
      My ComputerSystem Spec

  9. TechnoMage's Avatar
    Posts : 352
    Win 7 Pro/32, Win 10 Pro/64/32
       01 Jun 2018 #9

    I tried Comodo for a while on my laptop PC, and I found out that I really didn't like it. Far too invasive. So I used "Revo Uninstaller" on the most advanced setting. Problem solved. Try it, you'll like it!!!

    So I just went back to Windows Defender/Firewall and now everything is just fine.
    Unless you're using your PC in an extremely High Security environment, Windows Defender, backed up by some FREE software like Malware Bytes and Super Anti Spyware, should keep you safe. That's what I use and I'm kind of a Security nut. But having said that, I'm also forced to tell you that I also use "Spybot Search & Destroy", "Spyware Blaster" and "Zemana, Anti Logger".

    And, since a lot of bad guys like to hide out in the Temp Folders, I run a little program that dumps all the temp folders on every boot up, even though my PC may be booted up several times per day. (if I'm not here, my PC is OFF!)

    Good Luck!
    TechnoMage
      My ComputerSystem Spec

  10.    01 Jun 2018 #10

    I guess it's time to get a different antivirus program.
    rivre said: View Post
    It's my firewall, Comodo. It's constantly triggering HDD activity with scanning, telemetry, and updates - the scheduled tasks activate every couple hours. And that's with all the HIPS and virus modules off. It's a bit quieter when I disabled those tasks, but they come right back at every boot. They always seem to trigger when I'm doing something like backups, or when I want the PC to just idle quietly while watching TV, but then it starts ravaging my HDD for a few minutes. Resource manager shows it's Comodo.
    I might give FortKnox a try as an alternative to see how that behaves. If it doesn't work out, I'll re-install Comodo I guess and try the autohotkey idea.
      My ComputerSystem Spec


 

Related Threads
Defender Scheduled Tasks Not Running Since Creators Update in AntiVirus, Firewalls and System Security
Like the title says. The top task I manually ran and then stopped it. I do get a quick scan to run based on a separate task. Other computers not updated to Creators all run these tasks daily as this one did prior to the update. They are listed...
Hello, I've been playing Runes of Magic for a few months now. Everything is fine except when Windows 10 installs a new update. I either have to reinstall the game or rollback to the previous version of Windows. The problem I am having is...
Hi. I'm new to Windows 10, but just installed my first instance of Windows 10 Pro on an older laptop with a new SSD. Right now I'm configuring the system, installing software, creating tasks, all that good stuff. The user account I'm using is an...
Hi, Been noticing a number of errors when I open task scheduler for e.g. SVC Restart Task - The task XML contains a value that is incorrectly formatted or out of range" Other than the aforementioned task there are errors with the following: a)...
Due to Nitro Reader problem reported in another thread, I rolled back to Win 7. I found none of the scheduled tasks I had created worked. Opening Task Scheduler presented me with 62 error messages indicating my tasks, and many others created by...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 13:49.
Find Us