Getting Task Scheduler to work whilst logged off

  tonyB1983 15:58 PM 17 Aug 11
Locked

Hi,

Have looked through many forums about how to solve the issue I'm having and nothing seems to work for me!

I am trying to get Windows Server 2008 R2 to run a batch file (*.bat) at a scheduled time. I can run the batch file manually (i.e. executing the batch file by double clicking it), so I know the commands in the batch file definitely work. So far the only way I seem to be able to get the task to run as scheduled is when I leave the option checked "run only when user is logged in". If I change it to the other one (i.e. "run whether user is logged in or not") then it won't run properly at all (logged in or not). If I try running the task manually, it changes it's status to "running" and doesn't do anything else.

I've checked the log history and it says that the task completed successfully (Event ID's 102 and 201, operational code (2)), but I can see that it hasn't!

I've already tried this solution, but it didn't work for me.

The only workaround I have discovered is to leave my session logged in constantly, but this isn't really ideal :/

Please help! Thanks

Advertisement

This thread is now locked and can not be replied to.

New Moto G 2015 confirmed: Motorola Moto G UK release date, price and specification details - New…

Why Vodafone’s frequency choice should interest you: The benefits of 800MHz

Digital visionaries lined up for dConstruct

Apple Pay UK launch guide and participating UK banks: HSBC, First Direct finally support Apple Pay