Link to home
Start Free TrialLog in
Avatar of mystikal1000
mystikal1000

asked on

Need a script to modify ACL's

I need a script to modify two registry keys for Local USERS Full Control.  Any ideas?

HKLM\Software\Microsoft\ Tracing
and HKLM\Software\Microsoft\ windows\CurrentVersion\Internet Settings\Connections
Avatar of sirbounty
sirbounty
Flag of United States of America image

Get a copy of subinacl (http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b)

subinacl /subkeyreg HKEY_LOCAL_MACHINE\SOFTWARE /grant=USERS=F
(for example).
Or,

subinacl HKLM\Software\Microsoft\Tracing /grant=Users=F
subinacl HKLM\Software\Microsoft\ windows\CurrentVersion\Internet Settings\Connections /grant=Users=F

should do it..
Avatar of mystikal1000
mystikal1000

ASKER

I receive an parsing error.  I even tried subinacl HKLM\Software\Microsoft\Tracing /grant=%computername%\Users=F

WARNING : Error parsing line +klm\software\microsoft\tracing /grant=users=f
Use :
SubInacl /help to get the usage information
or
SubInAcl /help syntax to understand SubInAcl syntax.

Elapsed Time: 00 00:00:00
Done:        0, Modified        0, Failed        0, Syntax errors        1
Last Syntax Error:WARNING : Error parsing line +klm\software\microsoft\tracing /grant=users=f

C:\Program Files\Windows Resource Kits\Tools>
ASKER CERTIFIED SOLUTION
Avatar of sirbounty
sirbounty
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Setacl works well.

Thanks!
Happy to help - thanx for the grade! :^ )