You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
startuptask
About this tag
The startuptask tag on WindowsForum.com covers discussions about configuring applications and tasks to run automatically when Windows starts or a user logs in. Topics include enabling startup for Universal Windows Apps via manifest and code changes, as well as scheduling one-time tasks using the built-in schtasks command with the ONSTART trigger. Users seek guidance on both GUI and command-line methods for managing startup behavior, with a focus on practical troubleshooting and implementation details for Windows 10 and later versions.
For a long time, desktop PC users have been able to configure Win32 apps to start at startup or user log-in. This has also been possible for Desktop Bridge apps since the Windows 10 Anniversary Update (v10.0.14393.0). We’ve now extended this feature to allow regular Universal Windows Apps to...
activationkind
api
app configuration
application class
build 16226
desktop bridge
insider builds
manifest
prompt
requestenableasync
sample code
startup
startuptask
task manager
user control
uwp
version 10.0.14393.0
windows 10
windows apps
windows features
As you know users can setup a task to be run at startup with the built-in task scheduler "schtasks" with
schtasks /sc ONSTART ... /TR ...
However this command syntax triggers the task at EVERY BOOT time.
How do I setup (from command line and not through GUI!!!) a ONE-TIME task?
For simplicity...