Drive no longer accessible? Use DiskPart to fix it on Windows 10.
Do you have problems with a particular drive? It could be a logical issue that can be fixed with a few commands — here's how on Windows 10. On Windows 10, when an external drive (USB flash drive, SD card, or secondary drive) stops working due to data corruption or another logical problem, DiskPart can help properly erase everything and start clean with a new partition. DiskPart is a legacy command-line tool designed to manage drives, partitions, volumes, and virtual disks using Command Prompt, which usually works better than other Windows 10 tools, such as Disk Management and the File Explorer Format feature.
Drive no longer accessible? Use DiskPart to fix it on Windows 10.
Windows Central published a tutorial about how to fix a no longer accessible drive with DiskPart on Windows 10.