Scheduled task runs if logged onto server but not if logged off

Hi - I'm running Windows 2003 Server and have a number of scheduled tasks that are running fine. However one created by Genie Online Backup only runs if I'm logged in remotely to the server and not in the middle of the night when I'm not. I guesse this was because it wa not using the correct user account so have entered the Administrator details - but still no joy. Any ideas?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I don't have access to a Server 2003 system right now so I'm working from memory. Open the scheduled task manager and edit the properties of the backup task in question. There's a checkbox that allows the task to run regardless of whether or not the assigned user account is logged in.
BTW, be careful about changing the user account under which this type of task runs. You may encounter security problems using a different account.
Also verify that the task doesn't reference any paths with mapped network drives.  If so, change them to UNC paths (e.g. \\server\share).

Check the log at %systemroot%\SchedLgU.Txt to see if there are any informative errors.
TedMoreyAuthor Commented:
Hi again

>> Open the scheduled task manager and edit the properties of the backup task in question. There's a checkbox that allows the task to run regardless of whether or not the assigned user account is logged in.

This sounds exactly what's not happening but I am unable to find this option - can you be more specific as its location?
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

I believe barryr was referring to the "Run only if logged on" checkbox.

TedMoreyAuthor Commented:
I don't have that checkbox option showing on my screen - just "Enabled (scheduled task runs at specified time)".Is this not being shown because I have some security option turned off or because I am using Windows 2003 Server rather than something newer??
That box ought to be present in Server 2003.  Does your system have SP1 or 2 applied?

I don't see any group policy settings which would hide it.
A batch job can reference mapped drives. For example:

IF NOT EXIST "S:\some-folder" (NET USE S: \\mumble\some-folder password /USER:username /PERSISTENT:YES) ELSE (ECHO S Drive is Mounted)
It can if you specifically include net use commands like that, but there's almost never a reason to.  UNC paths work perfectly well unless you have to cd to the directory.
Forgive me for be argumentative and off-topic, but there actually is a reason not to use UNC paths. My group uses an application program that uses a fairly large and complex on-disk structure (in addition to a database). It contains many internal settings (global and user-specific) that refer to specific files and folders. So everyone who uses the application simply maps a share on a file server.

In theory, it would be possible to change all of those internal settings into UNC paths. But I don't think that's a good idea. What if I have to move the disk structure to a different file server? By using a mapped drive, moving the structure would be entirely painless and transparent to application users.
TedMoreyAuthor Commented:
Hi guys - I am not using any mapped / network drives - so that's not the problem. I have looked at the system and it says it's Windows Server 2003 Web Edition. Hope that helps.
TedMoreyAuthor Commented:
Hi - has anyone got any further thoughts on this??

Did you edit and save the backup job? Genie has this issue, if you edit the backup job it will allow you to save it, but it won't run if user logged off without entering the username and password again.

Also, make sure that the task scheduler service is running.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
The accepted solution has much more to do with a specific application (Genie) than the Windows 2003 Task scheduler. The points are not the issue. The "Accepted Solution" is unlikely to be of value to anyone else with the same initial question: "Scheduled task runs if logged onto server but not if logged off."
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.