Saturday, October 27, 2012

Track Your USB usage

Hello,

You can track your USB that means who used it,when used it.You can get Username and time of use.
For this you need to create two files.
I am mentioning both two you just need to copy paste.

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


Now, 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


Save both file in your pendrive. But whenever you plug in it will ask you to autoplay option.After selecting it you can see new file named user.dat in your pendrive root directory.Open it using notepad and view.

But in some case like if user disable his autoplay option or he delete your user.dat file in that case this trick will fail.

No comments:

Post a Comment