1

I have a Windows XP netbook and it is protected with a password. I want to be able to control the time other people spend on the computer, so whenever anyone logs in I want the computer to automatically log off after two hours.

User X
  • 291

1 Answers1

1

How about executing logon script (help: To assign user logon scripts) with following code:

ping 127.0.0.1 -n 7200 -w 1000
shutdown /l /f

This script will wait 7200 seconds (2 hours) and then force to log off.

Virus_7
  • 252