Windows无法启动本地计算机上的服务错误5访问被拒绝 [英] windows could not start service on local computer error 5 access is denied

查看:2089
本文介绍了Windows无法启动本地计算机上的服务错误5访问被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows 8中调试并安装Windows服务后,当我尝试启动Windows服务时出现错误:Windows无法在本地计算机上启动服务错误5访问被拒绝。试图从此链接尝试回答 http://stackoverflow.com/questions/4267051/error-5-access-在启动Windows服务时被拒绝 [ ^ ]我发现在Windows 8中分配正确权限的用户名列表中不存在NETWORK SERVICE帐户。如何使用Windows 8解决此问题?

After debugging and installing windows service in windows 8 I have error when I try to start a windows service :"The Windows could not start service on local computer Error 5 Access is denied" .While attempting fist answer from this link http://stackoverflow.com/questions/4267051/error-5-access-denied-when-starting-windows-service[^] i found that NETWORK SERVICE account doesn't exist in the list of user names for assigning the correct permissions in windows 8 .How i can solve this problem using windows 8?

推荐答案

如果你看不到它,那么你必须添加它。



关注步骤 - 无法在网络中启动Windows服务orkService帐户 [ ^ ]。



点击编辑 - >搜索网络服务 - > 添加。然后提供必要的权限。
If you can't see it, then you have to add it.

Follow the steps- Cannot Start Windows Service in NetworkService account[^].

Click on Edit -> Search for NETWORK SERVICE -> Add that. Then provide necessary permissions.


右键单击包含服务可执行文件的顶级文件夹。转到属性

转到安全选项卡

点击编辑

点击添加

输入名称SYSTEM,单击确定

突出显示SYSTEM用户,然后单击完全控制旁边的允许复选框

单击确定两次
Right-click on top-level folder containing the service executable. Go to Properties
Go to "Security" Tab
Click "EDIT"
Click "ADD"
Enter the name "SYSTEM", click OK
Highlight SYSTEM user, and click ALLOW check-box next to "Full control"
Click OK twice


这篇关于Windows无法启动本地计算机上的服务错误5访问被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆