Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

Add to startup with Task Scheduler COM

Hello!
This is a wrapper for Schedule.Service that is the COM implementation of Task Scheduler API for Windows.
You can use it instead of Run registry key to start your executable on computer boot.




Example Usage :



Remember that this only works with an adminstrator account, on normal account E_ACCESSDENIED is thrown.
To "fix" this problem you can look at gigajew code there

If you want, you can check out my blog to see COMObject class inner workings explained.
Exploring .NET reflection COM gate


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by ArcticSlayApr 13, 2020 12:37 AM 7 325 Apr 13, 2020 12:37 AM
Last Post: Mohinder
[Shell] by f4keg0dSep 13, 2019 05:35 AM 2 232 Sep 13, 2019 05:35 AM
Last Post: f4keg0d
[.NET] by Alx0Dec 15, 2018 09:33 AM 2 212 Dec 15, 2018 09:33 AM
Last Post: Alx0