changing reg. permissions with a script

G

Guest

I've been using sysprep to create our company image and I thought I had
everything working, but them we came across some problems with certain types
of software app starting. I've found the reg I need to change. I have to
change the users to have full control. This was setup in our original image,
but sysprep seems to reset this back to read.

So is there a way to change the permissions of a key in the registry via a
script. Right now I have a script that runs to remove a couple of icons and
I also change a value of a reg key, but I don't know how to access the
permissions of such keys. I would appreciate any suggestions.
 
G

Guest

The specific key I'm trying to change is HKLM\Software\Microsoft\MSLicensing.
I want Users (computername\Users) to allow Full Control. Sysprep sets this
to just Read.
 
P

Pegasus \(MVP\)

Joe said:
I've been using sysprep to create our company image and I thought I had
everything working, but them we came across some problems with certain types
of software app starting. I've found the reg I need to change. I have to
change the users to have full control. This was setup in our original image,
but sysprep seems to reset this back to read.

So is there a way to change the permissions of a key in the registry via a
script. Right now I have a script that runs to remove a couple of icons and
I also change a value of a reg key, but I don't know how to access the
permissions of such keys. I would appreciate any suggestions.

subinacl.exe will do it. It comes with the Windows Resource Kit.
Its syntax is a little hard do understand.
 
S

Shenan Stanley

Joe said:
I've been using sysprep to create our company image and I thought I
had everything working, but them we came across some problems with
certain types of software app starting. I've found the reg I need to
change. I have to change the users to have full control. This was
setup in our original image, but sysprep seems to reset this back to
read.

So is there a way to change the permissions of a key in the registry
via a script. Right now I have a script that runs to remove a couple
of icons and I also change a value of a reg key, but I don't know how
to access the permissions of such keys. I would appreciate any
suggestions.

subinacl..
And
setacl..

http://www.microsoft.com/downloads/...56-d8fe-4a91-93cf-ed6985e3927b&DisplayLang=en
and
http://setacl.sourceforge.net/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top