I am porting over some of our scripts from Winbatch to Python and need to be able to set a few registry ACLs on Windows clients. Unfortunately, the documentation that comes with PyWin32 is a bit sparse; so while creating, updating and deleting keys works fine, I am having difficulty changing permissions for them.
Does anyone have any code snippets that they can share that demonstrate that use the win32api.RegSetKeySecurity function to grant full control of a registry key to Everyone? I have thus far struck-out with Google.
|