Reputation: 2706
I need to delete a regsitry key. It has a deny ACL on Set Value (I need this permission to delete it).
How do I change the ACLs in C++?
Upvotes: 1
Views: 3017
Reputation:
It's a Win32 FAQ.
See Win32 api ng news://194.177.96.26/comp.os.ms-windows.programmer.win32
Upvotes: 0
Reputation: 2615
You could use RegSetKeySecurity to adjust the security settings and then delete the key as usual.
Upvotes: 3