Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatic logout of idle machine via script - possible?

Status
Not open for further replies.

ebertson

MIS
Oct 22, 2002
4
US
Hello everyone. I have a pretty basic question and I've found at least one thread that seemed to offer a solution. However, I would like to ask the question anyway in hope of getting a better solution.

My situation is thus: I have a small NT 4.0 domain with about 20 workstations using 98 and 2000. My problem is that I have a common machine (running 98) which handles scanning, etc. and is often left logged in by users for extended periods. I am searching for a way to log them out via a script if possible. The thread I came across provided a link to WinExit which is a seperate app that appears to offer users the ability to configure it from the desktop - something I'm trying to avoid. Any help would be greatly appreciated.
 
You could try shutdown.exe from the resource kit. Then create a scheduled task to run it after the PC has been idle for a certain amount of time.
 
A friend of mine wrote a script to lock machines with Kix which worked well for 95,98 and 2000 machines.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top