Skip to content

Instantly share code, notes, and snippets.

@SZanlongo
Created April 13, 2019 15:34
Show Gist options
  • Save SZanlongo/b3e1afac3f0e4069b8debd81864e264c to your computer and use it in GitHub Desktop.
Save SZanlongo/b3e1afac3f0e4069b8debd81864e264c to your computer and use it in GitHub Desktop.
Format Unknown Disk Capacity
  1. Plug-in your USB flash drive to USB port.
  2. Open Command Prompt with admin rights. Use any of the below methods to open Command Prompt.

Type cmd in Start menu

  1. You need to know about the USB drive a little bit. Type in the following commands in the command prompt:

First type DISKPART and hit enter to see the below message. (this opens the disk-partition manager)

Next type LIST DISK command and note down YOUR FLASH DRIVE'S Disk number (eg: Disk 1). BE CAREFUL NOT TO CHOOSE YOUR PRIMARY HARD-DRIVE.

  1. Next type all the below commands one by one. Here I assume that your disk drive no is "Disk 1".If you have Disk 2 as your USB flash drive then use Disk 2.Refer the above step to confirm it. So below are the commands you need to type and execute one by one:

SELECT DISK 1

CLEAN

CREATE PARTITION PRIMARY

SELECT PARTITION 1

ASSIGN

FORMAT FS=NTFS (Format process may take few minutes)

EXIT

via: http://www.fixya.com/support/t7014706-will_not_format_unknown_capacity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment