Starting Task Scheduler Service Gives error

G

Guest

My task scheduler stopped working suddenly. I ran services.msc and found that
the task scheduler was stopped. When I tried to start it it says "Could not
start Task Scheduler Service on local computer. Error 5: Access in denied". I
checked in the log-on tab and it was logged on into the local system account
with the "allow to interact with desktop.." being checked.
Please help me.
 
R

Ramesh, MS-MVP

Hi,

Click Start, Run and type:

cmd /k sc qc schedule

Then run the following command:

sc sdshow schedule

Copy both outputs to Notepad, post the information here.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


My task scheduler stopped working suddenly. I ran services.msc and found that
the task scheduler was stopped. When I tried to start it it says "Could not
start Task Scheduler Service on local computer. Error 5: Access in denied". I
checked in the log-on tab and it was logged on into the local system account
with the "allow to interact with desktop.." being checked.
Please help me.
 
G

Guest

Hello Ramesh,

I have run the commands and here is the output

[SC] GetServiceConfig SUCCESS

SERVICE_NAME: schedule
TYPE : 120 WIN32_SHARE_PROCESS (interactive)
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\WINDOWS\System32\svchost.exe -k netsvcs
LOAD_ORDER_GROUP : SchedulerGroup
TAG : 0
DISPLAY_NAME : Task Scheduler
DEPENDENCIES : RpcSs
SERVICE_START_NAME : LocalSystem


C:\Documents and Settings\Kowshik>sc sdshow schedule

D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPLOCRRC;;;PU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;
;BA)(A;;CCLCSWRPWPDTLOCRRC;;;SY)

Thanks,
Kowshik
 
R

Ramesh, MS-MVP

Kowshik,

Create a System Restore point, and then run the following command:

cmd /k sc sdset schedule D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Hello Ramesh,

I have run the commands and here is the output

[SC] GetServiceConfig SUCCESS

SERVICE_NAME: schedule
TYPE : 120 WIN32_SHARE_PROCESS (interactive)
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\WINDOWS\System32\svchost.exe -k netsvcs
LOAD_ORDER_GROUP : SchedulerGroup
TAG : 0
DISPLAY_NAME : Task Scheduler
DEPENDENCIES : RpcSs
SERVICE_START_NAME : LocalSystem


C:\Documents and Settings\Kowshik>sc sdshow schedule

D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPLOCRRC;;;PU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;
;BA)(A;;CCLCSWRPWPDTLOCRRC;;;SY)

Thanks,
Kowshik
 
G

Guest

Hello Ramesh,

I have created a system restore point, ran the command and restarted the
system. Still I am getting the same error 'Access denied'.

I ran the earlier commands again and now it looks like this.

[SC] GetServiceConfig SUCCESS

SERVICE_NAME: schedule
TYPE : 120 WIN32_SHARE_PROCESS (interactive)
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\WINDOWS\System32\svchost.exe -k netsvcs
LOAD_ORDER_GROUP : SchedulerGroup
TAG : 0
DISPLAY_NAME : Task Scheduler
DEPENDENCIES : RpcSs
SERVICE_START_NAME : LocalSystem


C:\Documents and Settings\Kowshik>sc sdshow schedule

D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCR
RC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)

Please help.

Thanks,
Kowshik

Ramesh said:
Kowshik,

Create a System Restore point, and then run the following command:

cmd /k sc sdset schedule D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Hello Ramesh,

I have run the commands and here is the output

[SC] GetServiceConfig SUCCESS

SERVICE_NAME: schedule
TYPE : 120 WIN32_SHARE_PROCESS (interactive)
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\WINDOWS\System32\svchost.exe -k netsvcs
LOAD_ORDER_GROUP : SchedulerGroup
TAG : 0
DISPLAY_NAME : Task Scheduler
DEPENDENCIES : RpcSs
SERVICE_START_NAME : LocalSystem


C:\Documents and Settings\Kowshik>sc sdshow schedule

D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPLOCRRC;;;PU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;
;BA)(A;;CCLCSWRPWPDTLOCRRC;;;SY)

Thanks,
Kowshik

Ramesh said:
Hi,

Click Start, Run and type:

cmd /k sc qc schedule

Then run the following command:

sc sdshow schedule

Copy both outputs to Notepad, post the information here.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com
 
R

Ramesh, MS-MVP

Kowshik,

Open Regedit.exe and navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule

Backup the key by exporting it as a REG file.

Select the branch or subkey named "Security" and delete it.

Close Regedit.exe

Restart Windows and try starting Task Scheduler service.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Hello Ramesh,

I have created a system restore point, ran the command and restarted the
system. Still I am getting the same error 'Access denied'.

I ran the earlier commands again and now it looks like this.

[SC] GetServiceConfig SUCCESS

SERVICE_NAME: schedule
TYPE : 120 WIN32_SHARE_PROCESS (interactive)
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\WINDOWS\System32\svchost.exe -k netsvcs
LOAD_ORDER_GROUP : SchedulerGroup
TAG : 0
DISPLAY_NAME : Task Scheduler
DEPENDENCIES : RpcSs
SERVICE_START_NAME : LocalSystem


C:\Documents and Settings\Kowshik>sc sdshow schedule

D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCR
RC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)

Please help.

Thanks,
Kowshik

Ramesh said:
Kowshik,

Create a System Restore point, and then run the following command:

cmd /k sc sdset schedule D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Hello Ramesh,

I have run the commands and here is the output

[SC] GetServiceConfig SUCCESS

SERVICE_NAME: schedule
TYPE : 120 WIN32_SHARE_PROCESS (interactive)
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\WINDOWS\System32\svchost.exe -k netsvcs
LOAD_ORDER_GROUP : SchedulerGroup
TAG : 0
DISPLAY_NAME : Task Scheduler
DEPENDENCIES : RpcSs
SERVICE_START_NAME : LocalSystem


C:\Documents and Settings\Kowshik>sc sdshow schedule

D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPLOCRRC;;;PU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;
;BA)(A;;CCLCSWRPWPDTLOCRRC;;;SY)

Thanks,
Kowshik

Ramesh said:
Hi,

Click Start, Run and type:

cmd /k sc qc schedule

Then run the following command:

sc sdshow schedule

Copy both outputs to Notepad, post the information here.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com
 
G

Guest

Hello Ramesh,

I have deleted the security key as you said. After restarting the machine, I
ran services.msc and was able to start the task scheduler. However when I go
to the system tools--> Schedule tasks to schedule a task, I get the message
that the task scheduler is not running. When I go back to the services.msc, I
find that the task scheduler has stopped and if I try to start it again, it
gives me the same message saying 'access denied'.

Thanks,
Kowshik

Ramesh said:
Kowshik,

Open Regedit.exe and navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule

Backup the key by exporting it as a REG file.

Select the branch or subkey named "Security" and delete it.

Close Regedit.exe

Restart Windows and try starting Task Scheduler service.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Hello Ramesh,

I have created a system restore point, ran the command and restarted the
system. Still I am getting the same error 'Access denied'.

I ran the earlier commands again and now it looks like this.

[SC] GetServiceConfig SUCCESS

SERVICE_NAME: schedule
TYPE : 120 WIN32_SHARE_PROCESS (interactive)
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\WINDOWS\System32\svchost.exe -k netsvcs
LOAD_ORDER_GROUP : SchedulerGroup
TAG : 0
DISPLAY_NAME : Task Scheduler
DEPENDENCIES : RpcSs
SERVICE_START_NAME : LocalSystem


C:\Documents and Settings\Kowshik>sc sdshow schedule

D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCR
RC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)

Please help.

Thanks,
Kowshik

Ramesh said:
Kowshik,

Create a System Restore point, and then run the following command:

cmd /k sc sdset schedule D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Hello Ramesh,

I have run the commands and here is the output

[SC] GetServiceConfig SUCCESS

SERVICE_NAME: schedule
TYPE : 120 WIN32_SHARE_PROCESS (interactive)
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\WINDOWS\System32\svchost.exe -k netsvcs
LOAD_ORDER_GROUP : SchedulerGroup
TAG : 0
DISPLAY_NAME : Task Scheduler
DEPENDENCIES : RpcSs
SERVICE_START_NAME : LocalSystem


C:\Documents and Settings\Kowshik>sc sdshow schedule

D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPLOCRRC;;;PU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;
;BA)(A;;CCLCSWRPWPDTLOCRRC;;;SY)

Thanks,
Kowshik

Ramesh said:
Hi,

Click Start, Run and type:

cmd /k sc qc schedule

Then run the following command:

sc sdshow schedule

Copy both outputs to Notepad, post the information here.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com
 
R

Ramesh, MS-MVP

Perhaps reinstalling Task Scheduler would help?

Click Start, Run and type "%windir%\inf"
Right-click mstask.inf, and choose Install

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Hello Ramesh,

I have deleted the security key as you said. After restarting the machine, I
ran services.msc and was able to start the task scheduler. However when I go
to the system tools--> Schedule tasks to schedule a task, I get the message
that the task scheduler is not running. When I go back to the services.msc, I
find that the task scheduler has stopped and if I try to start it again, it
gives me the same message saying 'access denied'.

Thanks,
Kowshik

:
 
G

Guest

Hello Ramesh,

Tried installing the task scheduler but the same thing happens. It starts
when I restart my computer but goes down when I add a scheduled task.

Thanks,
Kowshik
 
R

Ramesh, MS-MVP

Kowshik,

Interesting problem! Any errors registered in the event log?

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Hello Ramesh,

Tried installing the task scheduler but the same thing happens. It starts
when I restart my computer but goes down when I add a scheduled task.

Thanks,
Kowshik
 
G

Guest

Hello Ramesh,

I got a few errors in the even log of which one was repeating continuously.

"\Device\ACPIEC: The embedded controller (EC) hardware returned data when
none was requested. This may indicate that the BIOS is incorectly trying to
access the EC without syncronizing with the OS. The data is being ignored.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp."

Before this error, 2 events were recorded

--The Task Scheduler service was successfully sent a start control.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

--The Task Scheduler service entered the running state.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

After these two events, the above error got repeated 5 times as a warning.
After the warning messages, events like task scheduler stopped, access denied
were recorded.

Does this have something to do with the BIOS?? I am using a IBM-Thinkpad R51
2887MQ5 notebook.

Thanks,
Kowshik
 
G

Guest

Ramesh,

I also checked the help and support for these messages and it asked me to
run the command 'sc query schedule'. The output of it is given below

C:\Documents and Settings\Kowshik>sc query schedule

SERVICE_NAME: schedule
TYPE : 20 WIN32_SHARE_PROCESS
STATE : 1 STOPPED
(NOT_STOPPABLE,NOT_PAUSABLE,IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 5 (0x5)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0

In the help and support it was said that the win32_exit_code would be useful
for troubleshooting.

Thanks,
Kowshik

C:\Documents and Settings\Kowshik>


Kowshik said:
Hello Ramesh,

I got a few errors in the even log of which one was repeating continuously.

"\Device\ACPIEC: The embedded controller (EC) hardware returned data when
none was requested. This may indicate that the BIOS is incorectly trying to
access the EC without syncronizing with the OS. The data is being ignored.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp."

Before this error, 2 events were recorded

--The Task Scheduler service was successfully sent a start control.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

--The Task Scheduler service entered the running state.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

After these two events, the above error got repeated 5 times as a warning.
After the warning messages, events like task scheduler stopped, access denied
were recorded.

Does this have something to do with the BIOS?? I am using a IBM-Thinkpad R51
2887MQ5 notebook.

Thanks,
Kowshik

Ramesh said:
Kowshik,

Interesting problem! Any errors registered in the event log?

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Hello Ramesh,

Tried installing the task scheduler but the same thing happens. It starts
when I restart my computer but goes down when I add a scheduled task.

Thanks,
Kowshik
 
R

Ramesh, MS-MVP

Kowshik,

The error code 5 usually indicates Access Denied error. I'm running out of ideas now, but will make a note of this issue.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Ramesh,

I also checked the help and support for these messages and it asked me to
run the command 'sc query schedule'. The output of it is given below

C:\Documents and Settings\Kowshik>sc query schedule

SERVICE_NAME: schedule
TYPE : 20 WIN32_SHARE_PROCESS
STATE : 1 STOPPED
(NOT_STOPPABLE,NOT_PAUSABLE,IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 5 (0x5)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0

In the help and support it was said that the win32_exit_code would be useful
for troubleshooting.

Thanks,
Kowshik

C:\Documents and Settings\Kowshik>


Kowshik said:
Hello Ramesh,

I got a few errors in the even log of which one was repeating continuously.

"\Device\ACPIEC: The embedded controller (EC) hardware returned data when
none was requested. This may indicate that the BIOS is incorectly trying to
access the EC without syncronizing with the OS. The data is being ignored.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp."

Before this error, 2 events were recorded

--The Task Scheduler service was successfully sent a start control.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

--The Task Scheduler service entered the running state.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

After these two events, the above error got repeated 5 times as a warning.
After the warning messages, events like task scheduler stopped, access denied
were recorded.

Does this have something to do with the BIOS?? I am using a IBM-Thinkpad R51
2887MQ5 notebook.

Thanks,
Kowshik

Ramesh said:
Kowshik,

Interesting problem! Any errors registered in the event log?

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Hello Ramesh,

Tried installing the task scheduler but the same thing happens. It starts
when I restart my computer but goes down when I add a scheduled task.

Thanks,
Kowshik
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top