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!
<p>You should change the location of it to %USERPROFILE%\Record.txt so that it would be more universal.</p>
<p>I assume that saves it in the user's directory. That must have changed, but %USERNAME% is the variable in windows 7 and earlier.</p>
<p>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%.</p>
<p>Ah, thank you! That's good to know.</p>
Cool! <br>Works Great! <br> <br>But I cant find my startup folder.
Found it! <br>after a system search
can't you just look in event viewer?
event viewer?
if the below doesn't work I just googled <br>&quot;event viewer see who logged on&quot;
Yup! there is a ton of information on the NET. Try this one.<br>http://ask-leo.com/can_i_tell_when_someone_logged_into_my_machine_and_what_they_did.html<br>

About This Instructable




Bio: 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."
More by Super_Nerd:Make an assistant for your computer in 5 minutes Track Computer Usage in 2.5 minutes How to be a MAD Scientist! MU-AH HA HA HA! 
Add instructable to: