Task Schedule stop and disable automatically


hi everyone!

we running trouble that, service task schedule auto stop , disable, have manual started many time, it's stop , disable automatically. our server windows 2008 r2 sp1.

please kindly show how keep service task schedule away start.

thanks,

van cong khanh

hi,

according research, issue may related gpo. please following test:

enable task scheduler , run gpupdate /force.

if task scheduler gets disabled. can being done gpo.

in addition, below steps make task scheduler service more stable.

1. open “c:\windows\system32” folder, copy “svchost.exe” “svchost1.exe”.

2. please open regedit , found key “hkey_local_machine\system\currentcontrolset\services\schedule”, check setting “imagepath”, should related “svchost.exe”.

please modify file name “svchost1.exe”.

3. open “services.msc” , restart “task scheduler” service, check “task manager”, should see service process named “svchost1.exe”.

this method isolate task scheduler service independent process, won’t impact function of service, isolate potential hang issue of other services. (by default, task scheduler” share same process 10 services, 1 of them hangs, “task scheduler” service can’t restarted.)

4. create batch file named “c:\windows\restart_task_service.bat”, set these 2 commands inside.

net stop schedule

net start schedule

5. set scheduled job run batch file every xxx @ xx:xxam/pm (make sure time has no other conflicting job, setting in time can avoid batch file error.)

best regards,

alvin wang


please remember mark replies answers if , un-mark them if provide no help. if have feedback technet subscriber support, contact tnmff@microsoft.com.



Windows Server  >  Management



Comments

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

Disconnecting from a Windows Server 2012 R2 file sharing session on a Windows 7,8,10 machine

Event ID 64,77,1008 Certificates Events Windows Server 2008, 2008R2