使用 --username xxx --password xxxx 安装 python 服务
我在本地计算机上安装并运行了一个 python 服务,但我正在编写的服务需要访问另一台计算机。它需要与用户名和密码关联。当我尝试 myservice.py --username xxx --password yyy --startup auto install
时,我收到一条错误消息,
Installing service apdm_upLoader
Error installing service: The account name is invalid or does not exist, or the password is invalid for the account name specified
. (1057)
想法一定会受到赞赏。 斯科特
I have a python service installed and working on a local machine but the service I am writing needs to access another machine. It needs to be associated with a username and password. When I try myservice.py --username xxx --password yyy --startup auto install
I get an error message
Installing service apdm_upLoader
Error installing service: The account name is invalid or does not exist, or the password is invalid for the account name specified
. (1057)
Ideas would sure be appreciated.
Scott
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
事实证明,如果您没有域,那么您应该使用 .\username。我通过转到我的计算机/管理/服务发现了这一点。首先,我必须对运行良好的过程进行简单的安装。然后在服务窗格中,我双击我的 python 进程,有一个非常好的图形用户界面来完成我需要做的所有管理。
希望这对某人有帮助。
斯科特
It turns out, if you don't have a domain then you should use .\username. I discovered this by going to my computer / manage / services. First I had to do a simple install of the process which works fine. Then in the services pane I double clicked my python process and there was a really nice gui to do all the management I needed to do.
Hope this helps someone.
Scott