Monday, February 18, 2013

How to Recover hidden files from Pendrive after virus infection


Mostly pen drive doesn't consist any security measures. Since we use Pen drive in many PC/Laptops it very easily gets infected with viruses and malwares. 

We can easily get rid of these Malwares by scanning it with any good updated Antivirus (no need of Format as it leads to Data loss).

Problem arises when we try to access our data stored in the pen drive.
When we check property of the USB Drive, Disk usage shows there are files in the pen drive but inside pen drive we can't find any!!
Rather we are left with some Shortcuts sometimes.

Don't worry All the files are safe only they are made Hidden by the virus.


To show your hidden files you can follow this link : "Show"


To unhide your files and folders follow these simple steps:

1) Open command prompt:
     (Win 7 & vista) : 
  start->cmd (in search) -> open
It is better to open cmd as administrator:
right click the cmd icon (from search)->-> run as administrator(give admin password if required, else use normal run)

     (Win xp users) :
  start -> run -> type cmd -> Ok


command prompt will open now.

2) Check Drive Letter of you pen drive from 'My Computer'.
Pendrive drive letterFor example, If it is labelled as "e: drive"
     
-> type 'e:' hit enter

now pointer location will go to the drive.
 
3) type this command and hit enter :
     attrib -r -s -h *.* /s /d


 
attrib command

Hurray, all your files and folders are visible to you now!!
:) :)

204 comments:

  1. sir my pendrive not work... so wht can i do?????

    ReplyDelete
    Replies
    1. Sorry for responding late..First tell me whether your Pendrive is being detected or not?

      Delete
    2. the word "attrib " is not recognized as internal or external command..wat to do

      Delete
    3. are you using windows 7? thats works here

      Delete
    4. sir i m using win 7 still it shows attrib is not recognised as internal or external command...

      Delete
    5. excellent working

      Delete
    6. thanks buddy suffered from this prob several times finally found soln to it thanks a lot

      Delete
    7. Thanku sir. It is working

      Delete
    8. Thanks so much!! you saved me

      Delete
    9. Its working
      leave space as shown in the pic then it will definitely work.

      Delete
    10. ThankYou very much It worked

      Delete
    11. Thanks sourabh singh. It worked. Thanks a ton. :)

      Delete
    12. i already try but after saying does not exist help me huhuhuhu

      Delete
  2. Sir, my pendrive is not work. it said that the autorun.inf is protected. What can i do? TQ

    ReplyDelete
    Replies
    1. Try opening it from command prompt, as mentioned above, then tell me the error it shows (if any)

      Delete
    2. After using above process also, i cant seeing files...

      Delete
    3. @Anonymous : are you sure that files aren't deleted ?
      if that is the case and above command doesn't show you files(which is very rare),
      the only reason that could lead to this is- your PC might be having virus and the virus is stopping you from viewing hidden files.

      Check this link for viewing hidden files:
      http://tech-soln.blogspot.in/2012/08/how-to-show-hidden-files-in-windows-7.html

      to clean virus safely :
      http://tech-soln.blogspot.in/2012/11/how-to-clean-your-computer-from-virus.html

      Delete
  3. Oh my MA Thesis is being ruined.What shall I do?

    ReplyDelete
    Replies
    1. if your Pendrive is not showing the files but still occupying disk space as previous.. this page will definitely help you

      If your case is different, then tell us, we will surely try to solve your problem too

      Delete
    2. So nice Thank You I got all files.Thank you so much

      Delete
  4. i used this command but in result i got access denied

    ReplyDelete
    Replies
    1. Please elaborate at which line you got "access denied".

      Delete
  5. Thank u Sir, now my pen drive is showing all files/folders after doing ur solution

    ReplyDelete
    Replies
    1. You are most welcomed!!
      Do visit other posts and feel free to ask questions if you face any problem

      Delete
    2. Thanks sir i had the same problem but now it is Solved thanks alot brother can we find you in Facebook or Personel Email address

      Delete
    3. Tanku sir my pendive working comand for all hidden file show

      Delete
    4. Tanku sir my pendive working comand for all hidden file show

      Delete
  6. thanx fr the help its really use full fr me i got my files thanx a lot....

    ReplyDelete
    Replies
    1. Your appreciative comments acts as booster for me..
      Visit other posts also and also tell us about them.

      Delete
  7. Replies
    1. Welcome Ashraf.
      Nice to listen that our solution helped you.
      Do visit other posts.

      Delete
  8. after giving pd location a msg displayed " the filename, directory name, or volume label syntax is incoreect " what 2 do now ?

    ReplyDelete
    Replies
    1. here in step 2, in place of 'g:' give the drive letter which is assigned to your pendrive as shown in My computer.

      tell me, what it tells then

      Delete
  9. thank you boss...It really worked

    ReplyDelete
  10. Simply superb.I recovered Photos from my corrupted Camera drive. Thank you.

    ReplyDelete
  11. Thank you ... this code helped me....

    ReplyDelete
  12. Thank you so much!! :D :D :D
    SINGH Is KING!! :D

    ReplyDelete
    Replies
    1. Ha.. Ha.. Ha..
      My Pleasure!!

      Delete
    2. above procedure are good to retrieve hidden files from flash drive thank you

      Delete
  13. thanx it really works..:)

    ReplyDelete
  14. thanks a lot sir. i was able to retrieve valuable data with your help.

    ReplyDelete
  15. Thanks a lot!!!! i got my all files.

    ReplyDelete
  16. it worked! i got all my data! Thank you! :)

    ReplyDelete
  17. Thanks a lot!!! it worked as a savior indeed bringing back all the data which I thought to be lost :)

    ReplyDelete
    Replies
    1. Welcome...
      Feel free if you face any other problem

      Delete
  18. Thank you so much - I was able to find all my missing folders on my pen drive after reading your simple, easy-to-understand instructions. Very useful indeed.

    ReplyDelete
  19. thanks sooooooo muchhhhh worked great :DDDDDDDDD

    ReplyDelete
  20. MY PENDRIVE IS STILL A SHORTCUT. IT GIVES AN ERROR " There was a problem starting PWULUDI.ini .The specified module could not be found". Please help me.

    ReplyDelete
    Replies
    1. Hi Shweta..
      Your problem is more with your PC. The PC is infected with virus.
      After running above mentioned commands files momentarily becomes available but virus again hides them all.
      Shortcuts and the mentioned 'ini' file are just generated by the virus.
      you may use another virus free PC to clean your pendrive.

      To clean your PC from virus go through :
      http://goo.gl/CSmh7

      Delete
  21. it worked! i got all my data!

    ReplyDelete
  22. It feels great to listen to valuable comments of all you people..

    You can join us via.. google+ and also by joining this site (on right side panel)

    also can Like our Facebook page and stay updated..
    https://www.facebook.com/pages/Tech-soln/592479987450995

    ReplyDelete
  23. thank u friend, i got my hidden files

    can i ask one question ?
    that is
    which degree is best in computing ?

    ReplyDelete
    Replies
    1. Pleased to know that it helped you!!

      computing is a vast field having many sub fields, it'll be better to suggest after knowing one's Goal.

      If you wish to do Bachelor of Computing, then depending on your geographical location, you can check here:
      http://en.wikipedia.org/wiki/Bachelor_of_Computing

      Delete
  24. sir, i m getiing a maessage 'patch not found -i: \*.*\s"

    ReplyDelete
    Replies
    1. if I am right, then message must be 'path not found', it is because either you made slight mistake in writing above commands or if your pendrive is not accessible.

      -1st make sure, your pendrive is showing in My computer and it is opening or not. Note down its Drive letter
      -type the above commands precisely without any mistake

      Delete
  25. HI.
    I am getting this error.
    "The file or directory is corrupted and unreadable."

    ReplyDelete
    Replies
    1. your system is finding difficulties while opening the pendrive
      (If you have written code and drive letter properly)

      try inserting it in other USB ports... also check whether can you open it from my computer or not??

      Delete
  26. When I try to access the pen drive using cmd, I get a msg saying
    "exception processing message 0xc0000013 parameters 0x750F023C 0x852CB9A4 0x750f023C", and then the buttons "cancel", "try again" and "continue", but regardless of what I chose the prompt stays at c:
    I can see my files on the anti-virus scanner but cannot see it on windows.
    AVG has detected some trojan horse called "Agent 4.au". Any ideas of how to recover the files from my pen drive?
    Thanks!

    ReplyDelete
    Replies
    1. First you clean your system from virus, then only other activities can be performed.
      use this link to clean virus safely:
      http://goo.gl/CSmh7

      Delete
  27. I try to recover my files using the cmd but it says that my files does not exist...what should I do?

    ReplyDelete
    Replies
    1. cmd will never say those words,
      It'll be better if you mention the exact error that displayed

      also be sure that there is no virus in your system

      Delete
  28. One of my pen-drive is detecting but when m opening its asking for format, after formatting it from quick as well as complete method its again asking for the same. Kindly help, it would b better if u could revert to me on my mail id (abhi.bangs21@gmail.com). thanks in advance buddy (y).

    ReplyDelete
    Replies
    1. Just mention, after formatting Did you open the pendrive and then it asked for format again??

      Delete
  29. Replies
    1. In windows 8, commands are same, only you will face difficulty in opening command prompt. Follow these :
      -charms sidebar-> search->type cmd -> open

      There are many ways to open charms sidebar, shortcut is:
      windows key + C

      Delete
  30. Thank u sir, it's work

    ReplyDelete
  31. Love it when things are explained so well. Cheer!!

    ReplyDelete
  32. dear sir
    am tried with above command but i cant able to see my files in my pendrive please help to sortout from this problem

    ReplyDelete
    Replies
    1. Doing above commands exactly will surely show your files.

      Only exception is when your computer is infected with virus.
      -First, clean virus from your PC, using this link:
      http://goo.gl/CSmh7
      (if you want it quick, then you may use MalwareBytes method only)

      Delete
  33. thank you so much !!!!

    ReplyDelete
  34. Thanks for this easy step, I was able to retrieve my files in one simple process, although I deleted some earlier but I got the main ones needed for my work saved.......Thanks again and I'll be looking forward to having my PC problems solved here...Timothy Dally

    ReplyDelete
  35. its nt working...showing "parameter format is not correct"

    ReplyDelete
  36. Thank you very much its working
    U save me today friend otherwise I face huge loss

    ReplyDelete
  37. verinder singh kundralJanuary 20, 2014 at 5:41 PM

    Thanx bro...it really works...thanx again

    ReplyDelete
  38. hello sir good evening this is gulab jan from arakkonam. i have small doubt about antivirus which is the best antivirus for free

    ReplyDelete
  39. Sir I m able to open with above command

    ReplyDelete
  40. It's Working Thank you so much for your help

    ReplyDelete
  41. hello sir, i've lready format my pendrive. but not fully content deleted means if we format should be content zero. so i guess it may be have files hidden. when i scan no virus detected. so how? t_t

    ReplyDelete
  42. Thank u bro my files has saved.................
    thank u bro

    ReplyDelete
  43. thanxxxxxxx.....a lot it worked for me...

    ReplyDelete
  44. Thank you so much sir,it really works.




    ReplyDelete
  45. Hello i tried that amd my files are still hidden when i click properties the hidden button is grayed out...

    ReplyDelete
  46. http://imgur.com/xLI7MRf

    ReplyDelete
  47. thank you . may God bless u :)

    ReplyDelete
  48. Thanks a lot. You just saved from formatting my flash drive and losing valuable files.

    ReplyDelete
  49. Thank You very much it really saved me...

    ReplyDelete
  50. sir i tried with the command u mentioned..but the files didn't appeared. Plz help me.

    ReplyDelete
  51. Fantastic mate! It worked perfectly. Thank you!
    And guys... mind all the "spaces" to be typed on the command line. And give it a very little time to fix the attributes. Vola... :)

    ReplyDelete
  52. hello sir, i have copy (attrib -r -s -h *.* /s /d) and paste it into cmd.. but by mistake i have not mention the drive and entered...now, would it harm to my c drive (windows system32) or other drive

    ReplyDelete
  53. thanks a lot...................:) its working greatly:)

    ReplyDelete
  54. I would like to share this application, this tool retrieve everything from corrupt, deleted or formatted drive. Use Free version to Recover data.
    http://www.recoverydeletedfiles.com/

    ReplyDelete
  55. Dear Sir Salam
    I Have a Problem with My Toshiba Core i3 Laptop PC
    When i install Windows7/8 in My PC After 7 or 10 days it Give the Harddisk error massage when i install a Fresh Windows7/8 it works for one week or 10 days i change the Hard disk but the same problem in new Hadrdisk. What do i do sir ? for best troubleshoot i need your Comments.

    ReplyDelete
  56. Good its working thanks! :)

    "attrib -r -s -h *.* /s /d"

    or

    "attrib -h -s -r *.* /s /d"

    ReplyDelete
  57. It didn't work for me.

    ReplyDelete
  58. in my operating system windows 8, attrib commanad is not working

    ReplyDelete
  59. thanks man its useful

    ReplyDelete
  60. thank you very much i gained my material

    ReplyDelete
  61. There is a tool that can do it for you easily:
    www.spectrabyte.blogspot.com/2013/11/usb-armor-anti-virus.html

    ReplyDelete
  62. thank. it works well. my files recovered.
    thank you.

    ReplyDelete
  63. my usb is right protected.. it wont work

    ReplyDelete
  64. System access deny! Even I m login as administrator , what's wrong with it?

    ReplyDelete
  65. thank you very much.
    you saved my "life"....
    now all folders and files appear as usual.

    ReplyDelete
  66. Hi, when i tried the above command i am gettin an Access Denied error. Can you help ??

    ReplyDelete
  67. Finally Thanks alot dude... :D

    ReplyDelete
  68. Nice .. this really helped me to recover my important files. thanks for sharing this..

    ReplyDelete
  69. Thank You. It's Work 100%.

    Thanking For
    Free Online Tutorial

    ReplyDelete
  70. Great work,
    its working
    hureyyyy

    ReplyDelete
  71. Thanks a lot realy helpt (y)

    ReplyDelete
  72. I SHOUTED "VOILA" WHEN I SAW MY FILES BECOME VISIBLE. THANKS FOR THE TIP MAN. THANKS A MILLION

    ReplyDelete
  73. Thanks a lot.
    It worked for me.

    ReplyDelete
  74. Thank u vey very much sir...

    ReplyDelete
  75. yaa it s working thank u so much Bro!

    ReplyDelete
  76. Hi,
    I'm facing the same problem: file size seen but not files/folders visible.
    This command doesnt work. what should I do to recover my imp data.
    Please help, it's urgent for my interview.

    ReplyDelete
    Replies
    1. maybe u have added some other files after ur PD was infected. i faced same probelm but the i removed the 2 files i added recently (after the PD was infected) & my hidden became visible...

      Delete
  77. sir m unable to delete the files in pen drive !!
    its showing attrib not recorginesed!!!!

    ReplyDelete
  78. It works! Thank You. Guys use space bar while typing.

    ReplyDelete
  79. Thanks Dude,
    It worked like a charm.

    ReplyDelete
  80. all pendrive's data gone.. and i got a new folder named FOUND.000

    how to recover files/...

    please help ..its very imp. data

    ReplyDelete
  81. This comment has been removed by the author.

    ReplyDelete
  82. Tks its vry useful tks alot

    ReplyDelete
  83. Thank you so very much.

    ReplyDelete
  84. my flash drive still shows FOUND.000 and System Volume Information, so what can i do

    ReplyDelete
  85. thanks bro..it worked

    ReplyDelete
  86. thanks for such a nice information.Thank u.

    ReplyDelete
  87. thank you so much.it worked excellent

    ReplyDelete
  88. My pendirve dectect.but inside pendrive all data hidden. If i applied attrib formula cmd shown ur specified path not correct. Pls give any other option. Very critial. krnandha@gmail.com

    ReplyDelete
  89. Pen drive recovery software recovers all your deleted or lost files from pen drive when files has been deleted by accident or pressed format by mistake.

    ReplyDelete
  90. Un-Hider (Un-hide and show Files and Folders hidden from pen drives, sd cards, hdd, folders, etc)
    - in my channel
    ..

    ReplyDelete
  91. sir, when i try the cmd method, it say my pendrive is not exist.can help me sir?

    ReplyDelete
  92. This comment has been removed by the author.

    ReplyDelete
  93. sir, how can i permanently remove the virus from my pc

    ReplyDelete
  94. You can use KrojamSoft FilesSearch to find the location where the file is.

    ReplyDelete
  95. Hi Sourabh,

    Thanks for the help, provided the spaces are kept as you say it works great.

    Regards

    ReplyDelete
  96. Tysm sir. Thanks a million !!!!! Awesome !!! At click of a button I recovered d most imp data of my life

    ReplyDelete
  97. thanks a million you have really saved my job

    ReplyDelete
  98. after doing this a folder named found.000 is showing

    ReplyDelete
  99. Mine says....access denied -G:\System Volume Information

    ReplyDelete
  100. Thanks a lot, Saurabh. It worked! Was unsure that it would. Many thanks.

    ReplyDelete
  101. Are you worrying of restore file from inaccessible usb ? Do you want to restore the file ? If yes then you need to take help of an ultimate solution of data recovery which is named as photo recovery software.

    restore file from inaccessible usb

    ReplyDelete
  102. The Computer Virus are very harmful infections. It is very difficult to restore the deleted files due to the virus attack on computer. I too face same issues but thanks to Data Recovery Tool using which I am able to get them back.

    ReplyDelete
  103. Dear Sir,
    After some time from entering your command the following line appears
    "Access Denied - E:\System Volume Information"
    my pendrive is e:\
    Can you please help
    This is windows 10

    ReplyDelete
  104. It works ... Thank you very much ... Best wishes and regards... Keep it up...:)

    ReplyDelete
  105. Sir, a particular folder is deleted from my pendrive when i inserted it in the computer. I tried all steps but I could not retrieve that particular folder. What i can do now?

    ReplyDelete