How to autorun a python script when a specific user logs on?

Mike Hjorleifsson mhjorleifsson at
Wed Feb 6 05:15:43 CET 2008

on windows you can put this in HKEY_Local_Machine\Software\Microsoft
\Windows\Current Version\Run and it will run at logon (or fast user
switch) for each user
or if you only want to do it for a specific user you need to determine
their CSLID and put it in the same locale under the HKEY_USERS\Users
cslid... etc.

More information about the Python-list mailing list