Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Task Scheduler gets it wrong

17 Dec 2009   #1

Windows 7
Task Scheduler gets it wrong

I've created a task in the Task Scheduler. It's supposed to run a particular BAT file every night at 4:00. The file runs fine when executed in a console. What it does is simple enough: start robocopy to copy any changed files to a network drive.

Because it is a network drive I cannot use "System" or "Backup" as a user because they won't have access to that network drive. I checked this and got indeed "Drive not found".

But when I use my own user-id together with the checkbox "run whether user is logged on or not" ticked the task manager keeps telling me that the task is going to run at the defined time but it doesn't. I'm not only missing the action as such (copying changed files and writing to the log file) but it doesn't turn up in the history tab or in the "Last Run Time" column either.

But why not?

Advice is very welcome.

My System SpecsSystem Spec
18 Dec 2009   #2

Windows 7 Profession 64-bit

Where is this network drive? If on another computer, is that computer "awake" at the time? If not, you may have enable "Wake on LAN" in the BIOS.

You might try setting it to run when you can be sitting in front of the computer (and awake yourself ) to see if anything is happening.
My System SpecsSystem Spec
18 Dec 2009   #3

Windows 7 Pro 32bit

I had a similar problem using WinRAR to create a backup on a networked drive. The cure was to specify the path to the drive in UNC format rather than by the drive letter assigned to it.
My System SpecsSystem Spec

19 Dec 2009   #4

Windows 7

Thanks guys but the network drive is not the problem; the task does not start. The Task Scheduler does clearly point this out. To be sure I've put a first line
echo "hello" > c:\task.txt
into the batch file. As a result there is such a file in case the user is "System" or "Backup" but not when it's me.
My System SpecsSystem Spec

 Task Scheduler gets it wrong

Thread Tools

Similar help and support threads
Thread Forum
Need help creating a task scheduler task to move files over a network.
Hello everyone, I need to have a task run that will move the contents of a folder from one computer to another over my home LAN. Files get downloaded during the night on one computer and then need to be transfered to another. Usually I am doing this by hand, but then though maybe I could get...
General Discussion
Task Scheduler - Create Task to Display a Message Reminder
How to Display a Message Reminder in Windows with Task Scheduler This will show you how to create yourself, or another user or group, a message reminder scheduled to display for when and how often you like in Windows 7 or Vista using Task Scheduler. All users on the computer will be able to...
Can't create a task in task scheduler, account unknown.
"Task scheduler cannot create the task. The user account is unknown, the password is incorrect, or the user account does not have permission to create this task." I'm getting that message. I read you needed a passworded account to create a task, so I made a new account because I didn't want a...
General Discussion
Task scheduler unable to load task status/active tasks at startup.
My task manager is unable to load task status/active tasks at startup. I get the message: "The selected task "{0}" no longer exists. To see the current tasks, click Refresh." When I refresh I get the same message. I checked and found that under Microsoft the problem was in the defrag...
Performance & Maintenance
Task Scheduler failing to start task with merged network locations
I have two routers I usually connect to (work and home) and each have wireless access. That means there are essentially 4 network locations I have listed. I have merged each respective network location (wired and wireless) into their own singular network location - "Work" and "Home". I also...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 19:17.
Twitter Facebook