1、下载 https://nssm.cc/download 2、命令行启动 nssm.exe install myServiceName 3、点击install service 4、删除服务,管理员登入命令行