PC Review


Reply
Thread Tools Rate Thread

changing reg. permissions with a script

 
 
=?Utf-8?B?Sm9l?=
Guest
Posts: n/a
 
      17th Nov 2005
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.

 
Reply With Quote
 
 
 
 
=?Utf-8?B?Sm9l?=
Guest
Posts: n/a
 
      17th Nov 2005
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.

"Joe" wrote:

> 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.
>

 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      17th Nov 2005

"Joe" <(E-Mail Removed)> wrote in message
news:006F21A8-8D2E-4F37-ABE7-(E-Mail Removed)...
> 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.


 
Reply With Quote
 
Shenan Stanley
Guest
Posts: n/a
 
      17th Nov 2005
Joe wrote:
> 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/d...DisplayLang=en
and
http://setacl.sourceforge.net/

--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASPX file returning obscur runtime error - after changing permissions to a subweb (.net app) to different permissions than on its parent ? Isabelle Microsoft ASP .NET 0 11th Aug 2004 03:04 PM
Changing RDP permissions w/script Mark Microsoft Windows 2000 Terminal Server Clients 3 26th May 2004 11:20 PM
script to set permissions jbogren Microsoft Windows 2000 File System 1 18th Sep 2003 12:49 AM
Creating a permissions script Bob Microsoft Windows 2000 Registry 3 28th Aug 2003 09:06 PM
Creating a permissions script Bob Microsoft Windows 2000 Registry Archive 0 27th Aug 2003 08:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:14 AM.