Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows注册服务后无法启动 & 启动远程后客户端会弹出一个终端窗口 #86

Open
anlonely opened this issue Feb 19, 2024 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@anlonely
Copy link

我使用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系统

@lwch lwch added the help wanted Extra attention is needed label Feb 19, 2024
@anlonely
Copy link
Author

请参考文档:https://github.com/lwch/natpass/blob/master/docs/startup.md#%E6%B3%A8%E5%86%8C%E7%B3%BB%E7%BB%9F%E6%9C%8D%E5%8A%A1%E5%8F%AF%E9%80%89

文档也没有无痕运行和注册Windows服务的相关配置呀...

@lwch
Copy link
Owner

lwch commented Feb 20, 2024

启动时通过-action install参数注册系统服务,然后就可以在系统服务中找到np-cli进行后续操作

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants