Archive: AccessControl /noinherit ?


AccessControl /noinherit ?
Does the /noinherit parameter only work on the File functions in AccessControl? I can't seem to get it to work with the Registry functions. The function is still correctly adding/modifying the permission rule but the rule is set to "This key and subkeys". Shouldn't it be setting "This key only", or am I misunderstanding what the parameter does? Trying something as simple as the following on an HKCU entry doesn't work.


AccessControl::GetCurrentUserName
Pop $R0
AccessControl::DenyOnRegKey /noinherit \
HKCU "Software\TestApp\TestSubKey" $R0 "SetValue"


Just using Permissions view in advanced mode from regedit to confirm.

Shameless bump.