How To Access USB Flash Drive Files that Won't Open

February 2018

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:


@echo off 
attrib -s -h -r /s /d
cls
exit

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 + X. 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 (replacing E with your drive letter), then press the Enter key. and hit Enter.

Image: © Aliaksandr Huseu - 123RF.com
Published by owilson. Latest update on February 6, 2018 at 03:17 PM by owilson.
This document, titled "How To Access USB Flash Drive Files that Won't Open," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (http://ccm.net/).
How to format a write protected usb flash disk
How To Put Music from YouTube on a USB