Web Analytics


In this post, I am going to show you how to find who is using your computer and for how much time. I can find at least three reasons why this can be very useful:

  • You want to control the usage of your computer; maybe your children spend too much time in front of it—even when you are not home.
  • You are running a server, with this I mean a computer that cannot be shutdown, and you want to know if it’s up and running.
  • You want to control your own usage—sometimes is very useful to have statistic about this.

Some might say that using Parental Controls is easy to block the access to a computer at some hours, but we are not trying to block anything.

If you have read in some of my previous posts you have noticed that for many tasks you have the programs installed by default with your Operating Systems. This post is written for Windows 7 and I am going to use Task Scheduler to achieve the goal.

Launch Task Scheduler

Press WinKey, and search for Task Scheduler.

Click Task Scheduler.

Create The Tak

Click Task Scheduler Library.

On the right pane select Create Task and select the General tab.

If you are using it on a server check Run whether user is logged or not.

On Triggers tab, click New:

Select On a schedule:

Selecting daily, and repeating the task every 5 minutes for 1 day makes the application run forever (which is what we want.)

Now we have to specify the action we want to start:

The program is a command prompt, we can launch the program using cmd. As arguments we type:

/c echo %username%,%time%,%date% >> UpTime.csv

In start in we select the path what we want that the task store the information in our case:

c:\windows\

Now we only have to open to see the information:

And see the result:

The name of our user is User (sorry for the simplicity.) Even though the task is very useful, it has one drawback, have you noticed it? More importantly, do you know how to improve that?

About Angel Luis

I am an Engineer of Telecommunications that love computers. My first computer was a Commodore 16kb, about 25 years ago and since then I am always fighting computers problems. Please visit my entries and ask me about whatever problem you have, I will be pleased to help you. My email is discoveryourpc [at] gmail [dot] com. You can follow me on twitter @agenlu or read my blog www.discoveryourpc.net

Free PC tips by email

Search Windows Guides




Comments

6 thoughts on “Find out Who Is Using Your Computer and When In Windows 7 [How To]”

  1. Trewr says:

    it can be modified ??

    1. Angel says:

      Yeah it can be

  2. Stan says:

    Can you please tell me if I could use this for checking who is accessing my computer in my workplace network. Is there any modification needs to be done.

    1. Angel says:

      Explain more what you want to do, but it can be used for that

  3. Alexandra Lawrenz says:

    Hey Angel—this is a really cool trick, and I bet it’s especially helpful for parents looking to monitor their kids’ computer use. Does this work for Windows XP and Vista as well? I am also wondering how far back it can track who was using your computer?

    1. Angel says:

      It just a scheduled task, so it will work either on XP or Vista.I think there is no limitation apart from your disk capacity.I have a plan to improve the task so it will show graphs using Excel or something similar.

Comments are closed.


Computer tips in your inbox
Sign up for the Windows Guides newsletter to get PC tips and access to free Windows books (More details)

Subscribe now
Popular Guides

See which sites have been visited on your PC (even if private browsing mode is used)

Create a Windows 7 System Repair Disc

Best Free Anti-malware

Hibernate vs. Sleep vs. Shut-Down

i3, i5, and i7; Dual, Quad, Hexa Core Processors. How to they Differ?

Intel's Ivy Bridge Processor: new Features

Windows Guides on Facebook