Solved

Re: Set Permission in Windows Registry

Posted on 2007-03-28
4
219 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
This article will show, step by step, how to integrate R code into a R Sweave document
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

856 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