Skip to content

Security_RevokeRegPermissions

Revokes the permission set on a Registry key

Security_RevokeRegPermissions(sHandle, sKey, sTrustee) As Boolean

Registry Key

Name of sub key

A trustee is a user or group. Trustee can either be “Domainname/username” or a Well-known SID’s (Security Identifier) 

If bStatus Then bStatus = Security_RevokeRegPermissions("HKLM", "Software\CapaInstaller", "S-1-5-4")

Scripting Guidelines

Security functions Security_DenyRegAccess Security_SetRegPermissions Constants Package Property Variables