FIX: Flash drive files become shortcuts

Aleksandar Ognjanovic
by Aleksandar Ognjanovic
Troubleshooting Expert
0 Comments
Download PDF
Affiliate Disclosure

  • On rare occasions, the files on your USB turn into shortcuts.
  • Most probably the cause is a malware infection, so we're showing you the exact tools to use.
  • Don't forget to visit the Antivirus Hub on the website, for more advice on protecting your devices.
  • In the Troubleshooting section, you'll find helpful guidelines for any software-related problem you might have.
usb files turned into shortcuts

USB flash drives overtook CDs and DVDs a long time ago. They offer great reading and writing speeds, are quite compact, and these days you can find them in large sizes.

But, there’s that one small advantage which disks have and that’s the fact USB drives are quite susceptible to malicious threats.

One distinctive virus will hide all files you stored on your USB flash drive and add their shortcuts only.

This seems scary, as the first guess is that your data is gone. It isn’t. We’ll show you how to retrieve it below.

How do I retrieve USB files from their shortcuts?

1. Scan for malware

Malwarebytes.jpg”>fix USB files become shortcuts

As mentioned, the problem might be caused by corrupted data on the USB stick.

You can use any given third-party tool to scan for malware, but make sure it has the latest virus database.

A quick scan won’t be enough, so make sure to run a deep scan. 

We recommend Malwarebytes for the efficient and prompt scanning process, as well as for the detection rates it has.

Note that the tool comes with a free edition, as well, which you can use to clean the USB flash drive of malware.

However, to benefit from full protection and prevent such unhappy events in the future, we suggest trying the premium version.

You’ll get real-time protection against ransomware exploits, malicious exploits, and dangerous websites.

Malwarebytes

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.

Was this page helpful?
Thanks for letting us know! You can also help us by leaving a review on MyWOT or Trustpillot.
Get the most from your tech with our daily tips
Tell us why!