USB flash drives are a very practical way to store and share information quickly and easily. What is less practical, however, is when they stop working and you can no longer access your files.
This FAQ will walk you through how to recover your files on a USB drive that has hidden them.
Access Files on USB Flash Drive that Won't Open
Open a new text document in your flash drive, and enter the following code into the text document:
attrib -s -h -r /s /d
Go to File
> Save as
, and save the document as unhide.bat
Close and delete the text document that you've just created. Double-click the unhide.bat
batch file. A black command screen will pop up and close on its own.
You should now be able to access your files on the pen drive.
Fix a Corrupt USB Flash Drive to Recover Files
If you still cannot access them, it may be because your USB drive has been corrupted or infected with a virus. To repair any damage done, you can try to run chkdsk
To do so, press the Windows Key
. Next, in the Power Users menu, select the Command Prompt
option. Click Yes
in the window that pops up.
In the Command Prompt window, type chkdsk E: /f /r /x
with your drive letter), then press the Enter
Image: © IB Photography - Shutterstock.com