Although Olivia is 4½ years old, she’s never really used the computer. So a few weeks ago, I decided it was time she learned. I made her an account on the computer and set it up with a big mouse pointer, shortcuts to age appropriate kid sites like PBS Kids, and installed Windows Live Family Safety so she’d be safe from bad websites. I sat her down, showed her how to use the mouse, and being a kid it took her less than two minutes to figure it all out.
Now she begs to use the computer. When she does get to use it, if we don’t pay attention, she’ll use it for hours! Obviously the best cure for that is good parenting. Meaning we’d pay attention to how long she’s been on and make her log out after a reasonable amount of time. Yeah exactly, that’s why I figured there must be a simple technological solution to the problem. ![]()
Fortunately, if you are using Windows 7 or Windows Vista, it’s extremely easy to force the computer to log out after a specified amount of time.
Setup a Scheduled Task
- Log in to the computer with your user account (not your kid’s).
- Go to Start > Control Panel > System Security > Administrative Tools.
- Double-click Task Scheduler.
- In the Task Scheduler window, click Create Task.

- The Create Task window will appear.

- Enter a name for the task. I named mine Auto Logoff.
- Click on the Change User or Group button. Type in the username for your child and click OK.
- Checkmark Run with highest privileges.
- In the drop-down menu, choose Windows 7, Windows Server 2008 R2.
- Next click the Triggers tab and then click the New button.

- In the New Trigger window, in the drop-down menu, choose At log on.
- Choose Specific user and then click the Change User button.
- Type in you kid’s username and click OK.
- Checkmark Delay task for and then choose the amount of time. This is how long your kid will be able to use the computer before it auto logs them out. I chose 1 hour for Olivia. Meaning she will be automatically logged off the computer one hour after she logs in.
- Click OK to close the New Trigger window.
- Click the Actions tab and then click the New button.
- In the New Action window, change the drop-down menu to Start a program.

- In the Program/script area type: shutdown.exe
- In the Add arguments (optional) area type: /l
(Note: that’s a forward slash and lowercase “L”) - Click OK to close the New Action window.
- Click OK one more time to create the new task.
You’ll want to test the new scheduled task at least once to make sure it’s working. If it fails to run, you can open the Task Scheduler again to view the error code. However in my case, I’ve tested this setup and whenever Olivia logs in to the computer, she will be logged out exactly one hour later.



