Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Does disabling a service stop a scheduled task from running?

28 Nov 2014   #1
sleepless

Windows 7 Ultimate x64 SP1
 
 
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 System SpecsSystem Spec
.
28 Nov 2014   #2
LMiller7

Windows 7 Pro 64 bit
 
 

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 System SpecsSystem Spec
29 Nov 2014   #3
sleepless

Windows 7 Ultimate x64 SP1
 
 

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 System SpecsSystem Spec
.

29 Nov 2014   #4
Alejandro85

Windows 7 Ultimate x64
 
 

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 System SpecsSystem Spec
30 Nov 2014   #5
sleepless

Windows 7 Ultimate x64 SP1
 
 

Quote   Quote: Originally Posted by Alejandro85 View Post
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 System SpecsSystem Spec
30 Nov 2014   #6
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

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 System SpecsSystem Spec
Reply

 Does disabling a service stop a scheduled task from running?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Scheduled task remains running, when run manually
I have several tasks defined in the Task Scheduler. They're all working fine. They are written in the REXX language (about the only language I'm proficient in). Yesterday, I made a small change to one of the scripts and ran it manually, from the Task Scheduler (to ensure that it ran correctly in...
General Discussion
How to stop a service from running on boot up
I see a service running in Process Explorer called VBoxSVC.exe It runs every time I boot the machine. I can't find it in Services.msc. I don't know the name of the service. How can I stop it from running every time it boots? Win7 sp1 64bit Thanks,
General Discussion
Can I stop UAC prompt for scheduled program (not "task" oriented)?
I have a TV capture app which required installing in legacy mode. With scheduled recordings a UAC prompt requires confirmation before initialization negating the usefulness of scheduling. I can leave the app open in the background and scheduled recordings will proceed as expected but with XP I...
System Security
stop service in task scheduler hidden
Im trying to stop service in task schedual a few minutes after logon. I have a bat file with net stop Superfetch. It opens a cmd window. How do I make this hidden?
General Discussion
Scheduled Task not running
Scheduled Task not running when "run whether user is logged on or not" option is selected? Is this an issue/bug in windows 7?
General Discussion
unable to stop 'Task Scheduler' service
When trying to stop de Scheduler service I get a "system error 5: access denied" error. Searching the web didn't get me very far. The only thing I found was a matter of rights on the %systemroot%\task folder. This didn't help. Does the problem ring a bell with anyone? Thanks in advance,...
General Discussion


Our Sites

Site Links

About Us

Find 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 07:36.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App