Diskpart: How to Format a USB Drive Using CMD

Want to format your USB but get "Windows couldn't complete the format"? You can use Diskpart to do it. If you want an easier, restriction-free solution, try Partition Assistant.

#USB #flashdrive #format #diskpart #cmd

2025/11/10 Edited to

... Read moreHey everyone! I wanted to share a lifesaver tip for when your USB drive just refuses to format. We've all been there, right? You plug in your trusty flash drive, try to format it, and then BAM! 'Windows was unable to complete the format.' Ugh! It's super frustrating, especially when you need to reformat your USB drive to get rid of old files or fix corruption. I learned about Diskpart a while back, and it's become my go-to 'hidden tool inside Windows' for these stubborn situations. It’s a powerful command-line utility that gives you much more control over your disk partitions than the standard Windows Disk Management. Here’s how I use it to fix un-formattable USBs and get them working perfectly again. My Step-by-Step Diskpart Fix for Stubborn USBs: Open Command Prompt as Administrator: Search 'CMD', right-click, 'Run as administrator'. Launch Diskpart: Type diskpart and press Enter. List Disks: Type list disk and hit Enter. Careful here! Identify your USB by size (e.g., 16GB USB might be 'Disk 1'). Selecting the wrong disk means data loss! Select Your USB: Type select disk [your disk number] (e.g., select disk 1). Clean the Drive: Type clean and hit Enter. This erases all data and partitioning. It's often the fix for formatting and write protection issues, especially if you saw 'Windows failed to format the drive'. Create Primary Partition: Type create partition primary and press Enter. Select the Partition: Type select partition 1 and press Enter. Activate (Optional, for bootable drives): If creating a usb bootable cmd drive, type active and press Enter to mark it active. Format the Drive: General use: format fs=ntfs quick For compatibility (e.g., older devices, 64GB USB to FAT32): Type format fs=fat32 quick and press Enter. This is key for specific needs like formatting a 64gb usb to fat32. Assign a Drive Letter: Type assign and press Enter. Exit Diskpart: Type exit and press Enter twice. Voila! Your USB drive should now be formatted and accessible. I've used this method countless times to bring seemingly dead flash drives back to life. It truly is a lifesaver when the standard Windows formatting just won't cut it. Sometimes, when Diskpart itself seems to struggle or if you prefer a graphical interface for more advanced partitioning, I've found tools like Partition Assistant (as mentioned in the original post!) to be super helpful too. They offer a more user-friendly way to handle complex situations or when you need to format to file systems not easily handled by Windows' native tools.

Related posts

Corrupted USB Drive? Recover Your Files First!
Getting errors like "USB not recognized" or "You need to format the disk"? Don't panic yet. This video shows proven ways to recover files from a corrupted USB drive, fix file system errors, and restore access to your important data before it's overwritten. #techtutorial
XanthusTechCore

XanthusTechCore

4 likes

A student's desk with a laptop displaying a probability assignment, a spiral notebook with handwritten notes, and two energy drink cans. The image is titled 'HOW I TAKE NOTES IN COLLEGE'.
A blank page of a spiral notebook with 'Section # here' written in red at the top, illustrating the first step of note-taking.
A spiral notebook page showing 'Section # here' and the second step of note-taking, which involves writing and highlighting terms and their definitions.
How 4.0 Students Take Notes 📝❤️
Steal my notes! 🫧💋🪩 This is the technique I use to take my notes in classes. I just perfected my format and find this to be the most functional. I take these notes in class and it isn’t time consuming or hard! I find this method to work best for me because the terms and examples stick out th
lizzie matthias

lizzie matthias

3117 likes

Tech Tutorial: Recover SD Card Files Using CMD
Want to recover files from an SD card using Command Prompt? This guide explains how to use CMD tools like CHKDSK to repair file system errors and attrib to unhide missing files. Learn when Command Prompt works, when recovery software is needed, and how to restore photos, videos, and documents safel
XanthusTechCore

XanthusTechCore

2 likes

Vlogging tips NO ONE TALKS ABOUT: let’s chat 📸
These are some of the most underrated tips that I’ve personally curated that I wish that I was given before I started vlogging. You would think that they were a little bit on the side of common sense, but I can tell you that these are not things that typically people will think about when they are
fromcheywithlove

fromcheywithlove

1548 likes

How i edit photos using Canva 🎨
Editing with Canva is a game-changer for me. 🎨 From enhancing photos to creating stunning graphics, Canva's intuitive platform simplifies every step. With a plethora of filters, adjustments, and effects, I fine-tune images effortlessly. Plus, precise cropping and resizing tools ensure perfe
asmae🐸

asmae🐸

39 likes

How to PRE-READ a syllabus
Before you finalize your next semester schedule, here’s a game-changing move: The actual syllabus tells you everything you need to know before you commit! 🤍🎧 • Check exam dates (don’t accidentally book back-to-back nightmare weeks) • Look at grading policy (is the final exam worth 60%?) • Sca
Tyra-Lee 🩺

Tyra-Lee 🩺

149 likes

5 Worst Study Mistakes
I’m sure you are making these 5 study mistakes that go unnoticed! Here they are: 1. Not having a study plan 2. Using passive recall 3. Not reading the syllabus!! 4. “All nighters” 5. Studying with distractions If you are studying with these^, there’s many ways to fix this! And it’s not h
essynotes

essynotes

727 likes

A Hobonichi planner open to an April spread, filled with small daily photos, stickers, and washi tape, demonstrating a decorated monthly layout.
A sheet of printed photos on matte sticker paper next to a Hobonichi Weeks planner, with a keyboard in the background.
A blank Hobonichi planner page for May, showing the grid layout before any photos or decorations are added.
how I add photos to hobonichi 📸
I use my hobonichi weeks as my daily planner, however I don’t utilize its monthly calendar pages since I use my phone’s calendar for important reminders. So I thought it would be cute to add one photo a day! Even though I try my best to take one photo a day, i definitely miss some. But that’s o
Amy • Happy Olive Studio

Amy • Happy Olive Studio

882 likes

Recover Files After Formatting - Done in Seconds
Losing important files due to accidental formatting can be frustrating. In this complete guide, we’ll show you how to recover data after formatting on Windows. #recovery #file #format #data
SmoothTechie

SmoothTechie

1 like

An iPad with a white keyboard displays app icons and widgets, including a calendar and a music player. Overlaid text reads "Best Apps FOR CONTENT CREATORS" with a Lemon8 logo and username.
A screenshot of the Apple App Store page for Canva: AI Photo & Video Editor, showing its 4.9 rating and features like video background remover. Text describes Canva's use for unique posts and media kits.
A screenshot of the Apple App Store page for instories Reels & Story Maker, highlighting its 4.8 rating and features like expressive text effects. Text notes instories as a user-friendly video editing app.
Best Apps for Content Creators
Being a content creator myself, it’s super important to find the best apps that can help streamline my productivity and make editing so much easier! Canva: I love using Canva to put together the posts you see on my Lemon8, but Canva has so much more to offer for content creators. Specifically, i
Ashley✨

Ashley✨

150 likes

A desk setup with a tablet, keyboard, a notebook with handwritten Sociology notes, a pen case, and a coffee cup, illustrating note-taking tips.
A hand writing in a notebook with a pen, showing Sociology notes, emphasizing writing in one's own words for better retention.
A hand holding three pens/highlighters over a notebook with notes, suggesting using a maximum of 2-3 colors for note-taking.
Notes That Work for Me-Not Just For the Aesthetic
These aren’t Pinterest-perfect tips, sit real things that i do that make a difference in how I understand + remember what im studying! I love my note-taking, and I’ve learned how to use it for my advantage in a big day. I’m sure you can do the same! These are tips I’ve used over the years,
essynotes

essynotes

535 likes

Your responsibility should be to get relief ❤️‍🩹 #creatorsearchinsights
Scratcher Girls ASMR

Scratcher Girls ASMR

5 likes

How I Map My Story Using Trello 💻🖊️📝
I started off using Microsoft Word to get my thoughts down on “virtual” paper. I mapped out my beat sheet and started writing summaries for each chapter hitting certain markers within the story. I’m big on organization so I created a personal board on Trello to place my Acts, the chapters in th
Charina Taylor Studio

Charina Taylor Studio

899 likes

Recover Deleted Files Using Terminal Commands
Accidentally wiped important files on Windows/macOS/Linux? This video shows how to use terminal and command-line recovery methods to restore deleted data before it gets permanently overwritten. #cmdanks #datarecovery #windows11 #linux #TechTips
XanthusTechCore

XanthusTechCore

5 likes

5 ipad apps for STEM college students (free+paid)🫧
def recommend them all especially for stem students! #lemon8partner #lemon8college #collegelife #collegestudent #ipad
miks 🪐🪩✨

miks 🪐🪩✨

183 likes

Cleans and squats 🤙🏽 @cmdathletics #tattooartist #athlete #gym #braids #redhair #tattoos #nike #nikepro
Rachel

Rachel

4 likes

format bootable usb drive
Learn how to format bootable USB drive with CMD, Disk Management. By the way, I’ll also show you how to recover data from formatted or crashed USB if you run into trouble. #tipsandtrick #USB #techno #pcostips
Moon Bureau

Moon Bureau

1 like

Google Docs for Students
We don’t talk enough about the small digital skills that make a huge difference. Google Docs is more than just a typing space it can boost your productivity, collaboration, and confidence as a student. Here are my favorite tools: 🧠 Voice typing = notes while you talk 📑 Insert a table of co
Tyra-Lee 🩺

Tyra-Lee 🩺

206 likes

Study apps you NEED!👩🏻‍💻
Studying on the iPad becomes a seamless experience with powerful apps like Grammarly and Libby, by OneDrive Grammarly enhances your writing by offering real-time grammar, spelling, and style suggestions, ensuring your essays, reports, and notes are polished and error-free. it's like having a
asmae🐸

asmae🐸

31 likes

THINGS TO DO IN OCEAN CITY MARYLAND 🦀 🌊 🐴 🐚
Ocean City Maryland Travel Guide / Activities / Ideas 📍 MyFlight Tours Ocean City - one of my first memories and is still so cool to think about to this day 📍 Ocean City Inlet Beach - an all time favorite with the best Thrasher's French Fries (add malt vinegar) 📍 Nick's Mini
ashley ✨

ashley ✨

247 likes

An iPad Pro displays the Notion app logo on its screen, with a hand holding an Apple Pencil. The image highlights how the user stays organized using Notion, a productivity tool for managing tasks and information.
A Notion page shows a 'reading directory' database to track books, including title, author, status, and dates. Below it, a 'tbr/wishlist' database helps manage books to be read, demonstrating Notion's customizable features.
A Notion 'Weekly Planbook' template displays a customizable weekly to-do list with sections for Monday through Saturday. It includes tags for personal, health, assignment, and work tasks, illustrating Notion's organization capabilities.
How i stay organized using Notion 💡
Unlocking productivity with Notion: my ultimate organization tool 💼 From habit trackers to personal goals, Notion streamlines my life in one place. Customizable databases, calendars, and to-do lists keep everything tidy and accessible. Whether I'm planning my day or collaborating with other
asmae🐸

asmae🐸

65 likes

Writing in a storm
No wifi, no power, no problem. I’m in one of the many cities affected by the Hurricane and storms rolling in, so I’m using my power wisely (not including this post clearly) and opting for limited uses of tech that garner a lot of power, in anticipation of us losing our electricity. I love my alpha
Sassa.

Sassa.

495 likes

📍SD Card Won't Mount? Here's How to Fix It on PC, Mac & Android
Is your SD card showing as unmounted, not detected, or asking to be formatted? Don't rush to repair it. This video shows how to recover your photos, videos, and other files first, then safely fix file system errors, driver issues, or damaged partitions. #sdcard #windowstips #macos #Tech
XanthusTechCore

XanthusTechCore

0 likes

FAT32 Option Not Available? Here’s How to Fix It
Trying to format a drive to FAT32 but the option is missing? 💡 It usually happens because of file size limits or disk format restrictions. But don't worry - there are simple fixes to solve it fast #fat32 #windows #pctips #usb #format
PC Techgeek

PC Techgeek

0 likes

Work fromHome
To answer some questions my company does provide equipment two monitors a keyboard and mouse camera and headset. #unfiltered #lemon8challenge #growthmindset #workfromhome #remote #lemon8partner #lemon8creator #toddlermom #twoundertwo #workday
MaMaBear3292

MaMaBear3292

769 likes

🚨Recover Permanently Deleted Files on Windows 10
Deleted files bypassed the Recycle Bin? Don’t panic. This video covers 5 effective ways to recover permanently deleted files on Windows 10 using backups, CMD tools, File History, Windows File Recovery, and professional recovery software before the data gets overwritten. #windows10 #techsupport
XanthusTechCore

XanthusTechCore

1 like

USB Drive Read Only? Here's Why It Happens
USB drive stuck in read only mode can be frustrating, especially when you need to save important files. This video shows why it happens and how to fix it fast. #usb #readonly #pctips #windows #repair
SmoothTechie

SmoothTechie

3 likes

Data Recovery from RAW USB or Hard Drive
If your USB or hard drive suddenly shows RAW, don't format it. With AOMEI FastRecovery, you can scan the RAW device and restore your files in a few simple steps. Simple, fast, and beginner-friendly. #recovery #data #raw #harddrive
TechEase

TechEase

4 likes

Recover Hidden Files from USB Using Command Prompt
Can’t see your files on a USB stick even though they’re there? This video shows how to use Command Prompt commands (like attrib) to unhide files hidden by system attributes or viruses — plus what to try if that doesn’t work. #USB #cmdanks #windows 11 #techtutorial #newonlemon8
XanthusTechCore

XanthusTechCore

2 likes

5 Ways to Repair a USB Drive Without Formatting
Can't open your USB drive and Windows wants to format it? Discover 5 reliable solutions to repair your drive and recover your files safely. #repair #usb #format #solution
SmoothTechie

SmoothTechie

2 likes

The image shows a laptop with a USB drive plugged in, displaying a file transfer window indicating slow speed (96.2 KB/s) and 37% completion. The title asks, "USB 3.0 Transfer Speed Slow? Try These Easy Fixes," addressing common slow USB 3.0 transfer issues.
This image lists the first three quick fixes for slow USB 3.0 speeds: changing the USB cable, changing the USB port to a motherboard rear port, and disabling USB Selective Suspend in power settings to improve performance.
This image outlines three more quick fixes for slow USB 3.0 speeds: updating chipset and USB controller drivers, formatting the drive to exFAT with specific allocation sizes, and using benchmark tools like CrystalDiskMark to diagnose the issue.
⚠️ USB 3.0 Transfer Speed Slow? Speed It Up Fast!
USB 3.0 transferring files way slower than expected? This video explains common causes of slow transfer speeds and shows quick fixes to boost USB performance on Windows PCs. #usbclife #USB #speedup #techtutorial #AskLemon8
XanthusTechCore

XanthusTechCore

3 likes

[Solved] USB Drive Keeps Asking to Be Formatted
Is your USB flash drive asking to be formatted and you can’t access your files? Here are several effective methods to fix it and regain access. #usb #format #repair
SmoothTechie

SmoothTechie

0 likes

An iPad displays a ChatGPT conversation about creating a personalized morning routine, with a keyboard and a Stanley cup. The screen shows ChatGPT asking questions to understand current habits and energizing activities for productivity, under the title "How to Create a Productive Morning Routine WITH CHATGPT."
A screenshot shows the initial ChatGPT prompt: "Can you help me create a personalized morning routine that would help increase my productivity throughout the day?" Instructions emphasize including "personalized" and "productive" for a tailored response.
ChatGPT's response lists eight questions to gather user habits and preferences for a personalized morning routine. Questions cover wake-up time, commitments, current activities, energizing activities, preferred pace, time dedication, habits to break, and productivity goals.
Using ChatGPT To Create A Morning Routine
I can’t even begin to describe how Chat GPT has transformed my life productivity wise. One of the things I love most about it, is using it to create different routines for me. I’ve been struggling so hard to create a morning routine for myself, but thanks to ChatGPT there’s struggle is over! A c
Ashley✨

Ashley✨

690 likes

RN lunch bag revamp💉💼 🥗 All Links tagged
Schedule switched to solely 12 hour shifts so I’m revamping my lunch (overnight dinner) bag 💼 🥗 💦 EVERYTHING FROM AMAZON! 🔗 below!! #lunchBox #lemon8challenge 1. Hydro Flask lunchbox https://amzn.to/3DWiU8d 2. Hydro Flask 40 oz tumbler https://amzn.to/42f6TTe 3. Bento Box h
Sam ”Chippy”

Sam ”Chippy”

1068 likes

A person's hands are on a gray yoga mat, with the text "Habit Stacking: HOW TO BUILD NEW HABITS EASILY" overlaid in blue and white, accompanied by sparkling effects and a winking emoji.
A coffee pot, a cup of tea, a green candle, and an open book are arranged on a wooden tray, illustrating the first step of habit stacking: "Identify an Existing Habit to Anchor the New Habit."
A rolled gray towel, lit candles, and dark stones are in the background, accompanying the text "Pick a Simple, Achievable New Habit" and its explanation.
How to Build New Habits Easily ✍🏼🥰
I use these Habit Stacking in my day to get things done during the day. Habit stacking is a powerful technique that makes building new habits easier by connecting them to existing routines. Here’s a step-by-step guide on how to use habit stacking effectively: 1. Identify an Existing Habit t
Joy 📚

Joy 📚

205 likes

a long weekend in cmdx 🇲🇽‼️🖤
kelsey kotzur

kelsey kotzur

10 likes

How to enjoy studying while in college! 📓🎒🫧
Studying is actually fun and enjoyable, if you allow yourself to enjoy it! These are few tips I do to encourage myself to study! Do you have any tips or hacks to enjoy studying? I feel like most of these tips will work well for you, and if not maybe other people. Let me know if you have some tips!
Nada

Nada

67 likes

Multitask like a pro using Stage Manager!🫧
If you own an iPad and haven't tried Stage Manager you're missing out. You can easily boost your productivity with it! Stage manager is a helpful tool for running multiple windows at once while allowing you to switch between them or have up to four windows open. Easily handle notetaking, ph
asmae🐸

asmae🐸

148 likes

The image shows a title 'I Almost Lost My Files!' and an example CMD command for file recovery. It introduces the topic of recovering deleted files from an external hard drive using CMD, encouraging users to swipe for steps.
This image outlines three CMD steps to recover deleted files: Winfr for recovery, Attrib to show hidden files, and CHKDSK to fix errors. It also suggests WinfrGUI as an alternative if CMD fails for recent deletions.
The image highlights CMD's limitations for file recovery, such as not restoring overwritten files and being tricky for beginners. It presents WinfrGUI as an easy, fast, and beginner-friendly alternative with no command line needed.
Recovered Deleted Files from External Hard Drive
In this video, I’m sharing exactly how I managed to get them back: 1. Using Winfr to recover different file types 2. Running attrib to reveal hidden files 3. Using CHKDSK to fix drive errors and restore missing data 4. And my backup plan — WinfrGUI (much easier if you’re not a fan of comm
Information Lab

Information Lab

1 like

An iPad displaying a Miffy wallpaper and the text 'apps you need to study!' sits on a keyboard case next to an iced coffee in a cafe setting.
The Zotero app icon is shown with text highlighting its features: organizing and formatting citations, supporting many formats, automatically collecting and organizing research, and speeding up paper research.
The Evernote app icon is displayed with text detailing its capabilities: automatically syncing to all devices, managing tasks, tackling different projects, and capturing and arranging ideas.
Must have apps this back to school season!📚
When it comes to studying, using zotero and evernote together can make a huge difference in how organized and efficient you are. Zotero is an excellent tool for gathering, organizing, and citing your research materials. it helps you keep track of all your sources, from books to articles and websi
asmae🐸

asmae🐸

27 likes

A tutorial title slide showing how to recover photos from an SD card for Android, Mac, and Windows, with images of SD cards and floating photos.
Instructions for Windows photo recovery, detailing steps for Windows File Recovery (CMD) and MyRecover software, including command examples.
Instructions for macOS photo recovery, covering methods like checking the Trash Folder, restoring from iCloud Backup, and using Time Machine.
📍Deleted Photos from SD Card? Recover Them Easily.
Accidentally deleted pictures from your SD card? The files may still exist until new data overwrites them. This video shows how to recover deleted photos using Windows recovery tools or photo recovery software that scans memory cards, helps you retrieve deleted images safely—restoring from a smartp
XanthusTechCore

XanthusTechCore

3 likes

Burnout prevention
I didn’t do a great job with preventing (or at least doing things I can to reduce the chances that I do) burnout. Towards the end of the semester I had no choice to make changes because I did end up very burnt out. Here are some things I did and I always refer to when I can to help with burnout
jasmine

jasmine

26 likes

What is a GPT Disk? Convert Without Data Loss
What is a GPT disk and when do you need it? Discover a simple method to convert your disk without losing any data. #gpt #mbr #disk #conversion #pctips
SmoothTechie

SmoothTechie

1 like

A laptop screen displays 'TECH HACKS FOR BEGINNERS' and 'Tech Made Easy for Everyone!', accompanied by icons of a smartphone, a laptop, and a heart-eyes emoji, introducing tech tips.
A laptop rests on a couch with text explaining the importance of restarting devices to solve common problems like freezing or slow performance, advising users to turn it off and on again.
A silver laptop on a wooden desk with papers illustrates the tip to 'Use Google for Simple Tech Questions,' explaining how searching can provide step-by-step instructions for tech problems.
6 Easy Tech Tips for Beginners 📲💻
I have some great tips for non-tech savvy tech users. I know these tips will help you learn your tech more quickly and effectively. 1. Learn How to Restart Your Device Why It Helps: A simple restart often solves common problems like freezing or slow performance. Tip: If your device is acting
Joy 📚

Joy 📚

298 likes

CMD: Delete Windows Temporary Files
Temporary files and junk can slow down your PC. In this video, learn how to safely use CMD to remove these files and quickly free up disk space. #delete #remove #temporary #cmd #pcclean
SmoothTechie

SmoothTechie

4 likes

See more