Header

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.



Driver Scanner 2009 - Free Scan Now

Why Task Scheduler in Windows 7 Professional asks for password every time task is bei

Security




Recommended Fix - Fix Windows 7 Errors and Optimize Performance

Reply
  #1 (permalink)  
Old 12-21-2009
Senior Member
 
Join Date: Oct 2009
Posts: 54,634
Win7Tech is on a distinguished road
Default Why Task Scheduler in Windows 7 Professional asks for password every time task is bei

On a machine running “Windows 7 Professional” I have created a task with option “Run whether user is logged on or not”. When I create the task I am asked the user credential to run the task. Issue is that every time I edit the task, say merely updating the task description, every time I am being asked to provide password. Why it is like so?
In Windows XP, when editing the task next time, it doesn’t ask for password.

I have used Task Scheduler COM API 1.0 in a C# application to create and edit tasks programmatically. In Windows XP environment when user edits the task through the C# application, I save the task with updated information without asking for the password. And it works just fine.

*

But in Windows 7 environment, edited task information is getting saved and C# application is successfully getting back the last saved information. But only issue is that changes are NOT reflecting in “Windows Task Scheduler” panel and also changes are NOT taking effect. Say if a daily task run time is changed from 4 PM to 8 PM, it does not work. Though when C# application query the task information from Windows, it get back 8 PM.

*

When C# application edits and save the task information along with user credentials every time, all works just fine. But I see it a nuisance every time asking for password.

*



More...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply

Bookmarks

Tags
services, windows 7

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to make task scheduler do a task when user log off msnews Windows 7 Miscellaneous 0 11-14-2009 13:06
task scheduler - running task after scheduled start is missed msnews Windows 7 Miscellaneous 0 11-06-2009 11:27
Task Scheduler Won't Run Task With Idle Condition msnews Windows 7 Miscellaneous 0 10-09-2009 18:31
Task Scheduler msnews Windows 7 Miscellaneous 0 09-25-2009 01:30
task scheduler in Windows 7 msnews Windows 7 Miscellaneous 0 06-20-2009 17:07


All times are GMT +1. The time now is 23:41. Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0








1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44