Quantcast
Channel: Task Scheduler Managed Wrapper
Viewing all articles
Browse latest Browse all 2206

New Post: Logon Trigger

$
0
0
I just recently tried the following snippet:
new TaskService().AddTask("Test", new LogonTrigger(), new ExecAction("AnExecutable.exe", null, null));
And I get: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

I'm using the latest DLL and I'm also able to create both daily and weekly triggers.

Any ideas on why the LogonTrigger wouldn't be working?

Viewing all articles
Browse latest Browse all 2206

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>