How to restore or unhide virus infected files folders from a USB flash drive for free if it is infected by virus/spyware and all contents inside get deleted/hidden? Can you recover data deleted/hidden by virus attack using CMD? This article will introduce an easy way to restore data from USB flash drive safely.

questionHow to recover shortcut files from pendrive virus? How to restore/unhide virus attacked or infected files from a USB flash drive, pen drive or usually called thumb drive if it is infected by virus spyware and all contents inside get deleted or hidden? Can you recover data deleted by virus attack using CMD?

Answer: You can recover hidden deleted or corrupted files from virus infected USB thumb drive using data recovery software or show hidden files with CMD.

Method #1 - Recover Files from Virus Infected USB Using CMD attrib -h -r -s /s /d

My pen drive is attacked by virus, how can I recover hidden files from the virus infected pendrive using command prompt when the files were deleted by virus?

Answer: If files inside pen drive was hidden by virus, you can show hidden files following: click "Start" Menu > "Run" > type "cmd" > type "attrib -h -r -s /s /d h:\*.* " (h: is the drive letter of virus infected USB flash drive)

recover virus hidden files from usb

Video - how to recover files from virus infacted usb flash drive using cmd

Method #2 - Recover Files from USB using attrib -r -a -s -h /s /d

Method #3 - Retrieve Files Deleted from Virus Attacked Pendrive with Professional Pendrive Recovery Tool

How to recover files deleted by virus attack from pendrive?

Answer: You need to use data recovery software to rescue contents if files inside the pen drive were deleted by virus infection.

How: Recover deleted data from virus infected USB pen stick with iCare Data Recovery Pro Free Edition.

iCare Recovery Pro Free Edition is a free data recovery tool, which is able to recover any type of file from any pen stick that is attacked by virus/spyware/malware,this professional tool can even recover data from pen drive not detected in windows 10.

Free Pendrive Recovery


Download iCare Data Recovery Pro Free Edition to restore data from thumb drive when virus infected the usb flash and files became shortcut. Start free recovery with iCare


1. If files got corrupted/damaged by virus, the recovered files probably show as messy code and cannot open.

2. If you want to run antivirus software to scan the virus infected pen stick, please use it after recovering everything you need with pen drive recovery tool because anti-virus software probably erase all hidden files inside the virus attacked USB drive.

Also read: pen drive data not showing due to virus


Question: how to remove virus from sony pen drive

Answer: Firstly you may run antivirus software to remove the virus on sony pendrive, and then reformat it with format options in Windows or with sony format tools.

Hot Articles

Last updated on March 28, 2024

Related Articles

Data Recovery Software Free Download > Fix problems > Recover hidden/deleted data from virus infected USB thumb drive/flash memory