|I need to change permissions for a specific registry key using a batch file.|
My goal is to allow only "read" permissions for all users.
If we want to do it with a file, it would look like this:
echo y| cacls file_name /P Administrators:R >nul
But how to do this with a registry key?