How to automatically start Tomcat when logging in?
From the "Start" menu, select "Run".
Enter "regedit.exe" Press Enter to enter the Registry Editor screen.
Select "HKEY_LOCAL_MACHINE / SOFTWARE / Microsoft / Windows / CurrentVersion / Run",
On the right side of the screen, right-click, select "New / String", the name can be arbitrarily, the recommended is "Tomcat_exec",
Double-click it to pop up a editing screen, in the numeric data column, enter "Tomcat_Home / Bin / Startup.bat",
Where Tomcat_Home is the Tomcat installation directory.