Force a user to log off? Sounds a bit harsh doesn’t it! However there are good scenarios for this.
A client has a single machine with a specific release of software which is used infrequently be various users. The users remote (RDP) into machine to use the program, however most of them close the window when done – leaving them logged in. This means having to go to the physical box to log them out each time.
Well there’s a fix/workaround for this which is available free from Microsoft as part of the Server 2003 resource kit.
The component needed is Winexit.scr – a screensaver who’s sole purpose is to log a user out when the screensaver kicks in.
Simple – but effective!
Here’s the knowledgebase article from Microsoft describing the process.
And here’s the free download: