HOW TO REPAIR CRASHED OR CURRUPT HARD DISK DRIVE OR PEN DRIVE USING 'CMD'
NB: This tutorial only works with storage devices that is detectable to the system
Steps:
Make sure you have disconnected all storage devices except the one you want to repair.
Press and hold Windows key + R, the run window will pup-up. Type "diskpart" in the textbox as shown below, and click OK.
On the Diskpart Command Window, type "list disk" without the quotes and press enter as shown below.
Type "Select disk 1" without the quotes and press enter as shown below
In the command window, type "clean" without the quotes and press enter. (this command will wipe all data on the disk and covert the disk to RAW format)
Type "create partition primary" without the quotes and press enter.
Type "format quick fs=NTFS" without the quotes and press enter.
Type "assign letter=E" without the quotes and press enter. (Note: the drive letter can be changed).
You have successfully completed the task. You can now access your drive from the File Explorer.
For further understanding or questions, leave a comment.

.png)
.png)
.png)