Files Hidden by Virus. How to Unhide Them?

The Problem

My girlfriend was panicked when she found out her Final Year Project files were missing from her thumb drive. She thought the files were already gone by a virus attack or were accidentally deleted by her friends.

After I did some analysis, I found out the files are still there but a virus had modified the file properties to ‘Hidden’ and hide all files in the thumb drive.

Although she tried to “Show Hidden Files” but the virus does not allow her to view them. Luckily, she has a very intelligent and clever boyfriend who guides her on how to overcome this problem.

The Solution

1. Insert the thumb drive to an empty USB slot. Take note the drive letter. For an example, F:.

2. Press Windows + R, and type “cmd“. Ok.

3. Enter this command,

attrib -s -h -r f:/*.* /s /d

4. Press Enter and wait for the command to execute.

5. Open the thumb drive and you should see the files that were hidden by the virus.

Conclusion

Hopefully with this guide she can help her friends to solve the same problem. And yes, I also hope this guide will solve your files hidden by virus problem too. BTW believe me, university is the best place for virus to spread!

Comments

  1. fazryna says:

    thank you soo much for this! it works! so now any ideas how to delete the virus folder,mine name is system volume information

  2. JiiN says:

    GREAT!!!! you good, you did save a lot of life! god bless you!

  3. siso says:

    hi. thanks that was so useful

  4. LaiQue says:

    Thanks Bud

  5. afshineh says:

    hi! i am very happy! it ‘s GREAT

  6. robu says:

    Worked like a flippin’ charm. Quick, fast, did the job. THANK YOU!

  7. RS says:

    Thanks so very much! much appreciated!!!

  8. zxcvmnb says:

    You can use winrar or 7zip as file manager (press backspace to go one level up) .It shows all files including system and hidden files .Or change ” folder and search settings>view>show hidden files and uncheck hide protected files -> OK “

  9. janna says:

    thanks for the info…. at least the important files are retrieved.. :) do you also know how to clean up the virus? i tried removing it with my avg, but it still exists..

  10. bigdogjr says:

    Awesome! Thank you.

  11. Mike says:

    Thank you. It worked, I am so happy, I could recover my data

  12. Paul Greiner says:

    Wow, great solution and thanks for sharing this. I was struggling for 2 days with this problem then boom, you solved it for me. Awesome.

  13. Skydestined says:

    too cool!!!! thank u sooo much…. i was devastated to find my files missing,,, relieved to have got them back with ur help…. :D

  14. syed akmal hakim says:

    WoW! thank for share the command..! it really work :D

  15. Q8_Nomad says:

    Hello,
    Thank you for the solution. But, when I try it I get the following message for all my hidden files:

    Not resetting hidden file – F:\(file name)

    Any ideas?

  16. Q8_Nomad says:

    Ok, I just found the solution to my case.
    I found an (autorun.inf) file on the root directory, I first thought it came with my flash memory, so I didn’t care about it. Then, I opened it and found it mentioning some wierd file names. So, I decided to delete it. And now yor solution worked wonderfully!

    Thank you so very much!

  17. jenggo says:

    solution 2009 lu ni masih boleh pakai 2012.
    boleh ke pulak external hard disk gua infected virus jadah pe dari thumdrive adik gua (student uitm).
    memang tempat ternak virus tul la kampus dia tu.
    anyway thanks very much bro.

  18. RICK says:

    thanks so much for this..

  19. Leon says:

    Hi… Thanks for the nice guide… Is it the same function as the guide shown in this blog>> http://laptop-problem.blogspot.....ve.html??? Coz the command is a bit difference but it works too…

  20. vishu says:

    how to remove recycler folder permanantly, from thumb drive ?

  21. marvin says:

    Thanks a bunch!! this really works awesome man!

  22. Dash says:

    Cheers, this worked wonders. Can access most, only one i cant is ‘my pictures’ which says access denied

  23. christina says:

    You are BRILLIANT!!! Thanks so much for posting this quick and easy solution!!! I am eternally grateful!!!!

  24. Karthik says:

    This is an excellent command. I got my files back in my folder. Thanks a lot. I read your other postings too. They are awesome. Kudos!!!

  25. Chambi says:

    THANK YOU!!!

  26. Rashid says:

    Access denied -,- ..
    but i really wonder how did the virus came while i use Norton Internet Security 2012.
    this program is useless D:

  27. menadjelia says:

    Great. it is so good and simple line command

  28. Godfrey Kaamba says:

    I have just signed in to say thanks for your effort dude, it works for me like a charm although it shows an error “Access denied” for autorun but aah no big deal. THANKS!!!

  29. Philip Tetteh says:

    Thank you so much guys, following the instruction helped me to recover my files

Speak Your Mind

*