I am a bit confused on how to schedule a task to run on system startup as SYSTEM with schtasks command line and I have read MS's documentation on schtasks.exe. Can someone here help me.
The following command schedules the MyApp program to run every time the system starts, beginning on March 15, 2001: the date is optional.
schtasks /create /tn "My App" /tr c:\apps\myapp.exe /sc onstart /sd 03/15/2001
Using /RU SYSTEM makes a task run as the system.
For additional info, see http://support.microsoft.com/kb/814596
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With