USB flash drives, portable drives are good for transferring data between Computers but sometimes they can also infect your machine by carrying unwanted stuff like Viruses, Trojan backdoors and malwares. There is a famous USB pen drive virus that not only infects your files but also makes them hidden. It creates an empty shortcut of your files and folders which leads to nowhere. Scanning your USB drive for viruses removes the shortcut virus but your fails to recover your precious data which is still present under the drive but hidden. This guide will help you recover your hidden files, make sure you follow the steps below carefully!
How to Show/Recover Hidden Files in USB:
Before we begin, we must first tell the Windows to show hidden files first.
Open Windows Explorer > Go to Tools > Folder Options > Go to View Tab > Check “Show Hidden Files”
Once you have done that you need to Open Command Prompt (cmd).
Open Start Menu, type “cmd” and press Enter. Or just press WindowsKey+R.
Type the following commands into the text box.
attrib -h -r -s /s /d k:\*.*
Note: Replace “K” with the drive letter and then press Enter.
Now all your files will start showing in your USB drive. If you see a folder without name, rename it to recover its data.
Useful information:
- This will work on Windows XP, Vista, 7, 8 and Windows RT
- Run Command prompt with administrator account.
- Scan your USB flash drive using antivirus or anti-malware to get rid of virus first.
Thank you so much.This was really great.It worked .
Files Not Showing/Hidden in USB Drive [Virus Fix] for mac?
It is not complete solution. Trojan remains in PC/laptop. Next time when you use USB this trojan will again infect USB
A lot of thanks
I’ve been using the same command but file is not found. I’ve replaced “K’ with my drive letter H… but it’s not working…
Thanks a lot, it worked for me
Nice. 🙂
thanks for the help. 🙂
Thanks for the fix! It just solved a big problem for me.
It worked. The drive letter has to be UPPER CASE. Perfect!
i’ve try but my pen drive cannot read..
but computer ask for format it..
cannot be..
so how?
pls..
so nice
it helped me alot
thank you so much for the help.. =)
Wow. It works !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Thanks so much for your help
thanks
It works, thanks! But how do I delete “AUTORUN.INF”?
Unchecking the “”hide protected operating system files (Recommended) “” did nothing…
But this solution helped! ! Thank you genius! 🙂
THANK YOU !! to Justin (the author) this may be a piece of cake for you , but you’re a life saver! 🙂
Yea the said command is working.. thank you..
thank you so much sir
Thank you Justin, you rock!
Its a great help. Thank you..
After running the command I see some other files with different name and contains more than 1 mb data. I think that is the virus.
Thank you so much sir… Its Works…
thank you so much you saved me
WOW!!!!! THANKS A LOT JUSTIN WEBER!
thanks a lot for the help. cheers.
Thank you so much it works. After implement this command, two folders emerge in my thumb drive 1) system volume information 2) folder without name.
I create temporaty name for this folder and can access it… all my file inside there.
Absolutely useful !
Thank you Justin !
Oh man..! Guys, you are so great. I’ve been searching for an article like this for years. You guys have saved a lot of my data.. Cheers!
it works
Wonderful thanks sir, it works great
Thanks a lot from bottom of my heart…
One stupid person introduced this virus in my laptop hard-disk, and my kid’s pics were there in that..
today with help of your article I am able to recover them
Thanks a Lot
Excellent…thank you
Thanks alot . Its Work For me 🙂
Thank you so much for your help.
best regards
Did not work and got the message: path not found. What to do?
Did not work and got the message: path not found. What to do?
Thanks a lot!!!!
thanku.. worked!!
Thank you!
Actually working!
Thanks it worked..