
Now, next to DISKPART>_ type in this command. After afew moments, you will see DISKPART with a white cursor blinking next to it.


If you are unable to boot to the Windows 10 desktop, you can also access the command prompt from the Recovery Environment. Upon arriving at the Custom/Advanced screen, press Shift + F10 to launch the command line, then type: diskpart to launch the Disk Partitioning utility. When performing a new installation of Windows 10, you can use DiskPart to format and prepare storage devices. There are other ways you can access the DiskPart command line utility, too. If you are formatting a local disk, you should use NTFS in place of exFAT, or you can choose from other appropriate file systems such as FAT32. This command will format and label the drive, e.g. Type format fs=exfat label=”DRIVE LABEL HERE” quick then hit Enter Type create partition primary then hit Enter Once the drive has been selected, type clean then hit Enter. If you had more storage devices connected or attached, they would be listed as disk 0, 1, 2, 3, etc. To select the small partition, type: select disk 1 then hit Enter – this is the small 2 GB partition I want to format. In my case, the drive I want to format is the 2 GB partition. As you can see below, both my local hard disk ( 20 GB partition) and my external storage (2 GB) are attached. This will reveal all attached storage devices.

This will start the disk partitioning command line utility. At the command prompt, type: diskpart then hit enter. The quickest way to do that is to press Windows key + X then click Command Prompt (Admin). To start, launch the command prompt in Windows 10. Initialize Local Disks and Attached Storage Using DiskPart in Windows 10
