windows注册服务后无法启动 & 启动远程后客户端会弹出一个终端窗口
anlonely opened this issue · comments
我使用powershell \np-cli.exe --conf remote.yaml 运行它可以,
但是每次远程的时候都会弹出一个终端窗口。可以无痕运行吗?
注册服务
sc.exe create natService binPath= "C:\natpass_0.13.0_windows_386\natpass_0.13.0\np-cli.exe --conf remote.yaml" start= auto
注册后无法启动该服务。win11系统
文档也没有无痕运行和注册Windows服务的相关配置呀...
启动时通过-action install参数注册系统服务,然后就可以在系统服务中找到np-cli进行后续操作