in reply to Re: Win32 Registry permissions ($^E)
in thread Win32 Registry permissions

You don't report $^E...
D'oh. Sorry. It was "Access is denied" on the RegSetKeySecurity. It works now using KEY_ALL_ACCESS. And now, is there a way to automatically propagate permissions to subkeys, or do I need to individually set permissions on all of the subkeys?

Replies are listed 'Best First'.
Re^3: Win32 Registry permissions (heritage)
by tye (Sage) on Nov 15, 2006 at 08:34 UTC

    I vaguely recall that keys (and directories) can be set to "whatever permissions my parent has" (and modified from there), but if those subkeys aren't already set that way, then you'd still have to go set them all.

    - tye