Windows sets its own program to start automatically.
If the Windows system wants to quickly set up and boot a program automatically, it can be set up in the following ways:
First: set startup items
1. Find the startup folder. Mine is C:\ Users\ Administartor\ AppData\ Roaming\ Microsoft\ Windows\ Start Menu\ Programs\ Startup, or open and run, type shell:startup, enter enter, or you can quickly open the startup folder.
2. Copy the shortcut of the program that needs to be started to this folder or create a quick way.
Example: add tomcat service to boot self-startup to create a quick way
Definition name
In this way, the tomcat is added to boot and starts automatically.