Re: Set Permission in Windows Registry

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....
ManfredtooAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
jkrConnect With a Mentor Commented:
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
 
kane77573Commented:
yes
do start
run
regedt32
this is the same as regedit except you can modify permissions and rights
0
 
jkrCommented:
>>run
>>regedt32

How do you do that from code?
0
 
kane77573Commented:
Didnt see it being code, read to fast.
Missed a part
oops!
0
All Courses

From novice to tech pro — start learning today.