[python-win32] Vista, _winreg and "Access denied"

Tim Golden mail at timgolden.me.uk
Tue Jun 3 10:33:56 CEST 2008


le dahut wrote:
> Hello,
> I've passed some time reading the MS coding guide for Vista 
> http://msdn.microsoft.com/en-us/library/bb756973.aspx
> 
> It explains that an app requiring administrator rights (modify HKLM, 
> write in C:\Windows\, etc.) will always return "Access denied" or ask 
> the user for UAC if it's launched with the appropriate manifest or with 
> "runas".
> You can personalize the UAC prompt by a short description of your 
> program and an icon.
> 
> In short, if your user app does something like that, rewrite it using a 
> service.

Thanks for getting back with the info.

TJG



More information about the python-win32 mailing list