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\Int ernet Settings\Connections
HKLM\Software\Microsoft\ Tracing
and HKLM\Software\Microsoft\ windows\CurrentVersion\Int
Or,
subinacl HKLM\Software\Microsoft\Tr acing /grant=Users=F
subinacl HKLM\Software\Microsoft\ windows\CurrentVersion\Int ernet Settings\Connections /grant=Users=F
should do it..
subinacl HKLM\Software\Microsoft\Tr
subinacl HKLM\Software\Microsoft\ windows\CurrentVersion\Int
should do it..
ASKER
I receive an parsing error. I even tried subinacl HKLM\Software\Microsoft\Tr acing /grant=%computername%\User s=F
WARNING : Error parsing line +klm\software\microsoft\tr acing /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\tr acing /grant=users=f
C:\Program Files\Windows Resource Kits\Tools>
WARNING : Error parsing line +klm\software\microsoft\tr
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\tr
C:\Program Files\Windows Resource Kits\Tools>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Setacl works well.
Thanks!
Thanks!
Happy to help - thanx for the grade! :^ )
subinacl /subkeyreg HKEY_LOCAL_MACHINE\SOFTWAR
(for example).