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

Intro: Track Computer Usage in 2.5 Minutes

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!



    • Fix It! Contest

      Fix It! Contest
    • Tiny Home Contest

      Tiny Home Contest
    • Furniture Contest 2018

      Furniture Contest 2018

    10 Discussions


    3 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 3 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 3 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 6 years ago on Introduction

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