Does RegDeleteKey() honor the SeBackupPrivilege/SeRestorePrivilege privileges? From my experiments, it does not. You can pass REG_OPTION_BACKUP_RESTORE to RegCreateKeyEx() to open the key with backup/restore privileges (similar to the way FILE_FLAG_BACKUP_SEMANTICS works), but this still does not allow key deletion. Here is my situation. I have a key (HKEY_CURRENT_USER\TestKey). I have denied myself all access, but I am still the owner. With SeBackupPrivilege and SeRestorePrivilege enabled, RegDeleteKey() fails with ERROR_ACCESS_DENIED. I try opening the key with REG_OPTION_BACKUP_RESTORE, but this only opens it with KEY_READ and KEY_WRITE access; RegDeleteKey() still fails with ERROR_ACCESS_DENIED. I guess my question is this: is there a way I can delete the key without mucking with ACLs? I am the owner of the key. It is in my HKEY_CURRENT_USER hive. I have denied myself all access to the key. RegDeleteKey() appears to not honor the SeBackupPrivilege and SeRestorePrivileges. DeleteFile() honors the privileges, so you would think that RegDeleteKey() would as well.