Skip to content

Website & Server Help

Unlimited Webspace Help

Menu
  • Home
  • Apps
  • Website
    • Sending email from a WordPress website hosted on an IONOS server
    • How to increase Upload Max Filesize
    • How to reset a WordPress password
    • 22 Ways To Speed-Up A Plesk Website
  • Server
    • Linux or Plesk Server Error 500
    • Windows Server: File cannot be loaded. The file is not digitally signed.
    • Adding or modifying IP addresses on a Linux server
    • Installing Remote Desktop on Debian 12
    • Installing Remote Desktop on Ubuntu 22.04
    • How To Install a Let’s Encrypt SSL in Apache on Debian/Ubuntu
  • Favs
    • How to Connect to a Server
    • The Ultimate Guide to Setting Up a Proper Plesk Email Server With IONOS
    • The Ultimate IONOS Migration Guide
    • Help! My Plesk Websites Are Down!
    • Running tests for a slow server or dropped packets
    • Checking File System and Hard Drive Health
Menu

Partitioning and formatting a USB drive with diskpart

Posted on January 27, 2025 by admin

You may have encountered a time before where a smart TV formatted a USB using an unusual file system, or left a large portion of the device as an untouchable EFI partition. If you’re on Microsoft Windows, the Disk Management utility can come in handy sometimes, however, it’s unable to delete these partitions or reformat. Follow along and we will show you how to reformat your USB device using Windows diskpart.

Warning: Following these steps will result in total loss of all data on the USB drive. Only continue if you’re okay with this.

1 » Open Command Prompt as an Administrator. This can be accomplished by searching for Command Prompt in the Windows menu and choosing “Run as administrator”.

2 » Open the diskpart utility via Command Prompt by entering:

diskpart

3 » List the detected disks:

list disk

Your drives will start with the number 0 (Disk 0). It should be apparent based on the size of the drives listed which one you’re trying to reformat. Apply this information to the next step.

4 » Select the appropriate disk. Replace disk X with the disk determined in the previous step.

select disk X

5 » List the existing partitions:

list partition

6 » As long as you’re okay with any possible data loss on the drive, continue by selecting the first listed partition. Replace X with the first one listed in the previous step:

select partition X

7 » Delete the partition:

delete partition override

The partition number doesn’t need to be specified here, as it was selected in step 5.

8 » Repeat for any remaining partitions:

list partition
select partition Y
delete partition override

9 » Create a new partition:

create partition primary

10 » Lastly, format with your desired file system:

format fs=fat32 quick

Special Offer

The internet's fastest, cheapest, unlimited bandwidth VPS

VPS
1core | 1GB RAM | 10GB NVMe
Unlimited Bandwidth | 1Gbps
$2/month - risk free