The method of registering bat file as windows system service


Using bat_ To_ Exe_ Convert bat to exe. Download: As an added benefit, you can’t view the source code of bat files.
use srvinstw.exe Register exe as a system service and download:
Because they are all graphical interfaces, there is no need to explain them. After successful registration, you can see your newly registered service in the control panel > Management Tools > services.
Adding as a scheduled task is also a good choice.
reference resources: