USB drive infected by a virus leading to unexpected data loss?
Besides, take some measures to prevent your USB drive from being attacked by viruses.
USB drives are one of the most common data storage devices.
![]()
If a USB drive is infected by a virus, the photos, videos, documents, etc.
stored in the drive are likely to be damaged or lost.
So, how to recover virus infected files from USB flash drive?

Videos on USB are lost or deleted?
Read this post to get the most effective solutions to recover deleted videos from a USB drive.
How to Recover Virus Infected Files From USB Flash Drive
Way 1.

To retrieve files hidden by viruses, you oughta use the CMD tool to remove the file hidden attribute.
Typecmdin the Windows search box.
Then right-clickCommand Promptto selectRun as administrator.

Next, typeattrib -h -r -s X:*.
- /s /d(replaceXwith the actual drive letter of your USB drive) and pressEnter.
Now you could check whether your important files are displayed.

If not, it means that the files are deleted or lost instead of being hidden.
Way 2.
MiniTool ShadowMaker TrialClick to Download100%Clean & Safe
What if you do not have any backup files?

In this situation, you have to turn todata recovery softwarefor virus infected USB drive recovery.
Way 3.
Apart from recovering documents, videos, pictures, audio, etc.

from virus infected USB drives, MiniTool Power Data Recovery is also adept at handling other file loss situations.
Besides, this file restoration service is fully compatible with all Windows versions, including Windows 11/10/8/7.
Now, download the free edition to recover data from the virus infected USB drive.
![]()
MiniTool Power Data Recovery FreeClick to Download100%Clean & Safe
Step 1.
Run MiniTool Power Data Recovery to go to its main interface.
UnderLogical Drives, you’re free to see all the recognized partitions on your machine.

go for the target USB drive partition marked with a USB icon and clickScan.
After scanning, generally, there will be a large number of found files listed by file path.
To filter out unwanted files and locate the desired data faster, you might make use of theTypeandFilterfeatures.

Now you’re able to check the checkboxes next to the needed files.
Then click theSavebutton and specify a safe location to store the recovered files.
you’re gonna wanna choose another drive to prevent the data from beingoverwritten.

yo note that MiniTool Power Data Recovery Free supports free file preview and 1 GB of free data recovery.
My USB drive is infected by viruses.
Thankfully, MiniTool Power Data Recovery helped me recover my files.
![]()
Its worth a try.Click to Tweet
Do the files copied to a USB drive disappear?
Read this post to see how to recover disappeared data and fix the USB drive.
There are several ways to kill orremove viruses from USB drives.
Run Windows Defender
Windows Defender is an antivirus protection utility built into Windows.
It protects against viruses and malware on your computers internal drives and connected devices.
you could use it to scan your USB drive for viruses.
Press theWindows + Ikey combination to open configs.
ClickUpdate & Security>Windows Security>Virus & threat protection.
UnderQuick scan, clickScan options.
Select theCustom scanoption, then clickScan nowto choose a location.
In the new window, pick the target USB drive and clickSelect Folder.
Wait patiently until the scan process is finished.
If you receive any prompts, like follow the on-screen instructions.
you’ve got the option to format the USB disk directly from File Explorer.
In Windows Explorer, right-tap the USB drive to selectFormat.
In the new window, set up the file system,allocation unit size, and volume label.
TheFormatfeature is available in the free edition of this partition management tool.
Download, install, and launch MiniTool Partition Wizard Free.
Then pull down the left menu bar and clickFormat Partition.
Finally, click theApplybutton located in the bottom left corner.
After formatting the USB drive, the viruses on it should be removed.
USB file transfer stuck at 0?
This post tells you what should you do when the USB file transfer speed drops to zero Windows 11/10.
Common Types of Viruses
Computer viruses are extremely contagious and destructive.
Here are some common types of computer viruses.
Here are some measures you’re free to take to protect your USB and its data from viruses.