
change registry key permission with script?
hello - you'll have to excuse the fact that i don't know much about
scripting... :) i have been trying to find out for a couple of days
whether it is possible to change the permissions on a registry key in
windows nt 4 workstation through the use of a script. basically, i need to
recursively apply the permissions from key
'HKEY_CURRENT_USER\Software\Microsoft\Protected Storage System Provider\' to
the ones under it (administrator - full control, system - full control), and
then delete that key and the ones under it recursively. i don't think it is
possible to name the keys underneath the 'Storage System Provider' key
specifically in the script, as they are dependent on the sid of the machine
(or the users who have logged into the machine, i am not quite sure).
please help! thank you for your time.
wally