how to write to registry without admin rights on win vista/7

Andrew Berg bahamutzero8825 at gmail.com
Fri Jun 24 20:20:00 EDT 2011


On 2011.06.24 03:48 AM, Duncan Booth wrote:
> http://stackoverflow.com/questions/130763/request-uac-elevation-from-within-a-python-script
Heh. On Windows 7, using 'runas' for the operation in os.startfile()
gives me a normal UAC prompt.

Is there any way to ask for elevation from a subprocess.Popen() call?
Launching an application that normally automatically asks for elevation
fails with error 740 - 'The requested operation requires elevation'.




More information about the Python-list mailing list