Does disabling a service stop a scheduled task from running?


  1. Posts : 84
    Windows 7 Ultimate x64 SP1
       #1

    Does disabling a service stop a scheduled task from running?


    this is probably a dumb question, but if a service is disabled (HKLM\System\CurrentControlSet\Services), will that stop the scheduled task from running also? what if set to 'manual'?
      My Computer


  2. Posts : 2,497
    Windows 7 Pro 64 bit
       #2

    The question is unclear.
    What service?
    What scheduled task?

    Clearly describe what you are proposing to do.

    Stopping the Task Scheduler service will prevent all scheduled tasks from running. You really don't want to do this.
      My Computer


  3. Posts : 84
    Windows 7 Ultimate x64 SP1
    Thread Starter
       #3

    for example, google update. it is listed in the task scheduler. this i'm ok with but i'd rather it not be running all the time. i was wondering if i disabled a service using 'autoruns', if it would still run at the time scheduled in the task scheduler, thus google would still get it's updates.
      My Computer


  4. Posts : 2,468
    Windows 7 Ultimate x64
       #4

    Task scheduler and services are two different things and work independently. The task scheduler is a program that just launches other programs at predefined times with the given options. None of those schedules are services, just regular programs that can run in background or be visible, and that normally either start, do their job and terminate, or stay opened for the user to interact with them.

    On the other hand, services are also regular programs, but specifically designed to run exclusively in background and be active on a 24/7 basis. Stopping a service will terminate its process, but obviously the activity it does is no longer performed.

    No idea why you said that disabling the service would affect a scheduled task. Maybe you're mixing both concepts? Or looking at the wrong place?
    Otherwise, if Google really placed it in both sides, each one is independent. Stopping the service will still leave the task running at its specified time (the catch being that if the scheduled task uses the service, it will fail).
      My Computer


  5. Posts : 84
    Windows 7 Ultimate x64 SP1
    Thread Starter
       #5

    Alejandro85 said:
    No idea why you said that disabling the service would affect a scheduled task. Maybe you're mixing both concepts? Or looking at the wrong place?
    Otherwise, if Google really placed it in both sides, each one is independent. Stopping the service will still leave the task running at its specified time (the catch being that if the scheduled task uses the service, it will fail).
    Look, what i'm asking really isn't that complex! For example:

    under my services are:
    1)gupdate Google Inc. c:\program files (x86)\google\update\googleupdate.exe
    2)gupdatem Google Inc. c:\program files (x86)\google\update\googleupdate.exe

    Scheduled tasks are:

    1)Name - GoogleUpdateTaskMachineCore
    Action - Start a program - c:\program files (x86)\google\update\googleupdate.exe/c
    Triggers - At logon, daily at 7:41pm


    2)Name - GoogleUpdateTaskMachineUA
    Action - Start a program - c:\program files (x86)\google\update\googleupdate.exe/ua/installsourcescheduler
    Trigger - daily at 7:41pm, after triggered repeat every hour for 1 day


    Now, both of these 'programs' refer to the same executable file (googleupdate.exe). My question was simply whether disabling the service would prevent the scheduled task from running. if not, then i could disable the service, seeing as it is already scheduled to run at logon and at 7:41.
      My Computer


  6. Posts : 6,330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
       #6

    Disable the services and then reboot.
    Check to see if the tasks run after disabling the services and rebooting.
    If they don't run, re-enable the services and reboot.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

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