Home > Protecting Your USB, Smart Tip, Tutorial, Win XP, Windows > Protecting Your USB – 2 : Detecting viruses by means of Audio

Protecting Your USB – 2 : Detecting viruses by means of Audio

This is Part two of the USB Infection Prevention Series…..

Scenario : You own a pendrive and wont it be great if you could just identify easily whether it has been infected or not.

Solution : This is actually a continuation of my previous post. It combines the audio trick in that post with the autorun technique discussed in my preceding post. So without further ado here’s the trick…..

Modify the autorun.inf file as follows :

open = file_name_with_extension
icon = icon_file.ico

here, file_name_with_extension is the file we will create in the next section and icon_file.ico is the icon technique employed in the previous post, though its not compulsory]

However, there is a problem….we cannot start a VB Script from an autorun.inf file, it causes an error so we will use some different methods for it. According to the research i carried out, i found two ways to do it.

1. Using batch files(.bat) :

Create a batch file with the foll contents :

@ECHO off

start .\Autorun.vbs


Autorun.vbs is the vbscript file name.

and in the above autorun.inf file replace file_name_with_extension with the batch file name.

2. Using Exe files : For this method we will have to convert the vbscript to an exe file. You can do so by going to either of the foll online converters : this or this

Here too, replace file_name_with_extension with the exe file name in the autorun.inf file.

Again as in my previous post, place this and the bat/exe in the root of your USB drive, so that, next time you insert an usb, Narrator will auto narrate the audio message for you

  1. Lorenzano
    November 12, 2010 at 3:25 am

    actually this is not what i needed when i searched on google which routed me here.but actually i needed more information on this topic for my neice as she had asked.

    • November 12, 2010 at 9:52 pm

      more info in what sense….care to elaborate…so i can help you….

  2. kaitlin
    November 16, 2010 at 12:43 pm


  1. December 6, 2010 at 9:44 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: