Windows Service是后台持续运行的程序,可通过Services.msc管理。创建服务使用命令:sc.exe create 服务名 binPath="可执行文件路径";删除服务使用:sc stop 服务名和sc delete 服务名。
完成下面两步后,将自动完成登录并继续当前操作。