Files On USB Pen Drive Becomes Shortcuts After Virus Infection


There are times when your USB flash drive may get infected with some virus due to which the flash drive icon may change in my computer, or when you might see some exe files looking like folders in each folder on your computer, although both of these virus infection are now quite old these days, recently I saw a different kind of virus infection on flash drive in which all the folder and file changed to shortcut after virus infection.

12-3-2010 5-26-50 PM

If you encounter such a kind of situation don’t panic as your files and folder on the flash drive are intact, and they are not damaged so you can still retrieve the files on your USB Pen drive. Follow the procedure below to recover the files and folder which are actually hidden and not visible to you.

1. Download “AutorunExterminator” from the link below

Once Extract it, run its executable and plug your USB pendrive now. This will remove the autorun.inf files from your pendrive and also from the drives on your computer hard disk.

2. Click on Start >> Run >> type cmd and click on OK. Here we assume your pendrive letter as x: Enter this command written below.

attrib -h -r -s /s /d x:\*.*

Note: You can copy the above command –> Right-click in the Command Prompt and paste it.

Note: Don’t forget to replace the letter x with your pen drive letter.

3. Press Enter

Now check for your files in Pen Drive, you should see the files on your USB pen drive now

4. Now, download the Malwarebytes’ Anti-Malware from the below link

Update it and Perform “Full Scan” it will completely remove the virus from your computer also, which will avoid any further infection on any other USB flash drive with virus infection.

Note: Default selected option in Malwarebytes is “Quick Scan”.


  1. it did not work for me!

    I followed each step carefully, twice!
    my memory stick is still infected and the following files and folders are copied on it even after i format the drive:


    Help me please

  2. Hello..

    I did install the software but the autorun files just get detected(for a very long time) but does not get deleted at all..
    I am not being able to open any files in my pen drive of any memory card i plug into my comp.Please help.

  3. It worked for me afetr a lot of frustration. I am yet to reemove the shortcuts thought. I expected it to take care of them too. I will delete them.


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.