• Windows
    • Windows 11
    • Windows 10
  • Browser
    • Microsoft Edge
    • Google Chrome
    • Firefox
  • Gadgets
    • Earbuds
  • Gaming
  • Best Of
  • How to
  • DONATE 👈
Facebook Twitter Instagram
Using Telegram? Subscribe to the blog channel!
Geeker Mag.
Facebook Twitter Instagram
  • Windows
    1. Windows 11
    2. Windows 10
    3. View All

    How to Uninstall Dev Home in Windows 11

    October 4, 2023

    How to Enable Windows Copilot in Windows 11 22H2 Moment 4

    September 28, 2023

    Comparing Intel Unison vs. Microsoft Phone Link: Which One Should You Use?

    September 23, 2023

    How to Force Update Group Policy from Server Windows 11/10

    September 20, 2023

    How to Disable New ‘Bing Search Bar’ on Windows 10 Desktop

    March 17, 2023

    How to Stop Internet Explorer Open/Redirect to Microsoft Edge in Windows 10

    March 6, 2023

    How to Download & Install Intel Unison on Windows 10 PC (Workaround)

    February 21, 2023

    Fix – Microsoft Store Error Code 0xC002001B in Windows 10 While Installing Apps

    May 21, 2022

    How to Uninstall Dev Home in Windows 11

    October 4, 2023

    Fix- Counter Strike 2 Not Launching/Opening/Black Screen

    October 3, 2023

    Counter-Strike 2 System Requirements (Quick Guide)

    October 3, 2023

    15 Best Unblocked Games Websites for School – 2023

    October 2, 2023
  • Browser
    1. Microsoft Edge
    2. Google Chrome
    3. Firefox
    4. View All

    Fix: Microsoft Edge Tabs got Bigger after Update (117.0.2045.31)

    September 18, 2023

    How to Remove Briefcase from Microsoft Edge New Icon

    August 30, 2023

    How to Disable “Personalize your web experience” Prompt in Microsoft Edge

    August 4, 2023

    How to Take Screenshots for (History) Web Navigation in Microsoft Edge

    July 17, 2023

    Download Google Chrome Offline Installer v117 (Both 32 & 64 bit)

    September 25, 2023

    How to Fix “Chrome-error://chromewebdata/” in Chrome

    September 18, 2023

    How to Delete Chrome History in Laptop | Android | iPhone – 2023

    September 8, 2023

    How to Clear Host Cache in Chrome (DNS Cache)

    August 16, 2023

    How to Disable Firefox Efficiency Mode on Windows 11 (Permanently)

    July 31, 2023

    How to Automatically Reject All Cookies Banner on Sites in Firefox

    December 23, 2022

    How to Install Firefox v100 in Windows 7

    April 9, 2022

    How to Enable Close Tab Warning in Firefox 94

    October 27, 2021

    How to Uninstall Dev Home in Windows 11

    October 4, 2023

    Fix- Counter Strike 2 Not Launching/Opening/Black Screen

    October 3, 2023

    Counter-Strike 2 System Requirements (Quick Guide)

    October 3, 2023

    15 Best Unblocked Games Websites for School – 2023

    October 2, 2023
  • Gadgets
    1. Earbuds
    2. View All

    TOZO NC7 Hybrid Active Noise Cancelling Wireless Earbuds

    July 16, 2023

    TOZO OpenReal True Wireless Earbuds with Noise Cancelling Microphone 2023

    July 5, 2023

    Tozo Golden X1 Earbuds – Best Sounding Wireless Earbuds 2023

    June 21, 2023

    TOZO Open Buds: Lightweight & Best True Wireless Earbuds 2023

    August 10, 2023

    TOZO NC7 Hybrid Active Noise Cancelling Wireless Earbuds

    July 16, 2023

    Tozo W1 – Fast Charging Wireless Charger for Samsung | iPhone | AnyPhone

    July 12, 2023

    TOZO OpenReal True Wireless Earbuds with Noise Cancelling Microphone 2023

    July 5, 2023
  • Gaming

    Fix- Counter Strike 2 Not Launching/Opening/Black Screen

    October 3, 2023

    Counter-Strike 2 System Requirements (Quick Guide)

    October 3, 2023

    15 Best Unblocked Games Websites for School – 2023

    October 2, 2023

    Fix – Counter Strike 2 Missing Executable Error (CS2.exe)

    September 30, 2023

    How to Download and Play Counter Strike 2 on Steam Windows PC

    September 29, 2023
  • Best Of

    How to Find Someone Online using their Picture

    April 5, 2023

    Lasta Review: Can This App Aid in Weight Loss?

    April 5, 2023

    How to Create Stunning Visuals for Instagram in 2023

    March 23, 2023

    How to Teach your Child to Program in Python

    January 30, 2023

    What Should You Look at Before Choosing Automatic Captioning Software?

    April 20, 2022
  • How to

    Convert HEIC to JPG without Losing Quality Online for Free

    May 8, 2023

    How to Know Someone Is Lying to You Online

    April 25, 2023

    How to Add Text Box to PDF on Mac? Three Effective Ways

    April 18, 2023

    How to Recover Data From SD Card Using Recuva

    April 17, 2023

    Upgrading from Windows 7 to Windows 10: How to Keep Your Data Safe‍

    March 20, 2023
  • DONATE 👈
Geeker Mag.
Home»Windows 11»How to Format Hard Drive using Command Prompt (DISKPART)
Windows 11

How to Format Hard Drive using Command Prompt (DISKPART)

Viney DhimanBy Viney DhimanSeptember 8, 2023Updated:September 8, 2023No Comments3 Mins Read
Share
Facebook Twitter LinkedIn Pinterest Email

Use OutByte PC Repair and OutByte Driver Updater. Recommended for Fixing Issues and Updating Drives on Windows PC. Trusted by Millions.

There could be various reasons why you want to format a hard drive. Maybe you’re retiring it and before that, you want to wipe the slate clean or you just want to format it because you are out of storage and data in the drive is of no use. Formatting a hard drive also fixes logical problems and errors.

Fortunately, there are various ways using which you can wipe hard drives on Windows 11, no matter if it’s an internal or external hard drive.

Contents show
How to Format Hard Drive using Command Prompt (DISKPART)
How to Format Hard Drive using DISKPART – YouTube Video

How to Format Hard Drive using Command Prompt (DISKPART)

Below in this blog post, you will learn how to format a hard drive using the Command Prompt Diskpart utility

Important Note: Formatting a hard drive will erase all data on it. Make sure to back up any important data before proceeding.

Open Command Prompt as Administrator on your PC.

In the Command Prompt window, you need to execute the following command back to backup:

Open DiskPart:

In the Command Prompt window, type diskpart and press Enter.

List Disks:

Type list disk and press Enter. This will display a list of all the disks connected to your computer.

Select the Disk to Format:

Type select disk X (Replace X with the number of the disk you want to format. In my case, the drive I want to format is 1 so my command will look like select disk 1) and press Enter.

How to Format Hard Drive using Command Prompt (DISKPART)

Clean the Disk:

If you want to wipe out all partition and volume information, you can type clean and press Enter. Be absolutely sure you’re formatting the correct disk before doing this.

Create a New Partition:

If you want to create a new partition, type create partition primary and press Enter.

Select the Partition (Optional):

If you want to create a new partition, you’ll need to select it. Type select partition 1 and press Enter. Here, you need to keep selected partition 1, no matter what partition number you selected in the above step.

Format the Disk:

For NTFS format, type format fs=ntfs quick and press Enter. If you prefer a different file system (e.g., FAT32), replace ntfs it with your desired file system. The quick parameter performs a quick format, which is faster but doesn’t check for bad sectors.

How to Format Hard Drive using Command Prompt (DISKPART)

Assign a Drive Letter (Optional):

If you didn’t create a partition, you’ll need to assign a drive letter. Type assign letter=X (Replace X with a drive letter not already in use) and press Enter.

Exit DiskPart:

Type exit and press Enter. This will exit the Diskpart tool.

Exit Command Prompt:

Type exit and press Enter again. This will close the Command Prompt window automatically.

How to Format Hard Drive using DISKPART – YouTube Video

Congratulations, you have learned how to format hard drive completely. For this post, I have covered steps on Windows 11 PC, but the steps to format hard drive Windows 10 are the same.

The procedure format hard drive Windows 10 and Windows 11 is the same on Windows 11, Windows 10, and even on Windows 7 as well.

Your hard drive is now formatted and ready to use. Remember to restore your backed-up data if necessary.

In case, you have any queries related to format hard drive for mac, then feel free to ask us via comments.

As an independent platform, it takes a lot of effort to create and curate quality content daily. Our content is totally funded by users like you.

Therefore, if you find information on this website useful, we kindly ask for your support in maintaining the longevity of our platform. If each person who benefits from our website contributes, we can secure a brighter future for our website.

Donate on Paypal or Buy us a coffee if you find the information shared in this blog post useful. Mention ‘Coffee’ in the Subject. So that I can thank you

Viney Dhiman
  • Website
  • Facebook
  • Twitter
  • Instagram
  • LinkedIn

Viney Dhiman, the mind behind GeekerMag, is a seasoned content writer with over 12 years of experience. Specializing in simplifying complex tech concepts, he covers Windows OS, Android, iOS, web apps, and product reviews. His work can be found on popular tech websites like Gizmodo and The Verge, and he has been interviewed by the Microsoft Edge team.

Related Posts

How to Uninstall Dev Home in Windows 11

October 4, 2023

How to Enable Windows Copilot in Windows 11 22H2 Moment 4

September 28, 2023

Comparing Intel Unison vs. Microsoft Phone Link: Which One Should You Use?

September 23, 2023

How to Force Update Group Policy from Server Windows 11/10

September 20, 2023
Add A Comment

Leave A Reply Cancel Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recommend App

Free HEIC to JPG Converter Online

Need Support?

Please do not hesitate to Contact me on Twitter or Join Facebook Group if you want assistance with issue related to Windows 11, Windows 10, and Edge browser. I will try my best to assist you ASAP. (Follow me first and then PM your issue on Twitter)

Our Picks

How to Uninstall Dev Home in Windows 11

October 4, 2023

How to Enable Windows Copilot in Windows 11 22H2 Moment 4

September 28, 2023

Comparing Intel Unison vs. Microsoft Phone Link: Which One Should You Use?

September 23, 2023

How to Force Update Group Policy from Server Windows 11/10

September 20, 2023
Receive Exclusive Tutorials Directly to Your Inbox!
Powered by follow.it
Twitter YouTube LinkedIn Telegram Facebook Instagram Pinterest
  • About
  • Contact
  • Privacy Policy
  • TOC
  • Our Team
  • Career
  • Corrections Policy
  • Editorial Guidelines
  • Fact Checking Policy
© 2023 Geekermag | All Rights Reserved

Type above and press Enter to search. Press Esc to cancel.