How To Recover Super Hidden Files From Pendrive Using Command Prompt

We all mostly use pendrives for carrying data from one computer to another. Your data in pendrive is important to you. Viruses are the biggest problem for the pendrives. Commonly most of the viruses infects through the pendrives. Some of the viruses superhiddens the files and folders in your pendrive and creates a duplicate folder with ".exe" extension.
There are some tools to change the attributes of files and folders to normal folders. Now lets us learn resetting super-hidden files to normal attributes.

Basically we can view super hidden files by changing a setting in folder options.
Read: How To Enable Super Hidden Files

If the Folder Options is not available due to the virus infection. You can reset files/folders in pendrive using command prompt.

How To Recover Super Hidden Files Using CMD

  • Plugin pendrive to your computer.
  • Note the Drive Letter of your pendrive. Example: H
  • Open Run by pressing Win+R.
  • In Run box type cmd and press Enter.
  • Command prompt will appears. Type the Drive Letter of your pendrive followed by a colon. Example:  H:
  • Next type: attrib -s -h /s /d *.* and Hit Enter.
  • Note: Make sure that there should be a space after every command.
  • Wait for some time until it completes. Now you can see all the files and folders in your pendrive will be at normal state.
Read: More Tips.
     Share this useful tip with your friends.

    58 Comments

    1. welcome shankar.. Keep visit Tipsdrive.com

      ReplyDelete
    2. Thankyou so muchh

      ReplyDelete
    3. Thank you very very much. I have been searching ways to recover my hidden filed in the hard disk for many months and could not find any correct way. I am tired of searching in the net, but thank god! i have seen this web site with your correct solution. It really works and I have recovered my important files after many months.

      Thanks for your valuable service.

      ReplyDelete
      Replies
      1. Hey Raj I am glad that you liked this post... Thanks for your appreciation.

        Delete
    4. Thanks for U Guys...

      ReplyDelete
    5. You forgot the -r option. -r will make the Read-only attribute gone.

      so your typical commands should be,

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

      rd recycler /s /q

      erase autorun.inf

      erase whatever.bat

      Note: replace whatever.bat with any other complete file name which you have identified after the 1st command. And keep on repeating until you see that all the unwanted files are removed.

      If you see that a file with the same name in every folder in your pen drive, then try (let's think the fie name is, abc.exe)

      erase abc.exe /s

      ReplyDelete
      Replies
      1. how much time will it take? mine is 16 gb
        PLEASE HELP
        its not woking for me..

        Delete
      2. Sanka Use this tool http://www.jinux.co/fixxy/

        Delete
    6. how much time will it take? mine is 16 gb

      ReplyDelete
    7. i tried attrib -s -h /s /d *.* it worked... but now the problem is i couldn't go to the original state as it was before. So, please send me the code for its restate.... sooner... waiting for your reply..

      ReplyDelete
    8. Thanks for the help

      ReplyDelete
    9. Tested this trick. its working

      Thanks friends.

      Thumb UP.

      ReplyDelete
    10. THank u so much...very much helpful

      ReplyDelete
    11. Thank you. I could recover all of the hidden data from my corrupted pen drive.

      ReplyDelete
      Replies
      1. Thanks and welcome... sohali Mirrani, Suhali & Rajkumar...

        Delete
    12. I need help. What if the flash drive has been formatted. Can data be retrieved??

      ReplyDelete
    13. Thank you very much

      It worked like a charm

      ReplyDelete
    14. thank u so much.........I recovered my important files in my pendrive

      ReplyDelete
    15. Replies
      1. I am glad the you all the happy with this tip... Thanks Profesor Nito, Rcc, Thilakesh Kumar.. for commenting here...

        Delete
    16. Krishna Chippa, What to do when you plug in your pendrive in to the computer and prompts you to format it first before you can use it again?

      ReplyDelete
    17. THANKS BUDDY.. IT HELPS A LOT...

      ReplyDelete
    18. helped really...
      but pblm is da drive hides dem frequently

      ReplyDelete
      Replies
      1. Then you need to clean your computer from viruses, use a good antivirus. Try Microsoft Security Essentials, if your windows is original.

        Delete
      2. Yes, as Bharath said it is happening due to virus infection on your computer. So you have to scan your computer with antivirus software and remove all the viruses. Your problem will get solves.

        Thanks Bharath for Making comment here.

        Delete
    19. Pen Drives are the great avatars for people who always need to carry data along with them. Also, referred to as USB drives or flash drives; they are small, light-weight, cute and attractive.

      ReplyDelete
    20. Thanks a lot... I ve just executed the command hope it works!

      ReplyDelete
    21. Thanks a lot.i recovered all my hidden files.

      ReplyDelete
    22. hey i hv done the command process but the problem is it appears unhidden for a few seconds and thereafter it becomes hidden again....wht should i do? Thanks in advance

      ReplyDelete
    23. My problem is when I put this infected pendrive in USB slot drive appears but not able to open the same as if typed G: and enetered, it shows enter disk in drive ... cancel, try again or continue. What to do? please guide

      ReplyDelete
    24. Thanq u Mama. i got my files....

      ReplyDelete
    25. Great! It's working!

      ReplyDelete
    26. thnks a loooottt..
      u make my day...

      ReplyDelete
    27. Hi frnd......ur this trick actually saved my life......awesome man u r doing a great job. I wish u a very bright and fantastic future. Thank You for the post.

      ReplyDelete
    28. thanks shaker
      this tip has helped me

      ReplyDelete
    29. Thank you so much for your page... It was really a big help for me.. I was able to retrieve all my important files from my pen drive,,,

      ReplyDelete
    30. than q vry mch.......... now i can relax

      ReplyDelete
    31. It's work nicely... Thanks a lot

      ReplyDelete
    32. i tried cmds but it shows access denied e:\recycler.bin....

      ReplyDelete
    33. OMG AWSOME. I FOUND ALL MY FILES ON MY FLASH DRIVE. THANQ THANQ THANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQTHANQ SO......................... MUCH

      ReplyDelete
    34. Yay!
      It worked
      Thanks Krishna ^_^

      ReplyDelete
    35. Great! I am really happy I could get all my files back from 'Infected Hidden' folders in pen drive.

      ReplyDelete
    36. thank you so much .. this is really helpful ..

      ReplyDelete
    37. Awesome it worked for me

      ReplyDelete
    38. it shows 'attrib' is not recognized as an internal and external command,operable progrm or batch file..tel me wt to do with tis?

      ReplyDelete
    Previous Post Next Post