PDA

View Full Version : Run script at logoff in W2K Pro (W2K)



iainh
04-02-2004, 06:56 AM
Hi to whoever reads this,

I have a project with 4 machines linked together in a workgroup, all running Win2K Pro. For a particular piece of software running on all 4 machines 1 PC acts as server to the other 3 clients. When a user logs off one of the clients I need to run a batch file on the server. Anyone know how to do this please? I have trawled through several sites, including this one, and the only time I have come across logoff scripts is if you have Win2K server.

meagain35
04-22-2004, 11:41 AM
I dont know of anyway to just run a script at logoff without using group policy's or win2k server, however if i were you, i would right a batch file or somthing to do whatever you want, then call shutdown.exe or rundll32.exe, depending on your os, to log the user off. you could just add this to the startmenu or desktop and run that instead of /start/shutdown/logoff..

~regards