Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Vista Community > Windows Vista

Windows Vista Discuss the different versions of Windows Vista, Fuji, or Vienna

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 05-29-2008, 12:50 PM
João Bragança
Newsgroup Contributor
 
Posts: n/a
Permissions Needed to Add a Task Using Task Scheduler 2.0

I am developing a component that uses the Task Scheduler 2.0 COM API
(via the managed wrapper available here: [url]http://www.codeplex.com/taskscheduler[/url]
). 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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 05-29-2008, 12:50 PM
Reply

Bookmarks

Thread Tools

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 Off
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Task Scheduler repeat task duration bug? sm02463 Windows Vista 5 02-14-2009 03:29 PM
Delete task from Task Scheduler Jimbo Windows Vista 2 03-05-2008 08:20 AM
task scheduler doesn't start delayed task wuschba Windows Vista 7 07-26-2007 01:12 AM
Task Scheduler: Repeat Task and Duration kirsch59 Windows Vista 6 07-11-2007 02:10 PM
Task scheduler problem : task do not close Junkyard Engineer Windows Vista 0 06-06-2007 07:00 PM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 04:08 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0