Link to home
Start Free TrialLog in
Avatar of GingerKitty
GingerKitty

asked on

"Task Scheduler service is not available. Task Scheduler will attempt to reconnect to it."

I'm getting this error "Task Scheduler service is not available. Task Scheduler will attempt to reconnect to it."  while trying to create a very simple task.  
I've read a handful or articles online already including the ones about changing the registry, and so far no luck with anything suggested there.  Not sure what else to do, but I am running out of options.  This started as an SSIS job that throws an access is denied error no matter what.  So a scheduled task to run a batch file to move files should be a decent alternative, except that I can't build my task to go get my files for processing.  Please help!!
Avatar of Koen Van Wielink
Koen Van Wielink
Flag of Netherlands image

Ok, this is probably a very obvious question but I have to ask it anyway. Have you checked the windows services to see what's going on with the task scheduler service? Is it turned off? What happens when you manually try to start it?
Avatar of GingerKitty
GingerKitty

ASKER

Hi Koen,
Yes, I checked that first; the service is running, and under properties it is set to run the service automatically, and also keep trying to restart if it fails.  I did the stop and manually restart as well just to make sure, but I still get the same error even though the service is running.
One thing that might be causing me grief with my batch file is that the task scheduler runs as local system, and maybe it needs to run as sysadmin since sysadmin has rights to the location where I have to move the file from?  I went to change the user the service runs as, and everything is grayed out.  How can I change that user?
Hi Ginger,

I thought I posted that exact question but apparently I screwed that one up :p.
Anyway, I had a look at our own environment where we have a bunch of scheduled tasks and it seems you're indeed not supposed to change the user account of the task scheduler. Did you also happen to check under the dependencies whether all the services on which the task scheduler is dependent are running properly?
Another thing to check, what are the security rights on the folder which you're trying to manipulate? During your testing phase, I would make sure the full control has been given to "Everyone". If that solves the issue you know where to look. If not, you know it's not a folder or file rights issue.
ASKER CERTIFIED SOLUTION
Avatar of GingerKitty
GingerKitty

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
it isn't exactly how I wanted my process to run, but it gets the job done.