/build/static/layout/Breadcrumb_cap_w.png

Grant Specific Permission By Scripting

[font="trebuchet ms"]Hello All,
[font="trebuchet ms"]
[font="trebuchet ms"]I need to grant access to:
[font="trebuchet ms"]
[font="trebuchet ms"]Account: NT Service\MpsSvc
[font="trebuchet ms"]Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Epoch
[font="trebuchet ms"]Permission: Query Value and Set Value
[font="trebuchet ms"]
[font="trebuchet ms"]I have already tried to use SetACL but it only accepts to use a SID instead the account name, and I could not fine the SID for this NT Service\MpsSvc since it is a service.
[font="trebuchet ms"]
[font="trebuchet ms"]Please, may anyone suggest something to grant this permission by scripting?
[font="trebuchet ms"]
[font="trebuchet ms"]Thank you
[font="trebuchet ms"]Rodolfo

0 Comments   [ + ] Show comments

Answers (1)

Posted by: anonymous_9363 13 years ago
Red Belt
0
I have created hundreds of packages which use SetACL and it's more than happy to use "proper" names. I suspect your syntax was wrong.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ