windows 服务无法启动错误 1920
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4406595/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Service failed to start error 1920
提问by Adrya
On some machine we have the following error at service install: "Service ... failed to start. Verify that you have sufficient privileges to start system services."
在某些机器上,我们在服务安装时出现以下错误:“服务 ... 无法启动。验证您是否有足够的权限来启动系统服务。”
Service is installed fine tho, just that it can't be started as Network Service from Services.msc. Service starts and runs good if started from console it's executable...
服务安装得很好,只是它不能从 Services.msc 作为网络服务启动。服务启动并运行良好,如果从控制台启动它是可执行的...
Same thing happens with another service started as Local System.
同样的事情发生在另一个作为本地系统启动的服务上。
On other machines everything is fine. Service starts as network service with no problems.
在其他机器上一切正常。服务作为网络服务启动,没有问题。
We think is a problem with windows rights, like error says, but how to check? And what to do?
我们认为是windows权限有问题,就像error一样,但是如何检查?怎么办?
Thanks, Adrya
谢谢,阿德里亚
采纳答案by Adrya
After more investigation we discovered that adding this in service configuration file fixed the problem:
经过更多的调查,我们发现在服务配置文件中添加这个解决了这个问题:
<runtime>
<generatePublisherEvidence enabled="false"/>
</runtime>