6

How can I limit the time spent on the computer or force a log out from a Windows 7 machine?

I used to use Windows Steady State to limit users (kids) from being on too long but SteadyState does not work with Windows 7 Home Premium and is discontinued.

Is there a way to set this up in Windows 7 where it will kick off a user after a set time? Or perhaps there's an alternative program that can help limit the time one user is at the computer.

random
  • 15,201

6 Answers6

7

Try using the built-in parental controls in Windows 7. You can restrict the times your kids can be logged on as well as control and monitor the use of software and games.

bwDraco
  • 46,683
4

You could put a scheduled task to log off a user after a certain time.

  • Launch Task Scheduler and click create task

Create Task

  • Select the system account, run wether the user is logged in or not, with highest privileges (you can pick "hidden" too after you've checked it was working ok)

General

  • Add a trigger so the task executes: at logon, after 2 hours (for example - not that you can type the value, you don't have to select one of the choices). Also select the user to which apply the trigger

Trigger

  • In the Actions tab, type : shutdown.exe, with the -I -t 0 parameters, start in c:\windows\system32

actions

  • Remove the conditions and click ok

conditions

3

From 5 alternatives to Windows SteadyState for Windows 7 :

  1. Returnil Virtual System (free) is similar to Windows SteadyState. It caches all changes made to the system on a virtual storage disk instead of the actual partition, and then reverts back to the original states when the computer is rebooted.
  2. Sandboxie (free) runs your programs in an isolated space which prevents them from making permanent changes to other programs and data in your computer.
  3. Wondershare Time Freeze Free is a software that essentially freezes your computer in time by allowing you to install software, run application and surf the Internet, and then roll back any changes you made to the system after you are done.
  4. Faronics Deep Freeze ($38) is available not only for Windows but also Mac OS X, and SUSE Linux operating systems which allows system administrators to protect the core operating system and configuration files by restoring a computer back to its original configuration each time the computer restarts.
  5. Shadow Defender ($35) is another application that employs the virtual environment approach. It redirects each system change to a virtual environment keeping the actual system intact, and then discarding the changes on a reboot.
  6. HDGUARD ($22) works exactly the same way all the software mentioned above works. HDGUARD memorizes all changes a user or Windows performs on the system and then forgets it when the computer is restarted.
harrymc
  • 498,455
3

Romaco Timeout is a free program with great features that limits the amount of time a user can be logged on; I use it for my kids. You can also set it so someone can't log in before/after a certain time of day. http://www.romacocanada.ca/timeout/

0

Also to note, Windows 7 Home Premium does not include logoff.exe by default, which makes it difficult to script solutions. However, you can copy the executable from the System32 folder of another PC as a workaround. From there you can write simple log on scripts that call logoff.exe. This solution is a little more involved though.

0

You could write a batch script that version includes the shutdown command. Put that in their startup folder under their account.

Use the -f -r -t <time in seconds> switches and as soon as they logged in, it would start a timer to reboot forcibly.

So for example

shutdown -f -r -t 3600

Would give them an hour (3600 seconds) before it rebooted.

So long as you put this in their startup folder then when you go in as an admin, you can remove the program from their startup folder.

Mokubai
  • 95,412
DBurgr
  • 1