Thanks but it still doesn't work during the login procedure ! Thats Roaming user profiles for you.

Must be something to do with :-
Quote from SEALEOPARD -"It might also be a problem with the user registry not yet fully loaded when the script is running."

I think I might have to see if there is another way. Maybe through the 'startup' group.