Jump to content

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?
 

Link to comment
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


 

Link to comment
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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...