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
Windows BatchVB Script

Avatar of undefined
Last Comment
sirbounty
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).
Avatar of sirbounty
sirbounty
Flag of United States of America image

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

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of mystikal1000
mystikal1000

ASKER

Setacl works well.

Thanks!
Avatar of sirbounty
sirbounty
Flag of United States of America image

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

VBScript (Visual Basic Scripting Edition) is an interpreted scripting language developed by Microsoft that is modeled on Visual Basic, but with some important differences. VBScript is commonly used for automating administrative and other tasks in Windows operating systems (by means of the Windows Script Host) and for server-side scripting in ASP web applications. It is also used for client-side scripting in Internet Explorer, specifically in intranet web applications.

39K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo