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

Thorsten Kampe thorsten at thorstenkampe.de
Sat Jun 25 01:48:09 EDT 2011


* miamia (Fri, 24 Jun 2011 01:08:55 -0700 (PDT))
> In my program I can set to run after system startup (it writes path to
> Software\Microsoft\Windows\CurrentVersion\Run)

Under HKLM oder HKCU? The path itself is of course irrelevant.

> but when normal user is logged in my application crashes.

Without an exception?

> I must right click on app an choose "Run As Admin" and then everything
> works.
> 
> How can I do it to write to registry without "Run As Admin" ?

Disable UAC.

Thorsten



More information about the Python-list mailing list