Fixes

Flash drive files become shortcuts

Malwarebytes

Choose Malwarebytes to benefit from real-time efficient protection against the most deceiving malware.

2. Use Command Prompt

    1. Do not plug in the affected USB until all preparations are made and, obviously, don’t format it yet, either.

    2. Then, enable the hidden files.
    3. Download and extract Autorun Exterminator

    4. Run the tool and plug in your USB flash drive. (The utility will remove all autorun.ini files and protect you from possible malware spread.)

    5. Now, right-click on Start and open Command Prompt (Admin).
    6. Copy-paste the following command in the command line and press Enter (don’t forget to replace f with your USB flash drive letter):
      • attrib -h -r -s /s /d f:*.* files copied to usb become shortcuts
    7. After you run this command, you should be able to see all hidden files on the USB.

Need to recover deleted files from USB flash drive? Here’s the efficient way to do it.


3. Use the USB Fix tool

usbfix tool

Another way to remove a possible virus infection on the USB is to use a nifty third-party antimalware tool, this time dedicated only to this type of devices.

It’s possible that classic antivirus tools don’t detect specific malware that attacks external storage, hides all data, and creates shortcuts for all files instead. 

This software we recommend is called UsbFix and it specializes in resolving virus-caused issues like the one we’re addressing here.

Follow these steps to use UsbFix and resolve the problem:

  1. Download UsbFix. (If your antivirus blocks it, disable antivirus temporarily.)
  2. Plug in your USB flash drive but don’t open it.
  3. Run the UsbFix.exe.
  4. Click on Deletion and wait until the tool finishes.
  5. Open your USB flash drive and, hopefully, your files will be there, untouched.

4. Format your USB drive

format your usb drive

  1. Plug in your drive and backup all files.
  2. Right-click on the USB flash drive and choose Format from the contextual menu.
  3. Select Quick format and select Fat32 as the drive format.
  4. Wait until the device is formatted and voila, you can use it again without problems.

This means that you’ll have to start from scratch with copying files on the stick, but at least you now know that it is a clean device.

Take a look at this article, as well, where we explain what to do if the files on your USB disappear.

With that said, we can conclude this article. Hopefully, these steps were helpful and you’re finally able to retrieve your files while cleaning the malicious threat in the process.

Make sure to tell us in the comments whether the above-mentioned steps helped you or not.

Editor’s Note: This post was originally published in December 2018 and was completely revamped and updated in October 2020 for freshness, accuracy, and comprehensiveness.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button