Solved

Re: Set Permission in Windows Registry

Posted on 2007-03-28
4
221 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

This script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
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 the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …

734 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