Run As Service
- A tool for running any executable file (including batch files and scripts) as a system service
- Run Everything As a System Service
Run any executable file as a system service.
At first it was mainly for porting some Linux daemons; it can also be used to start any application and maintenance scripts.
Runs quietly; unless Interactive mode is specified, no window will pop up.
No login required; it runs automatically after system startup, without waiting for the user to finish logging in.
As an extra feature, it supports starting, stopping, and deleting any system service.
Fully takes over commands to the Service Control Manager (start, stop, etc.). After the program being run terminates, it automatically reports status to the Service Control Manager and then exits itself, without staying resident in memory.
pause / continue operations.
One runassrv service can concurrently run multiple applications specified by /cmdline, and the applications are initialized in the specified order.
runassrv.exe itself does not need to be placed in the system search path.
Added the control operation, which sends a control code to the specified service.
Added the listsrv operation, which lists all services and drivers, and supports many filtering conditions.
Added the -logfile and -loglevel options, logging support.
Added -unstoppable; the Service Control Manager will refuse to stop a service installed with this option.
Memory trimming strategy; in typical cases memory usage is less than 300KB.
http://baiy.cn/utils/runassrv/index.htm