Track Computer Usage in 2.5 Minutes


Introduction: Track Computer Usage in 2.5 Minutes

About: I find a quote from Bill Gates makes a very good description. "Be nice to nerds. Chances are you'll end up working for one."

Are you ever suspicious of somebody using your computer without permission? This is obviously the batch file you need.

You will need

-a computer
-Windows (95 or higher)
-2.5 minutes

Step 1: Open Notepad

To open notepad start Run


Then type in notepad and hit enter

Step 2: Code

Copy this into notepad

@echo off

echo Boot at %Date% %Time%>>C:\Users\%USERNAME%\Desktop\record.txt

Step 3: Save

Now save this file as record.bat

Move this file to the startup folder.

Start>All Programs>Startup

Step 4: Test

Reboot your machine and log in. If there is a file on your desktop names record.txt open it.

It should say

Boot at (Date) (Time)

Now whenever your machine is logged onto with or without your permission you will know.

Step 5: Final Notes

I didn't write this instructable for fun. I was curious of a family member watching over my back learning my password. Sure enough I was correct because a boot was logged one hour before I even got home. Thank you for reading and remember to subscribe!



    • Woodworking Contest

      Woodworking Contest
    • Clocks Contest

      Clocks Contest
    • Casting Contest

      Casting Contest

    We have a be nice policy.
    Please be positive and constructive.




    You should change the location of it to %USERPROFILE%\Record.txt so that it would be more universal.

    3 replies

    I assume that saves it in the user's directory. That must have changed, but %USERNAME% is the variable in windows 7 and earlier.

    In windows xp and earlier there is no C:\users\ folder and some people have changed the location of the desktop so that is why I recommended putting the file in the %USERPROFILE% directory. %USERPROFILE% is c:\users\%username% in windows vista and above. For windows xp it is c:\documents and settings\%USERNAME%.

    Ah, thank you! That's good to know.

    Works Great!

    But I cant find my startup folder.

    1 reply

    Found it!
    after a system search

    if the below doesn't work I just googled
    "event viewer see who logged on"

    Yup! there is a ton of information on the NET. Try this one.