Invoking Using Windows Task Scheduler At Startup - mnadeem/wishing-app GitHub Wiki
If you want to make sure the application runs in windows irrespective of system restarts then app.schedule.externally_managed=false in application.properties (Or remove this property since default is Application managed)
Step 0 : Setup

Add app.schedule.externally_managed=true in application.properties
Step 1: Create a New Task
Click Create

Provide details
Configure for Windows 10 is important

Step 2: Trigger Details

Step 3: Action Details

Step 4: Actions
Make sure all the checkboxes are unchecked as shown below, this is important

Step 5: View Task Details
