knotty,

not during the login , cos HKCU isn't available for login Scripts ...

You may wanny try to run this part of the Script through the RUN Key (HKLM\Software\Microsoft\Windows\CurrentVersion\Run)

hth

Jochen

_________________________