Troubleshooting Windows Task Scheduler


Had a nice issue with this, a few tasks were set to run on a server, running .bat files.

okay so ? all simple till now 😉

here’s what i found:

1 – the task was set to run under a specific user.

2 – that user was given “Log on as a batch job” security assignment on that server.

3 – the bat was failing to start in task scheduler.

4 – there were other jobs , running VBS and running okay !

now .. i’ve scratched my head a bit a found this great article about how to toubleshoot:

http://www.shijaz.com/windows/taskscheduler.htm a great article , check it out ! the site also has some great stuff for ISA Server & Exchange if you into it..

in section 2.b it referenced my Part 1 solution, the bat file had a reference to a MAPPED drive ! running non-interactive = no mapped drives.

Part 2 solution

going back to point 4 , i’ve figured its a security issue , although the user had the “log on as batch job” right .. CMD.EXE was manually edited with security permissions, BUILTINBATCH group was missing the read/execute security permission on it.

There .. now it works 🙂

Advertisements

About ilantz

I am a technology enthusiastic, I've been working as an IT consultant since late 2007, I attained extensive experience with Microsoft's Exchange Server, Active Directory, Forefront products and the Windows server platform. I love designing solutions, handling security measures, architecture and advanced troubleshooting.
This entry was posted in Misc. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s