Choose Malwarebytes to benefit from real-time efficient protection against the most deceiving malware.
2. Use Command Prompt
Do not plug in the affected USB until all preparations are made and, obviously, don’t format it yet, either.
- Then, enable the hidden files.
Download and extract Autorun Exterminator.
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.)
- Now, right-click on Start and open Command Prompt (Admin).
- Copy-paste the following command in the command line and press Enter (don’t forget to replace f with your USB flash drive letter):
- After you run this command, you should be able to see all hidden files on the USB.
3. Use the USB Fix 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:
- Download UsbFix. (If your antivirus blocks it, disable antivirus temporarily.)
- Plug in your USB flash drive but don’t open it.
- Run the UsbFix.exe.
- Click on Deletion and wait until the tool finishes.
- Open your USB flash drive and, hopefully, your files will be there, untouched.
4. Format your USB drive
- Plug in your drive and backup all files.
- Right-click on the USB flash drive and choose Format from the contextual menu.
- Select Quick format and select Fat32 as the drive format.
- 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.