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!!
:) :)

150 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
  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
  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. 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. thank you so much

    ReplyDelete
  35. 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
  36. its nt working...showing "parameter format is not correct"

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

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

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

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

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

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

    ReplyDelete
  42. 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
  43. Thank u bro my files has saved.................
    thank u bro

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

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




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

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

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

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

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

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

    ReplyDelete
  52. 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
  53. This comment has been removed by the author.

    ReplyDelete
  54. 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
  55. thanks a lot...................:) its working greatly:)

    ReplyDelete
  56. 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
  57. 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
  58. Good its working thanks! :)

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

    or

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

    ReplyDelete
  59. It didn't work for me.

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

    ReplyDelete
  61. thanks man its useful

    ReplyDelete
  62. thank you very much i gained my material

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

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

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

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

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

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

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

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

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

    Thanking For
    Free Online Tutorial

    ReplyDelete
  72. Great work,
    its working
    hureyyyy

    ReplyDelete
  73. Thanks a lot realy helpt (y)

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

    ReplyDelete
  75. It’s a Fantatsic blog . this blog helps you for any kind of windows7 error . we provide best services for your any type of windows 7 error . go through this site .
    error 1068 windows7
    Thank you
    Aalia lyon

    ReplyDelete
  76. Thanks for sharing the post.
    Dolgix - Computer DRAM memory modules flash USB pen drive manufacturer, supplier, distributor, dealer, and exporter company in India Delhi/NCR.

    ReplyDelete
  77. thanks verry good..............

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

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

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

    ReplyDelete
  81. 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