Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
david.lynch

Set "deny" to a registry key via command line

Recommended Posts

Using a single console command line, we need to deny SYSTEM account access to a specific registry key.

Subinacl worked for that without issues on past operating systems, but it doesn't seem to behave properly with Windows 10 x64, and other sources are reporting the same.

SetACL doesn't seem to know anything about denying permissions on registry, or I couldn't find the proper syntax for it.

How you guys would recommend us to achieve this?
 

Share this post


Link to post
Share on other sites

Subinacl OS support may depend on version :unsure:, I believe "last" version is however very "old".

Have you tried Regini.exe? (if available in Windows 10)

BUT - hard as it may be to suggest this :w00t: - most probably you should use Powershell :ph34r: (examples):

http://superuser.com/questions/914377/setting-registry-permissions-with-powershell

https://gallery.technet.microsoft.com/scriptcenter/How-to-Manage-Permissions-e5b32b49

jaclaz


 

  • Upvote 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×