Task scheduler in windows 2008 std. edition
Tasks is not running as scheduled. Couldn't run it manually either. It seems to hung and doesn't give an error message to trace the problem. I have gone through all the steps mentioned on every nett but doesn't help to fix the problem yet.
The scheduler service is also grayed out and it's not possible to restart it after every small changes. It's difficult to boot a server in prod every time things are changing. Any one who came accross this issue and can give me a solution?
July 7th, 2011 9:56am
Hi, do you receive any error if you use CMD (run as administrator) and "net start schedule" to start Task Scheduler service?
Have you tried run services.msc as Administrator to start the service?
•Click the Start orb
•Type Services in the Start Search box
•Right-Click Services, and select Run as Administrator
If you are prompted for an administrator password or confirmation, type your password or click Continue
•Right-click the Task Scheduler Service and select Restart
If this does not fix the problem you may want to use the System File Checker tool. Please follow the instructions below.
To run the System File Checker tool, follow these steps:
Click the Start orb, and then type cmd in the Start Search box
•Right-click cmd in the Programs list, and select Run as administrator.
•If you are prompted for an administrator password or confirmation, type your password or click Continue
•At the command prompt, type the following line, and then press ENTER:
sfc /scannow
If the issue still occurs, you can run the following command and let us know the result:
cmd /k sc qc schedule
Hope this helps!Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
July 12th, 2011 3:06am
Hei,
Thanks a lot for your reply. I have done just like you have mentioned but the problem still exists. Task scheduler service is running and configured to run automatic. But can not be configured manually either to stop, start or restart. It's grayed out. I
have to boot the server to be sure that the service is restarted after I make changes which requires restart of the service.
I run command line as administarator and tried to stop the service, net stop "task scheduler" but got a message "System error 5 has occured. Access is denied"
I run the command line as administrator and run sfc /scannow. The verification completed with this message "Windows resource protection found corrupt files but was unable to fix some of them". It generates a log file under C:\windows\Logs\CBS\CBS.log
I run the command line as administrator and run cmd /k sc qc schedule with the following result
C:\>cmd /k sc qc schedule
[SC] QueryServiceConfig SUCCESS
SERVICE_NAME: schedule
TYPE : 20 WIN32_SH
START_TYPE : 2 AUTO_STA
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : C:\Windows\s
LOAD_ORDER_GROUP : SchedulerGro
TAG : 0
DISPLAY_NAME : Task Schedul
DEPENDENCIES : RPCSS
: EventLog
SERVICE_START_NAME : LocalSystem
I appriciate your generous reply!TGB
July 12th, 2011 8:02am
Hi, since the issue can be caused by corrupted files during SFC/scannow, you can upload the CBS log for further research.
For your convenience, I have created a workspace for you. You can upload the information files to the following link. (Please choose "Send Files to Microsoft")
Workspace URL: (https://sftus.one.microsoft.com/choosetransfer.aspx?key=5c260605-4dd1-4180-9331-55230a978bb4)
Password: )enb9VH!qjEH[hW
Note: Due to differences in text formatting with various email clients, the workspace link above may appear to be broken. Please be sure to include all text between '(' and ')' when typing or copying the workspace link into your browser.
Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
July 13th, 2011 3:39am
Ok, I have already sent the log file.
Thank you!TGB
July 13th, 2011 4:54am
Hi, below is what I found in the CBS log:
2011-07-12 10:39:41, Info CSI 00000128 [SR] Could not reproject corrupted file [ml:520{260},l:88{44}]"\??\C:\Windows\security\msscw\TransformFiles"\[l:32{16}]"scwvariables.xml";
source file in store is also corrupted
2011-07-12 10:43:34, Info CSI 00000191 [SR] Could not reproject corrupted file [ml:520{260},l:88{44}]"\??\C:\Windows\security\msscw\TransformFiles"\[l:32{16}]"scwvariables.xml";
source file in store is also corrupted
You can try replacing the file on a working Windows Server 2008 computer or perform a In-Place Upgrade on the computer:
How to Perform an In-Place Upgrade on Windows Vista, Windows 7, Windows Server 2008 & Windows Server 2008 R2
http://support.microsoft.com/kb/2255099
Regarding the Task Scheduler service issue, I suggest you check the following solution:
(Note: remember to backup the registry entry before you modify it.)
1. Open your registry, Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule
2. Find the REG_DWORD called Start.
3. Modify the setting and change it to 2.
4. Find the REG_DWORD called Type.
If it does not say 20 (hex) 32 (dec) then change it.
5. Close the registry, and reboot and see if it works.
Another thread that you can refer to:
http://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/4c18c224-d23c-4b4e-9fc3-e1569f34e388/
Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
July 14th, 2011 3:55am