简体   繁体   English

SUBINACL被拒绝访问

[英]SUBINACL getting access denied

Im trying to get SUBINACL utility to just display information of the MSDTC service. 我试图让SUBINACL实用程序只显示MSDTC服务的信息。

Im typing subinacl /service mstdc and I get an error 5 access denied 我输入subinacl / service mstdc,我收到错误5访问被拒绝

C:\temp>subinacl /service msdtc

msdtc - OpenService Error : 5 Access is denied.
Elapsed Time: 00 00:00:00
Done:        1, Modified        0, Failed        1, Syntax errors        0
Last Done  : msdtc
Last Failed: msdtc - OpenService Error : 5 Access is denied.

If I run the same command for DHCP service it gives me all the security. 如果我为DHCP服务运行相同的命令,它给了我所有的安全性。 I am running it under the administrator. 我在管理员下运行它。 Is there somewhere in the registry where I can fix this for the MSDTC ??? 在注册表中的某处我可以为MSDTC解决这个问题吗?

I am using Windows 2008 R2 64 Bit. 我使用的是Windows 2008 R2 64位。

Thanks. 谢谢。

只需要花几个小时来处理它,如果你有同样的问题,你可以重置ACL访问列表然后添加它 - 只需从管理员帐户的comamnd行(cmd)执行这些行:

  1. sc sdset MSDTC D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)

  2. subinacl /service msdtc /grant="Network Service"="QSETIL"*

I was experiencing the same issue on Windows 7 Ultimate x64 SP1 when I was following the steps here: 当我按照这里的步骤操作时,我在Windows 7 Ultimate x64 SP1上遇到了同样的问题:

http://pongsathonkeng.blogspot.com/2011/02/msdtc-setup.html http://pongsathonkeng.blogspot.com/2011/02/msdtc-setup.html

I think these are the steps to resolve the issue: 我认为这些是解决问题的步骤:

  1. icacls c:\\windows\\system32\\msdtc\\msdtc.log /grant "networkservice":F icacls c:\\ windows \\ system32 \\ msdtc \\ msdtc.log / grant“networkservice”:F

    As indicated here: 如下所示:

    http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/eb8835d9-5f5b-4df2-8c68-4a61d5e44d6b/ http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/eb8835d9-5f5b-4df2-8c68-4a61d5e44d6b/

  2. subinacl /service msdtc /grant="Network Service"=QSETIL subinacl / service msdtc / grant =“网络服务”= QSETIL

    As also indicated here: 如此处所示:

    http://blogs.msdn.com/b/chrisforster/archive/2008/08/18/acl-problem-with-the-msdtc-service.aspx http://blogs.msdn.com/b/chrisforster/archive/2008/08/18/acl-problem-with-the-msdtc-service.aspx

  3. restart 重新开始

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM