Running a script at logoff in XP Home

Soldato
Joined
4 Jan 2004
Posts
7,758
Location
Nottingham
Hey guys

I've got a robocopy script ready that I want to run when a user logs off a PC but the PC in question is running XP Home edition so no gpedit :(

Can anyone think of any other possible way to do this?

I'd like to keep the script hidden from view and so the user's don't have to do anything new to their usual routine when using the PC (there's a high chance that if they have to execute something before logging off or shutting down it won't get done after a few days!)

Thanks :)
 
One way that instantly comes to mind is to put a batch script on their desktop and tell them to use that to log-off instead... you include your robocopy then the logoff command...

Only way i can really think of for XP Home :(
 
yeah I had thought about that (by far the easiest option) but like I said, I know after a few days, maybe a week the users will just stop using it and start logging off normally meaning their stuff wont be backed up :(
 
Thanks for the xls file, that should come in handy for more than jsut this little issue i have :)

With regards to my original post I think I may have found a solution, I'm trialing a program called ActiveExit that runs as a service but lets you configure/control the shutdown behaviour of Windows (regardless of whether its Pro or Home edition).

So far it seems to work great. I've set it up to run my robocopy script when a user logs off. As soon as a user selects logoff from the start menu, the script opens, runs, finishes and then the PC logs off. Only downside is its shareware :( but may come in handy for anyone else looking for a similar solution
 
Back
Top Bottom