Is it able to recover data from flash drive with cmd? Can we repair damaged flash drive without software? Before we go on with this article, we would like to make it clear to you that there are many free software available that could do the job of free flash drive recovery when it is hard for you to manage the cmd flash drive recovery.
If you insist on a flash drive recovery with cmd, you may continue reading the following content that would introduce serveral ways for recovering your damaged flash drive or when your files were deleted from the flash drive.
Once you found out you have lost data on your flash drive, here are some tips for making the best chance of successful recovery.
Stop using your flash drive by any cmd, we won't recommend you use cmd as the first rescue method to get data back since sometimes cmd would write data to your flash drive if you cannot manage it well
Do not try to repair it
Disconnect your flash drive from the device that you play
Table of Content
Part 1 - Recover deleted files from flash drive using cmd [2 ways, video guide included]
If the above 12 tools cannot help, or if you insist on using cmd for the recovery, be free to follow the guide below that includes video guide for the flash drive recovery.
Part 1 - Recovering files from usb pen drive using CMD
Way 1 - attrib -h -r -s /s /d *.*
Connect flash drive to a Windows computer, Windows 10/8/7 is recommended
Launch cmd by using Windows icon + R on your keyboard (There are many other ways to start cmd that you may search it on Google.com)
Type the volume letter of your flash drive in your computer
Type attrib -h -r -s /s /d *.*, press Enter. (if you did not type the drive letter in the ahead step, you may use attrib -h -r -s /s /d f:*.* at this step when f is the drive letter of your flash drive, replace f with your own drive letter)
Recover files from flash drive using cmd in Windows 10
Video - How to recover files from flash drive using cmd
What do these parameters in attrib command mean?
-h: it gives the Hidden attribute to the files specified.
-r: it refers to the read-only attribute (files can be read but cannot be changed).
-s: it gives the System attribute to the files specified.
/s: it tells the system to search the specified path (including subfolders).
/d: it consists of process folders.
Way 2: attrib -r -a -s -h /s /d
Connect your flash drive to computer
Typle 'f' when f is your flash drive letter that you need to replace it with your own drive letter that your flash drive appears in your computer
Type ' attrib -r -a -s -h /s /d'
Video - how to recover deleted files from flash drive using attrib
When most flash drive errors could be fixed in this cmd 'format fs=ntfs quick', you may reply on this cmd for fixing damaged usb flash drives when you have rescued data from flash drive in the first part of this article.