可以参看以下资料:
https://jingyan.baidu.com/article/b2c186c89f5127c46ef6ff08.html
http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html
方式:
Windows key + r -> Run dialog
cmd -> console
cd apache-tomcat-[version]/bin
service.bat install/remove [service_name] [/user username]
service install/remove [service_name] [/user username]
以上两条命令相同。