# Task Scheduler Configure for: Windows 7 Bug

**URL:** <https://forums.toadworld.com/t/task-scheduler-configure-for-windows-7-bug/30056>\
**Category:** Toad Data Point & Toad Intelligence Central\
**Created:** [May 21, 2014, 8:18am UTC](https://forums.toadworld.com/t/task-scheduler-configure-for-windows-7-bug/30056 "2014-05-21T08:18:27Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![JustinL](https://avatars.discourse-cdn.com/v4/letter/j/d07c76/32.png) [@JustinL](https://forums.toadworld.com/u/JustinL)\
**Post date:** [May 21, 2014, 8:18am UTC](https://forums.toadworld.com/t/task-scheduler-configure-for-windows-7-bug/30056/1 "2014-05-21T08:18:27Z")

</div>

Since upgrading to TDP 3.5 any scheduled tasks that were configured for Windows 7 in the task scheduler no longer launch TDP. ![Configure For.jpeg](https://global.discourse-cdn.com/quest/original/2X/e/e077249660324c46bb907aac94b57a84f281f3cf.jpeg)

The task has been changed to be configured for Windows 7 because it allows you to create custom events that trigger a task. The task launches as it should however TDP does not run and the task gets marked complete in Task Scheduler. The same task if it stays configured for Windows XP will run TDP without issue however I cannot use custom triggers then.

Is this a known bug or are TDP scheduled tasks required to be configured for Windows XP going forward?

---

<div class="post-metadata">

**Author:** ![DaveStt](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@DaveStt](https://forums.toadworld.com/u/DaveStt)\
**Post date:** [May 21, 2014, 10:03am UTC](https://forums.toadworld.com/t/task-scheduler-configure-for-windows-7-bug/30056/2 "2014-05-21T10:03:59Z")

</div>

Did you check the “Actions” tab to make sure it is calling TDP from the correct directory? You may have update the program path since you upgraded.

C:\Program Files (x86)\Dell\Toad Data Point 3.5\toad.exe

---

<div class="post-metadata">

**Author:** ![JustinL](https://avatars.discourse-cdn.com/v4/letter/j/d07c76/32.png) [@JustinL](https://forums.toadworld.com/u/JustinL)\
**Post date:** [May 21, 2014, 10:11am UTC](https://forums.toadworld.com/t/task-scheduler-configure-for-windows-7-bug/30056/3 "2014-05-21T10:11:51Z")

</div>

I have checked the actions tab, it is calling TDP from the new directory. I have even created the schedule through TDP and changed the task in Task Scheduler to be configured for Windows 7 and added the custom trigger to ensure that is was pointing to the right directory.

---

<div class="post-metadata">

**Author:** ![DaveStt](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@DaveStt](https://forums.toadworld.com/u/DaveStt)\
**Post date:** [May 21, 2014, 10:48am UTC](https://forums.toadworld.com/t/task-scheduler-configure-for-windows-7-bug/30056/4 "2014-05-21T10:48:36Z")

</div>

I am just a user but I have in the past used a batch file I am not sure if it will help you but:

Paste the following into notepad and save as a .bat

“C:\Program Files (x86)\Dell\Toad Data Point 3.5\toad.exe” -batch=true %1

Create a new task “Create task” \> in the Actions tab you call the batch file then you paste the TAS path into the arguments box.

---

<div class="post-metadata">

**Author:** ![JustinL](https://avatars.discourse-cdn.com/v4/letter/j/d07c76/32.png) [@JustinL](https://forums.toadworld.com/u/JustinL)\
**Post date:** [May 21, 2014, 12:34pm UTC](https://forums.toadworld.com/t/task-scheduler-configure-for-windows-7-bug/30056/5 "2014-05-21T12:34:22Z")

</div>

Using a batch seems to work flawlessly with TDP 3.5 and custom event triggers.

Thanks for you help Dave.

---

<div class="post-metadata">

**Author:** ![DaveStt](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@DaveStt](https://forums.toadworld.com/u/DaveStt)\
**Post date:** [May 21, 2014, 12:45pm UTC](https://forums.toadworld.com/t/task-scheduler-configure-for-windows-7-bug/30056/6 "2014-05-21T12:45:48Z")

</div>

You’re welcome, I am glad I could help. You can use that file for all your scheduled tasks so the next time you upgrade you will only have to edit the batch file path to 3.6 etc. A lot easier than editing all the task manually.

---

<div class="post-metadata">

**Author:** ![N.B](https://avatars.discourse-cdn.com/v4/letter/n/bc8723/32.png) [@N.B](https://forums.toadworld.com/u/N.B)\
**Post date:** [June 17, 2014, 4:45pm UTC](https://forums.toadworld.com/t/task-scheduler-configure-for-windows-7-bug/30056/7 "2014-06-17T16:45:38Z")

</div>

Hi Dave, Justin -

Does this solution work for un-attended scheduled tasks? We’re still running TDP on Windows XP because on Windows 7, the user account that the scheduled task is setup under must remain logged into the machine, whereas on Windows XP it did not.

I’m curious if calling the batch file and passing the path to the .tas file has resolved this issue.

---

<div class="post-metadata">

**Author:** ![JustinL](https://avatars.discourse-cdn.com/v4/letter/j/d07c76/32.png) [@JustinL](https://forums.toadworld.com/u/JustinL)\
**Post date:** [June 18, 2014, 8:01am UTC](https://forums.toadworld.com/t/task-scheduler-configure-for-windows-7-bug/30056/8 "2014-06-18T08:01:53Z")

</div>

Hi N.B.,

This solution does not seem to allow a script to be run when the user is not logged on. It works fine while the computer is locked.

I just tested a task being triggered while not logged on. The task is record as being started within Task Scheduler however does not complete or launch TDP.

---

<div class="post-metadata">

**Author:** ![N.B](https://avatars.discourse-cdn.com/v4/letter/n/bc8723/32.png) [@N.B](https://forums.toadworld.com/u/N.B)\
**Post date:** [June 18, 2014, 12:50pm UTC](https://forums.toadworld.com/t/task-scheduler-configure-for-windows-7-bug/30056/9 "2014-06-18T12:50:47Z")

</div>

Darn! I was hoping that would work. We’ve been unable to migrate our automated tasks to our Windows 7 machines because of that.

---

<div class="post-metadata">

**Author:** ![mgraham\_015](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@mgraham\_015](https://forums.toadworld.com/u/mgraham_015)\
**Post date:** [June 19, 2014, 9:41am UTC](https://forums.toadworld.com/t/task-scheduler-configure-for-windows-7-bug/30056/10 "2014-06-19T09:41:34Z")

</div>

On Windows 2008 R2, I have been able run my automated tasks whether logged in or not. I have it set to run whether the user is logged in or not and not set to Run with highest privileges although I am a Domain admin.

![8270.Capture.jpeg](https://global.discourse-cdn.com/quest/original/2X/4/4d2a4b2c0a57da1cb241444926add7e951165dd3.jpeg)

---

<div class="post-metadata">

**Author:** ![JustinL](https://avatars.discourse-cdn.com/v4/letter/j/d07c76/32.png) [@JustinL](https://forums.toadworld.com/u/JustinL)\
**Post date:** [June 19, 2014, 10:02am UTC](https://forums.toadworld.com/t/task-scheduler-configure-for-windows-7-bug/30056/11 "2014-06-19T10:02:41Z")

</div>

I just re-ran the test I tried yesterday with an admin account and it does execute correctly when the user is not logged in. So scheduled tasks need admin privileges to execute when the user is not logged in.
