We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message
Contact Forum Editor

Send an email to our Forum Editor:


PLEASE NOTE: Your name is used only to let the Forum Editor know who sent the message. Both your name and email address will not be used for any other purpose.

Tech Helproom


It's free to register, to post a question or to start / join a discussion


 

Getting Task Scheduler to work whilst logged off


tonyB1983

Likes # 0

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

Like this post

Reply to this topic

This thread has been locked.



IDG UK Sites

Where to buy iPhone 6 and iPhone 6 Plus in the UK: Launch day price, deals and contracts

IDG UK Sites

Is Apple losing confidence in itself?

IDG UK Sites

Professional photo and video techniques for perfect colours

IDG UK Sites

How (and where) to buy an iPhone 6 or iPhone 6 Plus in the UK. Plus: What to do if you pre-ordered...