How To Recover Deleted (Hidden) Files from Virus infected USB Pendrive

How To Recover Deleted (Hidden) Files from Virus infected USB Pendrive:
Now a days all the people use USB Flash drives like Pendrive, External Hard Disk and Many more. They all skipped DVD, CD and all optical Disc because it takes time to copy and it cannot be re-used. So USB Pendrives are now with all people. Also you can see all over colleges, they hang USB pendrive in their necks. They carry Music, Movies, Data in that. How USB flash drives improves as the mean while USB virus also increases along with that.
Nowadays Some viruses / malwares (may be Trojans, W32.IRCBot.NG)  is spread all over the world which is particularly attacks flash memories like pendrive, memory cards, sd cards and all other usb storage drives.
The main function of this malware is to hide all the files in the flash drive and to store malware, adware, bot, keyloggers in the same flash drive in a file name exactly what you've early in that drive.
For example: Assume that you are inserting a pendrive or your mobile phones memory sd card in a above virus attacked computer or laptop.  those viruses will copy some viruses to your pendrive immediately after inserting your pendrive in that computer, and that virus will start its duty instantly.  First it will hide all the files by setting those files attributes (properties) system files.  Now your system will hide all those files automatically since those are all marked as system files and system files are very necessary to run OS and some application smoothly. 
 Then the virus will store some shortcuts into your pendrive.  Actually those all are not shortcuts, they are all application (virus) instead.  Those shortcuts will be renamed exactly as your files whichever is hidden by this virus.
Below picture is an example how the virus infected pendrive's files will look.

This is to confuse you, sure you'll think these are all the shortcuts for your files stored in your pendrive and the main theme of this confusion is to force you to open those shortcuts (actually virus application).
If you tried to open those shortcuts, nothing will happen, neither your file opens nor any error notifications.  But in background, this virus will run an application which spreads this virus immediately to the computer / laptop you've inserted this pendrive.
You'll get tired and you'll realize that your memory drive is infected with a virus after giving several successful tries to open your files.  Now, you'll sadly decide to format your pendrive. 
But wait..... don't do it....
Your files are safe!!!!!!!!!!!!!
You can still see it!!
Go to Tools>>Folder Options>>  then Check (tick) "Show Hidden Files"  and Uncheck (untick) "Hide Protected Operating system files" >> Hit Apply >> OK to close the folder option window. (See below picture for guidence)


Be amazed you can now see all your hidden files whatever you thought you've lost.....!!!!!!!
Now you can safely copy your files and folders to your computer but note, the attributes of these files often stay unchanged even if you uncheck hidden attribute on file/folder properties. Those files and folder still marked as system files and again you cant' see these files and folders once you Tick the "Hide Protected Operating system files" .
If it is a Memory SD card of a mobile phone, then the mobile still can't able to show your files while you try to access your memory via your mobile.
don't worry still your files and folders are safe and you can retrieve it back to normal as cleaned one.  I have a solution for it.
Here i going to tell the Permanent Solution for recovering hidden files by Command prompt in windows operating system.

Step One:

Plug your USB Pendrive or External HDD or Memory Card or Your Mobile's Memory Card Using a card reader which is Affected.
Delete these files from the pendrive - Autorun.inf, Ravmon.exe, svchost.exe (virus files)

Step Two:

Go to Start -> Run-> Type CMD and Enter

Step Three:

Find the drive letter for the connected USB drive. For Example, I:
In command prompt, type I:
and Hit enter. Command Prompt will show I:/

Step Four:

Then type
attrib -s -h /s /d *.*
Make sure that you put space between each elements in the code.

attrib (space) -s (space) -h (space) /s (space) /d (space) *.*
and hit enter and wait for few seconds.
Check the Screen Shot of Above Steps:
Virus Remover Command Prompt

Now check your USB pendrive you can see your files are back in their locations. 
Important: your pendrive and systems are still affected with that virus.  If you unplug and re-insert your pendrive into the same PC, your pendrive will get infected again.

So, please first install a good updated antivirus software and also update your windows defender frequently or install "Malwarebytes' Anti-Malware" to clean these viruses.
Voila... That's alll.. Enjoyyyyyyy.... Good luck.
- Article by Ranguski

If you still have any doubts and need clarification about this article.... please post your questions as comments below... Sure you'll receive a reply from me..
Keep Sharing with your friends and help them out... 
Applicable for:
Recover Hidden Files from Pendrive/Flash Drive/USB Drive
Files not showing in USB Drive/Pen drive
Files changed to Shortcuts in Pendrive/USB Drive
How to recover Lost files on Pendrive / USB Drive

Also like our Facebook page to get updates