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

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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!

Be the First to Share


    • CNC Contest

      CNC Contest
    • Make it Move

      Make it Move
    • Teacher Contest

      Teacher Contest

    10 Discussions


    4 years ago on Introduction

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

    3 replies

    Reply 4 years ago on Introduction

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


    Reply 4 years ago on Introduction

    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%.


    Reply 7 years ago on Introduction

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