Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Permissions Needed to Add a Task Using Task Scheduler 2.0

Reply
Thread Tools Display Modes

Permissions Needed to Add a Task Using Task Scheduler 2.0

 
 
João Bragança
Guest
Posts: n/a

 
      05-29-2008
I am developing a component that uses the Task Scheduler 2.0 COM API
(via the managed wrapper available here: http://www.codeplex.com/taskscheduler
). The call to RegisterTaskDefinition works fine if I run the code as
a Domain Administrator. However this code is supposed to run under a
regular user. When I run the code as that user I get HRESULT
0x80070005 (E_ACCESSDENIED). I have searched through the local
security policy on my vista machine I can't find anything. I tried
giving the user in question read/write/delete access the corresponding
task folder in system32\Tasks\... I am not sure what else to do, but I
am certain I don't want to make this user an administrator!
 
Reply With Quote
 
 
 
Reply

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
Task Scheduler repeat task duration bug? sm02463 Windows Vista General Discussion 4 12-06-2008 06:40 PM
Task Scheduler Task Accidental Deletion DownTheShore Windows Vista Performance 4 05-23-2008 10:17 PM
Task scheduler returns an error : the task image is corrupt ortamp Jean-David Windows Vista Performance 2 05-03-2008 02:02 PM
Task Scheduler: Repeat Task and Duration kirsch59 Windows Vista General Discussion 6 07-11-2007 09:01 PM
Task scheduler problem : task do not close Junkyard Engineer Windows Vista General Discussion 0 06-07-2007 01:51 AM



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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59