SubInACL is a Windows command line utility for managing security settings on files, registry keys, and services. Use this tag with questions regarding its use in programming and software development.
Questions tagged [subinacl]
6 questions
1
vote
2 answers
Powershell Subinacl.exe Double-Spaced Output, inability to capture summary information (statistics)
I try to run the following script on a remote machine, from the first line I get the normal output, "Command was successful" or something like that. For the second one it seems that its working, but the output its spaced and its not full, there are…

iMasck
- 103
- 1
- 1
- 13
0
votes
0 answers
File Folder Permissions
How do we extract existing acl/folders permissions and make into readonly for the existing set of users; excluding administrators and system accounts. for example c:\data and it's subfolders different users are having modify/full permissions which…

Awahab
- 1
- 1
0
votes
3 answers
Multi line variable in batch file echoing back hidden spaces in printer permission script
I sat down hours ago to write a seemingly straight forward 1 or 2 liner to add permissions to every print queue on a computer using a combination of WMIC and subinacl.exe.
@echo off
pushd %~dp0
setlocal EnableDelayedExpansion
for /f "skip=1…

Tika9o9
- 405
- 4
- 22
0
votes
1 answer
Run a certain line of code for each user on windows pc/
For the script:
@echo off
title Applying Noah service rights, please wait...
cd c:/subinacl
subinacl /service NoahServer /grant=%Computername%\user=TOP
subinacl /service NoahClient /grant=%Computername%\user=TOP
pause
This script grants using…

Raoul
- 5
- 2
0
votes
1 answer
Subinacl: Schedule - OpenService Error : 5 Access is denied
I am trying to grant some permissions for "NonAdmin" user for "Task Scheduler".
If you execute this command:
PS > C:\Windows\System32\sc.exe queryex type= service state=all
you can find that "Task Scheduler" service name is…

Drasius
- 825
- 1
- 11
- 26
0
votes
1 answer
How to remove all inherited permissions for directory with SubInAcl.exe?
How to remove all inherited permissions for directory with SubInAcl.exe?
I can do this with icacls by using /inheritance:r
Is there a way to do the same with SubInAcl?

NoSkill
- 718
- 5
- 15