How to Format a PC

Formatting a drive will delete all of the data on it and create a new file system. You'll need to format a drive in order to install Windows on it, or to start using it if you're installing an extra drive. You can format a drive to quickly...
Method 1 of 4:

Formatting Your Primary Drive

  1. How to Format a PC Picture 1How to Format a PC Picture 1
    Backup any important data. Formatting your drive will delete all of the data on it and remove the operating system. Make sure that you have any important files backed up to another location, such as an external drive or the cloud.
    1. If you're trying to securely erase the data on a drive before disposing of it, see the Securely Formatting a Drive section of this article instead.
  2. How to Format a PC Picture 2How to Format a PC Picture 2
    Insert your Windows installation disc. You'll be using your Windows installation disc to format your drive. This is the easiest way to format the primary drive, as you cannot do this from within Windows itself. You don't need to use your own installation disc, as you won't actually be entering a product key (unless you proceed with reinstalling Windows). If you can't find your installation disc, you may still have options depending on your version of Windows:
    1. Windows 7 - You can download an ISO file for Windows 7 be entering your product key here. You'll then be transferring this ISO file to a blank DVD or USB drive using the Windows 7 USB/DVD Download Tool which you can download here.
    2. Windows 8 - You can download the Windows 8 Media Creation tool from Microsoft here. This program will download and create Windows installation media on either a blank DVD or USB drive (4GB or larger). Run the tool and follow the prompts to create the installation media.
    3. Windows 10 - You can download the Windows 10 Media Creation tool from Microsoft here. Run this program to download and create your Windows 10 installation disk on either a blank DVD or USB drive. Most users should download the 64-bit version of the tool. If you aren't sure, see How to Check if Windows is 32-Bits or 64-Bits.
  3. How to Format a PC Picture 3How to Format a PC Picture 3
    Set your computer to boot from the installation drive. In order to run the installer and format the drive, you'll need to set your computer to boot from that drive (DVD or USB) instead of your hard drive. The process for this varies depending on whether your computer came with Windows 7 (or older), or if your computer came with Windows 8 (or newer).
    1. Windows 7 (and older) - Reboot your computer and press the BIOS, SETUP, or BOOT key that is displayed when the computer first starts. The most common keys are F2, F11, F12, and Del. In the BOOT menu, set your installation drive as the primary boot device.
    2. Windows 8 (and newer) - Click the Power button in the Start screen or menu. Hold Shift and click Restart to reboot into the "Advanced startup" menu. Select the "Troubleshoot" option and then "Advanced options". Click "UEFI Firmware Settings" and then open the BOOT menu. Set your installation drive as the primary boot device.
  4. How to Format a PC Picture 4How to Format a PC Picture 4
    Start the setup process. Windows will load the setup files and then start the installation process. You'll be asked to select your language and accept the terms before you proceed.
  5. How to Format a PC Picture 5How to Format a PC Picture 5
    Select a "Custom" installation. This will allow you to format your hard drive during the installation.
  6. How to Format a PC Picture 6How to Format a PC Picture 6
    Select the partition you want to format. After proceeding through the initial installation screens, you'll be shown all of the hard drives and their partitions. You will typically have several partitions on your computer, one for your operating system, one recovery partition, and any additional partitions you may have created or drives you may have installed.
    1. You can delete partitions on the same drive to combine them all into a single unallocated partition. This will delete any data on the partitions. Click the "Drive options" button to see the "Delete" option for partitions.
    2. If you delete all of your partitions, you'll need to create a new one before it can be formatted. Select the unallocated space and click "New" to create a new partition. You'll be able to set the size of the partition out of the available free space. Note that you typically cannot create more than four partitions on a single drive.
  7. How to Format a PC Picture 7How to Format a PC Picture 7
    Format the selected partition. Click the "Format" button after selecting the partition or drive. If you don't see the Format button, click the "Drive options" button to reveal it. You will be warned that the format process will delete all data on the partition. Once you agree, the format will happen automatically. This may take a few moments to complete.[1]
  8. How to Format a PC Picture 8How to Format a PC Picture 8
    Install your operating system. Formatting your primary removes the operating system, so you won't be able to use the PC until you install an operating system again. You can proceed with the Windows installation after formatting the drive, or you can install a different operating system such as Linux. To install Windows, follow the rest of the prompts in the setup program after formatting. To install Linux, you'll need Linux installation media. See How to Install Linux for instructions on installing a variety of different Linux versions.
Method 2 of 4:

Formatting a Secondary Drive

  1. How to Format a PC Picture 9How to Format a PC Picture 9
    Open the Disk Management utility. When you connect a new external drive or install a new internal hard drive, you'll need to format it before it appears in Windows Explorer. You can do this using the Disk Management utility.
    1. Press Win+R and type diskmgmt.msc to launch Disk Management. In Windows 8 and 10, you can right-click on the Start button and select "Disk Management".
    2. It may take a few moments for all of your installed hard drives to appear.
    3. If you're trying to securely erase the data on a drive before disposing of it, see the Securely Formatting a Drive section of this article instead.
  2. How to Format a PC Picture 10How to Format a PC Picture 10
    Partition the new drive (if prompted). If you're opening Disk Management for the first time after installing a new drive, you'll likely be prompted to initialize the disk. Don't worry if this window doesn't appear.
    1. Select "GPT" if the new disk is 2TB or larger. Select "MBR" if the new disk is smaller than 2TB.
  3. How to Format a PC Picture 11How to Format a PC Picture 11
    Select the drive you want to format. All of your drives and partitions will be listed in Disk Management. If you've just installed a new drive, it will likely be on its own row with the "Unallocated" label. Expand the "Status" column to see more details about each partition.
    1. You cannot format the "Boot" partition in Windows, as this is the partition that Windows is installed on.
    2. Formatting will delete all of the data on the disk, so make absolutely sure you select the correct one.
  4. How to Format a PC Picture 12How to Format a PC Picture 12
    Create a partition (if necessary). If the drive is Unallocated, you will need to right-click on it and select "New Simple Volume". Follow the prompts to create a partition out of the Unallocated space.
  5. How to Format a PC Picture 13How to Format a PC Picture 13
    Right-click on the drive or partition and select "Format". This will open the Format window.
  6. How to Format a PC Picture 14How to Format a PC Picture 14
    Set your formatting options. You can give the drive a new name (Volume label), as well as choose its file system. For Windows, select "NTFS" as the file system for maximum compatibility. You can choose whether or not you want to perform a quick format. Only uncheck this option if you are worried that your drive is damaged.
  7. How to Format a PC Picture 15How to Format a PC Picture 15
    Wait for the format to complete. Click the Format button once you are satisfied with your settings. The formatting process may take a few minutes. Once the formatting is complete, you can use the drive to store files and install programs to it.
Method 3 of 4:

Shrinking an Existing Drive

  1. How to Format a PC Picture 16How to Format a PC Picture 16
    Open the Disk Management utility. You can shrink any of your existing drives to convert the free space on them into a new partition. This can be useful if you have a lot of free space on a drive and want to create a dedicated drive for specific files, such as media.
    1. Press Win+R and type diskmgmt.msc to quickly launch the Disk Management utility. You can also right-click the Start button in Windows 8 and 10 to select Disk Management from the menu.
  2. How to Format a PC Picture 17How to Format a PC Picture 17
    Select the partition that you want to shrink. You can shrink any partition that has some free space. You'll likely want to choose one that you can at least get several GB out of to make your new partition useful. Make sure to leave enough space for the existing partition, especially if it is your boot partition. Windows performs best when it has at least 20% of the partition free.
  3. How to Format a PC Picture 18How to Format a PC Picture 18
    Right-click the partition and select "Shrink volume". This will open a new window after Disk Management determines how much space is available to create a new partition out of.
  4. How to Format a PC Picture 19How to Format a PC Picture 19
    Enter in the size of your new partition. The window will display how much space is available to shrink the existing drive in megabytes (MB). 1024MB is equal to a single gigabyte (GB). You'll need to enter in the size you want to shrink the drive by (creating a new partition that size).
  5. How to Format a PC Picture 20How to Format a PC Picture 20
    Start the shrinking process. Click "Shrink" to carve out the space that you specified in the existing drive. It will appear in Disk Management as Unallocated space on the same drive as the old partition.
  6. How to Format a PC Picture 21How to Format a PC Picture 21
    Create a partition. Right-click on the unallocated space and select "New simple volume". This will start the Simple Volume Wizard.
  7. How to Format a PC Picture 22How to Format a PC Picture 22
    Follow the prompts to create the partition. You'll be able to select how much of the Unallocated space you want to use for the new partition. You'll also be assigning a drive letter.
  8. How to Format a PC Picture 23How to Format a PC Picture 23
    Format the new partition. During the wizard, you'll be prompted to format the partition. You can format it with a file system now, or do it later by performing the steps in the previous method.
Method 4 of 4:

Securely Formatting a Drive

  1. How to Format a PC Picture 24How to Format a PC Picture 24
    Download DBAN. DBAN is a free hard drive formatting tool that can securely overwrite your data so that it cannot be recovered. You'll want to perform this if you are donating, selling, or recycling your computer or drive to prevent identity theft.
    1. You can download DBAN from dban.org. The free version will be suitable for most users.
    2. You cannot use DBAN to securely wipe solid state drives (SSDs). You'll need to use a paid program like Blancco instead.
  2. How to Format a PC Picture 25How to Format a PC Picture 25
    Burn DBAN to a blank DVD or CD. DBAN is small, and will fit on a blank CD or DVD. If you are using Windows 7 or later, you can right-click on the downloaded ISO file and select "Burn to Disc" to burn it to a blank disc in your drive.
  3. How to Format a PC Picture 26How to Format a PC Picture 26
    Set your computer to boot from the DBAN disc. You'll need to set your computer to boot from your optical drive in order to launch DBAN.
    1. Windows 7 (and older) - Reboot your computer and press the BIOS, SETUP, or BOOT key that is displayed at the manufacturer logo screen. The key is usually F2, F11, F12, or Del. Open the BOOT menu and set your optical drive as the primary boot device
    2. Windows 8 (and newer) - Click the Power button in the Start screen or menu. Hold Shift and click Restart to reboot into the "Advanced startup" menu. Select the "Troubleshoot" option and then "Advanced options". Click "UEFI Firmware Settings" and then navigate to the BOOT menu. Set your optical drive as the primary boot device.
  4. How to Format a PC Picture 27How to Format a PC Picture 27
    Start DBAN. After setting the boot order, reboot the computer to launch DBAN. Press Enter on the main DBAN screen to start the program.
  5. How to Format a PC Picture 28How to Format a PC Picture 28
    Select the drive you want to wipe. Use the arrow keys to highlight select the hard drive that you want to erase, and then press Space to select it. Be careful selecting drives if you have data you want to keep, as there is no going back once you've started. You can easily erase your Windows installation if you aren't careful.
  6. How to Format a PC Picture 29How to Format a PC Picture 29
    Press .F10 to start the wipe. This will use DBAN's default settings which will securely wipe your data. It will be next to impossible to retrieve data after performing this wipe. The default DBAN wipe will likely take several hours to complete.
    1. If you want to be extra sure that everything is absolutely erased, press M on your selected drive and select "DoD 5220.22-M" or "Gutmann Wipe". These will take a lot longer to complete, but the wipe will be even more secure.[2]
5 ★ | 1 Vote