Windows 10: Task Scheduler - Create task to STOP rather than START another task Windows 10

Discus and support Task Scheduler - Create task to STOP rather than START another task Windows 10 in Windows 10 Customization to solve the problem; I have created a task in Task Scheduler in Windows that runs a small batch file at log on and re-runs every 10 minutes. This works fine as intended.... Discussion in 'Windows 10 Customization' started by Mike_371, Feb 7, 2020.

  1. Mike_371 Win User

    Task Scheduler - Create task to STOP rather than START another task Windows 10


    I have created a task in Task Scheduler in Windows that runs a small batch file at log on and re-runs every 10 minutes. This works fine as intended. But, now I want to setup this task to stop running when computer is idle for more than 30 minutes. In task configuration page I can find condition that only allows to start a program when idle, but I cannot find the option to stop when idle.

    How do I create a task that starts to runs the batch file at logon every 10 minutes and stops if the computer is idle for more than 30 minutes.

    Any solution is appreciated.

    :)
     
    Mike_371, Feb 7, 2020
    #1

  2. Window's Task Scheduler Not Running

    Hi,

    To assist you better, kindly provide us more details by answering the following questions:

    • Have you tried recreating the task? If so, are you getting the same issue?
    • Have you tried creating a new task?
    Meanwhile, we suggest that you ensure that the Task Scheduler is running. You can verify if the service is running by following these steps:

    • Press Windows key + R on your keyboard.
    • Type services.msc and hit Enter.
    • Under Services (Local), make sure that the Task Scheduler service's status is
      Started or Enabled.
    Should you need further assistance, feel free to get back to us.
     
    Monica Cam, Feb 7, 2020
    #2
  3. Create task in task scheduler

    Just to be sure you definitely put in the right path for the shutdown.exe?

    1. Start Task Scheduler. You can start it by going to the Start Menu typing Schedule in the Search bar and choosing Schedule tasks.

    2. When Task Scheduler opens click the Create Basic Task.

    3. Enter the Name for your Task, for example Shutdown.

    4. Now choose When do you want the task to start. In our case we’ll choose One time.

    5. Now enter the Time and date when the task will be executed.

    6. Next choose Start a program.

    7. Click the Browse button and go to C:\Windows\System32 and select a file called Shutdown. Then click Open.

    8. Now just in Add arguments field add -s, and then click Next.

    9. Now you should see the task information. You can check it one last time, and if you’re pleased with your settings click Finish to schedule a shutdown.
     
    PeterFlynn4, Feb 7, 2020
    #3
  4. Task Scheduler - Create task to STOP rather than START another task Windows 10

    How to setup Windows Vista/7 Task Scheduling at Login

    I quickly put this png together to explain how to setup a Task Schedule for GPU-Z to launch it at user logon with full UAC priviledges while also minimizing to system tray at the same. I've also added a second trigger for the stupid (like me *Big Grin Task Scheduler - Create task to STOP rather than START another task Windows 10 :D), who always accidentally close the app instead of minimizing it.

    For restart on change Process to function correctly the following must be done:

    Restart if Task Fails must be enabled
    If the task is already running DO NOT Start a New Instance
    Add a New Trigger after the Main Trigger (lower priority) with the condition "When the task is created or modified"

    The PNG below gives all the details to setting the Task Scheduling up.

    To Launch Task Scheduler go to Start -> Admin Tools -> Task Scheduler
    or run taskschd.msc /s from search box. Then just Create a Task and fill in the details.

    Alternatively I've included an Exported Task which can be imported with the Import Task option. Unzip the file, and Import the XML then change the paths/usernames to suit your system. Either way take similar amounts of time. I included the exported task to help if necessary but it's best to create a new task when possible.



    Task Scheduler - Create task to STOP rather than START another task Windows 10 [​IMG]



    This method will bypass the UAC prompts at login, and because tasks are always sent to the system tray on Run this works around no sys tray support too *Wink Task Scheduler - Create task to STOP rather than START another task Windows 10 ;) W1zzard loves when things are fixed without him having to fix them *Big Grin Task Scheduler - Create task to STOP rather than START another task Windows 10 :D
     
    mikeyakame, Feb 7, 2020
    #4
Thema:

Task Scheduler - Create task to STOP rather than START another task Windows 10

Loading...
  1. Task Scheduler - Create task to STOP rather than START another task Windows 10 - Similar Threads - Task Scheduler Create

  2. Task Scheduler wont create a task

    in Windows 10 Gaming
    Task Scheduler wont create a task: Im running Windows 10 22H2 Build 19045.4291When i run task scheduler it say that "The remote computer was not found." so i just clicked the "Connect to Another Computer..." option and enter my computer user and it work and when i clicked the "Task Scheduler Libary" theres a...
  3. Task Scheduler wont create a task

    in Windows 10 Software and Apps
    Task Scheduler wont create a task: Im running Windows 10 22H2 Build 19045.4291When i run task scheduler it say that "The remote computer was not found." so i just clicked the "Connect to Another Computer..." option and enter my computer user and it work and when i clicked the "Task Scheduler Libary" theres a...
  4. Task Scheduler wont create a task

    in Windows 10 Customization
    Task Scheduler wont create a task: Im running Windows 10 22H2 Build 19045.4291When i run task scheduler it say that "The remote computer was not found." so i just clicked the "Connect to Another Computer..." option and enter my computer user and it work and when i clicked the "Task Scheduler Libary" theres a...
  5. Task scheduler started and then stopped

    in Windows 10 BSOD Crashes and Debugging
    Task scheduler started and then stopped: I have tried to restart my pc, the command sfc /scannow, all its dependencies are started. https://answers.microsoft.com/en-us/windows/forum/all/task-scheduler-started-and-then-stopped/c93037d9-1f67-4608-83df-68be8f2da9df
  6. Unable to create a task in Task Scheduler

    in Windows 10 Backup and Restore
    Unable to create a task in Task Scheduler: I am unable to create a task in Task Scheduler. A few day ago I Reset Win 10. I find that a task (Create System Restore Point) is not working. I deleted it and tried to create a new task. It let me fill all 'the blanks' until I get to the end when a box appears and asks me to...
  7. Unable to create a task in Task Scheduler

    in Windows 10 Support
    Unable to create a task in Task Scheduler: I am unable to create a task in Task Scheduler. A few day ago I Reset Win 10. I find that a task (Create System Restore Point) is not working. I deleted it and tried to create a new task. It let me fill all 'the blanks' until I get to the end when a box appears and asks me to...
  8. Task Scheduler - Create task to stop another task Windows 10

    in Windows 10 Customization
    Task Scheduler - Create task to stop another task Windows 10: I have created a task in Task Scheduler in Windows that runs a small batch file at log on and re-runs every 10 minutes. This works fine as intended. But, now I want to setup this task to stop running when computer is idle for more than 30 minutes. In task configuration page...
  9. Create task in task scheduler

    in Windows 10 Customization
    Create task in task scheduler: Dear all, I need your assistant to run the following two tasks: - Shutdown the PC - Reboot the PC Is there a difference if the PC joined to the domain or not? Thank you in advacne...
  10. Can't create task in Task Scheduler

    in Windows 10 Support
    Can't create task in Task Scheduler: Whenever I try to create a task in Task Scheduler, an error pops up. [img] I press OK, and this pops up: [img] Here is the transcript: "Unhandled Exception in Managed Code Snap-in FX:{c7b8fb06-bfe1-4c2e-9217-7a69a95bbac4} The system cannot find the...