Hey All,
I came across an issue the other day while creating a backup .bat file. Long story short, the Task Scheduler process isn't running on my machine.
So first things first I go out on the net and look for the specific file name for the process task scheduler. I come up with Schtasks.exe. OK assuming this correct i do a search on my server for Schtasks.exe, sure enough it exists in %system32%, the date it was created is the same date it was modified (Thinking to myself OK doesn't look like this file has been compromised by any viruses) Looking at the accessed date it shows todays date.
Now i take the next step and try to start the process manually. Again Task Scheduler does NOT show up in services.msc I go into CMD prompt issue a Net Start to view running services. Again no task scheduler or scheduler process. I type net start "task scheduler" and receive a error "the service name is invalid". Ok so i try net start scheduler, same error message.
Ok so now i go into the scheduled tasks folder, I create a new test task, using the calculator, go through the prompts, enter the administrator password then this is the error message i receive:
Task Scheduler
The new task has been created, but may not run because the account information could not be set. The specific error is: 0x80041315: The Task Scheduler Service is not running.
Now, i go back to scheduled tasks folder, find the newly created calculator task and right click it and select run. It prompts me with:
The service is currently stopped. No tasks will run unless the service is started. Do you want to start the service now?
So i select yes, thinking this will solve my problem...and a few moments later i receive:Unable to start the service
Another interesting aspect to this is when i enter the Manage MMC then attempt to open "services and applications" i receive: MMC has detected an error in a snap-in. It is recommended that you shut down and restart MMC. I can continue by choosing to ignore errors and not report to Microsoft.
Finally i came across stating that the task scheduler service must be started with the System Account.
The KB article lists how to correct this:
1. Right-click My Computer and from the drop down menu click Manage.
2. From the Services and Applications menu, click Services.
3. From the right scroll down menu, double-click Task Scheduler.
4. Click the Log On tab, select the Local System Account and Allow Service to Interact with Desktop options, and then click Apply.
5. Click the General tab, click Start.
However, Because Task Scheduler doesn't show up in services.msc and because accessing "services and applications" via the management route bombs out the MMC snap-in and it wouldn't matter anyway i guess cause it still wont be in the process list.
SO how can i check/change Task Scheduler LogOn properties?
Thanks In Advance!
I came across an issue the other day while creating a backup .bat file. Long story short, the Task Scheduler process isn't running on my machine.
So first things first I go out on the net and look for the specific file name for the process task scheduler. I come up with Schtasks.exe. OK assuming this correct i do a search on my server for Schtasks.exe, sure enough it exists in %system32%, the date it was created is the same date it was modified (Thinking to myself OK doesn't look like this file has been compromised by any viruses) Looking at the accessed date it shows todays date.
Now i take the next step and try to start the process manually. Again Task Scheduler does NOT show up in services.msc I go into CMD prompt issue a Net Start to view running services. Again no task scheduler or scheduler process. I type net start "task scheduler" and receive a error "the service name is invalid". Ok so i try net start scheduler, same error message.
Ok so now i go into the scheduled tasks folder, I create a new test task, using the calculator, go through the prompts, enter the administrator password then this is the error message i receive:
Task Scheduler
The new task has been created, but may not run because the account information could not be set. The specific error is: 0x80041315: The Task Scheduler Service is not running.
Now, i go back to scheduled tasks folder, find the newly created calculator task and right click it and select run. It prompts me with:
The service is currently stopped. No tasks will run unless the service is started. Do you want to start the service now?
So i select yes, thinking this will solve my problem...and a few moments later i receive:Unable to start the service
Another interesting aspect to this is when i enter the Manage MMC then attempt to open "services and applications" i receive: MMC has detected an error in a snap-in. It is recommended that you shut down and restart MMC. I can continue by choosing to ignore errors and not report to Microsoft.
Finally i came across stating that the task scheduler service must be started with the System Account.
The KB article lists how to correct this:
1. Right-click My Computer and from the drop down menu click Manage.
2. From the Services and Applications menu, click Services.
3. From the right scroll down menu, double-click Task Scheduler.
4. Click the Log On tab, select the Local System Account and Allow Service to Interact with Desktop options, and then click Apply.
5. Click the General tab, click Start.
However, Because Task Scheduler doesn't show up in services.msc and because accessing "services and applications" via the management route bombs out the MMC snap-in and it wouldn't matter anyway i guess cause it still wont be in the process list.
SO how can i check/change Task Scheduler LogOn properties?
Thanks In Advance!