Re: [python-win32] Vista, _winreg and Access denied

2008-06-03 Thread Tim Golden
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

Re: [python-win32] Vista, _winreg and Access denied

2008-06-03 Thread Tim Golden
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

Re: [python-win32] Vista, _winreg and Access denied

2008-06-02 Thread le dahut
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

[python-win32] Vista, _winreg and Access denied

2008-05-27 Thread le dahut
Hello With Vista (XP works fine), when using SetValueEx in a script ran by an administrator I get Access Denied. I know that's it's due to UAC so does someone know how to do a 'sudo' when using something else than CreateProcess ? ___ python-win32

Re: [python-win32] Vista, _winreg and Access denied

2008-05-27 Thread Mark Hammond
With Vista (XP works fine), when using SetValueEx in a script ran by an administrator I get Access Denied. I know that's it's due to UAC so does someone know how to do a 'sudo' when using something else than CreateProcess ? The short version of my understanding of Vista and UAC: Firstly, an