Saturday 10 September 2011

USB Warning message


To have a warning message appear when anybody uses your USB drive simply copy and paste the following code into note pad and then save it as warning.bat on the main directory of your USB drive.

@echo off
msg * This USB Drive Belongs to (YOUR NAME)
msg * Please Call (YOUR PHONE) immediately!

Next create a new text document in note pad and once again paste the code below and then save the document as autorun.inf
[autorun]
open=warning.bat

Finally suggest hiding both the batch file and the autorun file. Right click both files, select properties, and then check the Hidden attribute. NOTE: XP does not allow auto run for USB drives. For XP users you can still use this trick but only for CD's, DVD's, ect.

No comments:

Post a Comment