

Type in diskpart in Administrator: Command Prompt and press enter.

Just know that this process will simply get rid of all the data without any warnings.

Now connect your USB drive that you want to clean, reformat and recover space. Don’t use Powershell as sometimes it can get tricky. On Windows 10, Windows 8.1 and Windows 7 search for command and simply right-click Command Prompt shortcut from the search results and select Run as administrator. The following process can wipe entire disk, so be very careful which disk you select and wipe clean. In fact it works in Windows 8.1, Windows 7 as well. I could go on with the annoyances but in short all we need is to format Linux USB Drive to recover, re-partition and reformat that disk in Windows 10. Disk Management shows the full disk size, cannot format it. It is annoying as Windows seems to be completely unable to recover disk space. You plug in the USB drive in Windows 10 (or any windows for that fact) and all you see is a Drive with zero MB disk space or in some cases it shows “ 14.0 KB free of 2.35 MB” message. This is quite a common problem when you have a USB Disk that was used to burn a Bootable Linux distro is dd mode.
