Solved

Re: Set Permission in Windows Registry

Posted on 2007-03-28
4
218 Views
Last Modified: 2010-04-16
Hi Experts
is it possible to use vbscript to pemit "Everyone" to "Full Access" and "Read" Access to[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared\Tools] registry key? besides using subinacl.exe...
Thanks inadvance....
0
Comment
Question by:Manfredtoo
  • 2
  • 2
4 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 500 total points
ID: 18808691
Yes, that is possible - see http://support.microsoft.com/kb/316440 ("How to use low-level access control APIs from Visual Basic") and the sample code it comes with at http://download.microsoft.com/download/wbt/sample/2.0/nt45xp/en-us/setperm.exe ("SetPerm.exe")
0
 
LVL 6

Expert Comment

by:kane77573
ID: 18810217
yes
do start
run
regedt32
this is the same as regedit except you can modify permissions and rights
0
 
LVL 86

Expert Comment

by:jkr
ID: 18819207
>>run
>>regedt32

How do you do that from code?
0
 
LVL 6

Expert Comment

by:kane77573
ID: 18819234
Didnt see it being code, read to fast.
Missed a part
oops!
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question