Windows Guides Feed

system32 RSVR85 314 Find out Who Is Using Your Computer and When In Windows 7 [How To]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.

Windows 7 Launch Task Scheduler Find out Who Is Using Your Computer and When In Windows 7 [How To]

Click Task Scheduler.

Create The Tak

Click Task Scheduler Library.

Windows 7 Task Scheduler Library Find out Who Is Using Your Computer and When In Windows 7 [How To]

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

Windows 7 Create Task UpTime General Find out Who Is Using Your Computer and When In Windows 7 [How To]

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

On Triggers tab, click New:

Windows 7 Create Task UpTime Triggers Find out Who Is Using Your Computer and When In Windows 7 [How To]

Select On a schedule:

Windows 7 Create Task Begin The Task On a Schedule Find out Who Is Using Your Computer and When In Windows 7 [How To]

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:

Windows 7 Create Task Action Start a program Ok Find out Who Is Using Your Computer and When In Windows 7 [How To]

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:

Windows 7 notepad windows uptime Find out Who Is Using Your Computer and When In Windows 7 [How To]

And see the result:

Windows 7 Uptime csv Find out Who Is Using Your Computer and When In Windows 7 [How To]

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?



 Find out Who Is Using Your Computer and When In Windows 7 [How To]

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

  • Trewr

    it can be modified ??

    • http://discoveryourpc.net Angel

      Yeah it can be

  • Stan

    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.

    • http://discoveryourpc.net Angel

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

  • http://twitter.com/TuneUp4Windows Alexandra Lawrenz

    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?

    • http://discoveryourpc.net Angel

      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.


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

Enter your email address:
 

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

Submit Your Tip
Submit your computer tip to us; receive full credit for all published tips

Comments
Windows Guides on Facebook