Guide

Windows tip: how to delete nasty partitions on USB sticks

Florian Bodoky
18.7.2023
Translation: Patrik Stainbrook

Some SSDs or USB sticks contain unnecessary partitions that needlessly take up space. Simple formatting won’t always be able to remove them. Luckily, I’ve got just the tip to fix this issue.

Windows includes a tool for just this pickle: Diskpart. I’ll show you how to use it and how it can help you with your partition problem. Keep in mind, this’ll also remove any data on your SSD or stick. So make a backup beforehand if you still need anything after. I also recommend you remove any other external storage device, just to avoid any accidents.

How to use Diskpart

Connect the storage device to a Windows PC. If it’s visible in the Explorer, you’re ready. I’m using a USB storage stick in this example.

  1. In the Start menu, enter «diskpart» and select «Run as administrator» on the right side (otherwise this won’t work).
  1. Identify your external drive in the list and memorise its number.
  2. Now write «select disk X» and press Enter. Make sure to replace «X» with your drive’s number.
  1. Now type «clean» and press Enter. Any and all partitions and data have now been deleted. Including those added by the manufacturer, if there were any.
  1. Now you’ll need to create another partition to use the stick. Type «create partition primary» and press Enter. This’ll create one partition encompassing the entire stick’s storage space.
  1. Now when you select the stick in the Explorer, Windows will automatically ask you if you want to format it. Click «Yes». If your stick is larger than 4 GB, make sure to switch to exFAT in the drop-down menu (see screenshot). This system supports larger files and adds compatibility with macOS as well as consoles like PS5 and Xbox. Now you’ll be able to use the entire storage device.
Header image: Shutterstock

29 people like this article


User Avatar
User Avatar

I've been tinkering with digital networks ever since I found out how to activate both telephone channels on the ISDN card for greater bandwidth. As for the analogue variety, I've been doing that since I learned to talk. Though Winterthur is my adoptive home city, my heart still bleeds red and blue. 


Computing
Follow topics and stay updated on your areas of interest

Guide

Practical solutions for everyday problems with technology, household hacks and much more.

Show all

These articles might also interest you

  • Guide

    Purchasing advice for USB sticks: data storage devices for your pocket

    by Jan Johannsen

  • Guide

    Portable storage solutions for your business

    by Andreas Mielke

  • Guide

    Google on Huawei Mate 30: Retrofitting the Play Store in 7 Steps

    by Dominik Bärlocher