Install windows format drive

Windows Setup: Installing using the MBR or GPT partition style

When installing Windows on UEFI-based PCs using Windows Setup, your hard drive partition style must be set up to support either UEFI mode or legacy BIOS-compatibility mode.

For example, if you receive the error message: “Windows cannot be installed to this disk. The selected disk is not of the GPT partition style”, it’s because your PC is booted in UEFI mode, but your hard drive is not configured for UEFI mode. You’ve got a few options:

Reboot the PC in legacy BIOS-compatibility mode. This option lets you keep the existing partition style. For more info, see Boot to UEFI Mode or Legacy BIOS mode.

Configure your drive for UEFI by using the GPT partition style. This option lets you use the PC’s UEFI firmware features.

You can preserve your data and convert the drive using the MBR2GPT tool. You can also choose to reformat the drive using the instructions below. Reformatting will erase all the data on the drive.

Why should I convert my drive?

Many PCs now include the ability to use the UEFI version of BIOS, which can speed up boot and shutdown times and can provide additional security advantages. To boot your PC in UEFI mode, you’ll need to use a drive formatted using the GPT drive format.

Many PCs are ready to use UEFI, but include a compatibility support module (CSM) that is set up to use the legacy version of BIOS. This version of BIOS was developed in the 1970s and provides compatibility to a variety of older equipment and network configurations, and requires a drive that uses the MBR drive format.

However, the basic MBR drive format does not support drives over 4TB. It’s also difficult to set up more than four partitions. The GPT drive format lets you set up drives that are larger than 4 terabytes (TB), and lets you easily set up as many partitions as you need.

Reformatting the drive using a different partition style

To wipe and convert the drive by using Windows Setup

Turn off the PC, and put in the Windows installation DVD or USB key.

Boot the PC to the DVD or USB key in UEFI mode. For more info, see Boot to UEFI Mode or Legacy BIOS mode.

When choosing an installation type, select Custom.

On the Where do you want to install Windows? screen, select each of the partitions on the drive, and select Delete. The drive will show a single area of unallocated space.

Select the unallocated space and click Next. Windows detects that the PC was booted into UEFI mode, and reformats the drive using the GPT drive format, and begins the installation.

To manually wipe a drive and convert it to GPT:

Turn off the PC, and put in the Windows installation DVD or USB key.

Boot the PC to the DVD or USB key in UEFI mode. For more info, see Boot to UEFI Mode or Legacy BIOS mode.

From inside Windows Setup, press Shift+F10 to open a command prompt window.

Open the diskpart tool:

Identify the drive to reformat:

Select the drive, and reformat it:

Close the command prompt window.

Continue the Windows Setup installation.

When choosing an installation type, select Custom. The drive will appear as a single area of unallocated space.

Select the unallocated space and click Next. Windows begins the installation.

Make sure Windows Setup boots to the correct firmware mode

To automate this process, you’ll need to run Windows Setup through Windows PE, and use a script to detect which mode you’re in before installing Windows. For more info, see WinPE: Boot in UEFI or legacy BIOS mode.

Читайте также:  Windows чтение дисков linux

How to format a USB flash drive on Windows 10

On Windows 10, the ability to format a USB flash drive can come in handy in a number of scenarios. For example, you might want to reformat a new or used removable storage device to make sure it doesn’t contain any malicious code. Or if a thumb drive is inaccessible because of data corruption. Maybe you received a flash drive using a file system that isn’t compatible with your system configuration. Or you’re planning to give the drive away and want to make sure personal information doesn’t go along with it.

Whatever the reason, Windows 10 ships with several tools to format virtually any kind of storage, including USB flash drives, using File Explorer, Disk Management, Command Prompt, and PowerShell.

In this Windows 10 guide, we walk you through the different ways you can format a USB flash drive to quickly erase its contents or fix problems when the device isn’t recognized.

Warning: Using any of the instructions outlined below will erase the contents on the drive you select. If you have any important files, you should back them up before proceeding.

How to format a USB flash drive using File Explorer

To format a USB flash drive using File Explorer, use these steps:

  1. Open File Explorer.
  2. Click on This PC from the left pane.

Under the «Devices and drivers» section, right-click the flash drive and select the Format option.

Use the «File system» drop-down menu and select the NTFS option.

Quick tip: If you’re planning to use the removable drive on Windows 10 as well as on macOS systems, you may want to select the exFAT option for compatibility. However, if you’re also thinking about using the device on a Linux machine, FAT32 is the best option, even though you’ll be limited to 4GB file sizes.

Under the «Format options» section, select the Quick format option.

Note: The «Quick format» option only deletes the file system table and the root folder, but the data may still be recoverable on the drive. If you don’t check the option, a full format will take place, and it’ll perform a scan for bad sectors and writes zeros in all sectors to delete the data. As a result, the process can take a long time depending on the size of the storage.

  • Click the Start button.
  • Click the Yes button.
  • Once you complete these steps, you can start storing documents, pictures, videos, and other files on the removable drive.

    How to format a USB flash drive using Disk Management

    Using Disk Management, there are at least two ways to format a removable drive. You can format the drive to rebuild the file system table and erase its content. Or you can delete the partition containing the file system and data, which can come in handy to fix problems with storage.

    Formatting flash drive

    To use Disk Management to format a USB drive, use these steps:

    1. Open Start.
    2. Search for Disk Management and click the top result to open the experience.

    Right-click the removable drive and select the Format option.

    Check the Perform a quick format option.

  • (Optional) Check the Enable file and folder compression option.
  • Click the OK button.
  • After completing the steps, the flash drive will be erased and ready to use in File Explorer.

    Cleaning and formatting flash drive

    If you’re dealing with errors and other problems, you can use these steps to clean the USB flash drive and start from scratch with a new partition and file system using Disk Management:

    1. Open Start.
    2. Search for Disk Management and click the top result to open the experience.

    Right-click the removable drive and select the Delete volume option.

    Right-click the «Unallocated» space and choose the New Simple Volume option.

    Use the drop-down menu to select an available letter.

    Quick tip: If you’re assigning a letter manually, it’s best to select a letter in reverse order (Z, Y, X, and so on).

    Use the File system drop-down menu and select the NTFS option.

    Note: Using this method, you can only use «NTFS» or «FAT32.» If you need to format the drive using «exFAT,» you’ll need to use Command Prompt or PowerShell

    Check the Perform a quick format option. (If you clear the option, a full format will take place, which can take a long time.)

  • (Optional) Check the Enable file and folder compression option.
  • Click the Next button.
  • Click the Finish button.
  • Читайте также:  Linux install app from tar gz

    Once you complete these steps, a new partition will be created, and a new file system will be configured, fixing common problems with the flash drive, including data corruption.

    If you’re unable to perform a format, it’s likely that the removable drive is physically damaged. If this is the case, you can always purchase another USB flash drive, such as the SanDisk Extreme Go (CZ800), which comes in 64GB and 128GB variants with enough space to save large files and small backups.

    Reliable storage

    SanDisk Extreme Go

    If you’re in the market for a reliable thumb drive with enough storage for large projects and fast transfer speeds, the SanDisk Extreme Go (CZ800) is an excellent option. The USB drive offers up to 128GB of storage with transfers speeds up to 200MB/s, it’s backed by the strong brand, and it even includes some nifty features like password protection, recovery, and encryption. It’s also affordable, at around $31 for 128GB.

    How to format a USB flash drive using Command Prompt

    Alternatively, you can also use Command Prompt to format a USB flash drive to delete the file system table and data. Or you can also use the tool to clean the drive and start fresh with a new partition and file system table.

    Formatting flash drive

    To perform a quick or full format of a USB flash drive using Command Prompt, use these steps:

    1. Open Start.
    2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.

    Type the following command to perform a quick format of the USB flash drive and press Enter (twice):

    format VOLUME: /v:FLASHDRIVE-LABEL /fs:FILE-SYSTEM /q

    In the command, make sure to replace the «VOLUME» with the correct drive letter of the storage, «FLASHDRIVE-LABEL» with the name you want the drive to appear in File Explorer, «FILE-SYSTEM» with one of the available file systems, including «FAT32,» «exFAT,» or «NTFS» (recommended).

    This example is a quick format of the E drive:

    format E: /v:workFlash /fs:NTFS /q

    (Optional) Type the following command to perform a full format of the USB flash drive and press Enter (twice):

    format VOLUME: /v:FLASHDRIVE-LABEL /fs:FILE-SYSTEM

    This example performs a full format of the E drive:

    format E: /v:»workFlash» /fs:NTFS

    After completing the steps, the thumb drive will be formatted with the option that you specified.

    Cleaning and formatting flash drive

    To clean and format a USB thumb drive with Command Prompt, use these steps:

    1. Open Start.
    2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.

    Type the following command to launch the diskpart tool and press Enter:

    Type the following command to view a list of the available drives and press Enter:

    Type the following command to select the flash drive you want to delete and press Enter:

    select disk DISK-NUMBER

    In the command, make sure to replace «DISK-NUMBER» for the correct number that represents the drive you’re trying to format.

    This example selects the flash drive listed as disk number 1:

    Type the following command to delete all the partitions and press Enter:

    Type the following command to create a primary partition and press Enter:

    create partition primary

    Type the following command to perform a quick format and press Enter:

    format fs=FILE-SYSTEM label=DRIVE-NAME quick

    In the command, make sure to replace «NTFS» for your preferred file system, «workFlash» for the name you want to give the device, and if you don’t specify the «quick» option, then a full format will be performed.

    This example quickly formats the removable storage using the NTFS file system:

    format fs=NTFS label=workFlash quick

    Type the following command to assign a drive letter and press Enter:

    Quick note: You can append «letter=e» in the command to assign (in this case) «E» as the drive letter. Otherwise, the system will assign a letter automatically.

    Type the following command to terminate diskpart and press Enter:

    Once you complete these steps, diskpart will remove any information on the USB flash drive. It’ll create a new partition and configure a compatible file system to store files from your Windows 10, macOS, or Linux machine (depending on your settings).

    How to format a USB flash drive using PowerShell

    Similar to Command Prompt, you can use PowerShell to quickly format a removable flash drive to erase its content. Or you can also use the command-line tool to clean and format the device, deleting its contents and fixing issues.

    Formatting flash drive

    To format a USB flash drive using PowerShell commands, use these steps:

    1. Open Start.
    2. Search for PowerShell, right-click the top result, and select the Run as administrator option.

    Type the following command to perform a quick format on the flash drive and press Enter:

    Format-Volume -DriveLetter DRIVE-LETTER -FileSystem FILE-SYSTEM

    In the command, make sure to replace «DRIVE-LETTER» with the correct letter that reflects the drive you want to format, and «FILE-SYSTEM» for FAT32, exFAT, or NTFS (recommended).

    This example performs a quick format of the E: drive:

    Format-Volume -DriveLetter E -FileSystem NTFS

    (Optional) Type the following command to perform a full format on the USB flash drive and press Enter:

    Format-Volume -DriveLetter DRIVE-LETTER -FileSystem FILE-SYSTEM -Full -Force

    This example performs a full format of the E: drive:

    Format-Volume -DriveLetter E -FileSystem NTFS -Full -Force

    After completing the steps, PowerShell will format the removable storage with the settings you specified.

    Cleaning and formatting flash drive

    To clean and format a removable drive with PowerShell commands, use these steps:

    1. Open Start.
    2. Search for PowerShell, right-click the top result, and select the Run as administrator option.

    Type the following command to view the flash drive you want to fix and press Enter:

    Type the following command to delete the volume and press Enter:

    Get-Disk DISK-NUMBER | Clear-Disk -RemoveData

    In the command, change «DISK-NUMBER» for the correct number that represents the flash drive you’re formatting.

    This example selects and cleans the disk number 1:

    Get-Disk 1 | Clear-Disk -RemoveData

    Type Y to confirm the action and press Enter.

    Type the following command to create a new partition and press Enter:

    New-Partition -DiskNumber DISK-NUMBER -UseMaximumSize

    In the command, change «DISK-NUMBER» to the correct number that represents the flash drive you’re formatting.

    This example creates a new partition using the entire space available on drive number 1:

    New-Partition -DiskNumber 1 -UseMaximumSize

    Type the following command to perform a quick format and assign a drive label, and press Enter:

    Get-Partition -DiskNumber DISK-NUMBER | Format-Volume -FileSystem FILE-SYSTEM -NewFileSystemLabel DRIVE-NAME

    In the command, change «DISK-NUMBER» to the correct number of your storage, «FILE-SYSTEM» for «NTFS,» «FAT32,» or «exFAT,» and «DRIVE-NAME» with the name you want the device to appear in File Explorer.

    This example selects and formats drive number 1 using the NTFS file system:

    Get-Partition -DiskNumber 1 | Format-Volume -FileSystem NTFS -NewFileSystemLabel workFlash

    Type the following command to assign a new letter to the drive and press Enter:

    Get-Partition -DiskNumber DISK-NUMBER | Set-Partition -NewDriveLetter DRIVE-LETTER

    In the command, replace «DISK-NUMBER» for the correct number of your removable storage, and «DRIVE-LETTER» with the letter you want the device to appear in File Explorer.

    This example sets E as the drive letter for disk number 1:

    Get-Partition -DiskNumber 1 | Set-Partition -NewDriveLetter E

    Once you complete these steps, similar to Command Prompt, PowerShell will remove any information in the USB flash drive to fix problems, including data corruption, write protection, and unrecognized drives. Then it’ll create a new partition and configure a compatible file system to store files from your Windows 10, macOS, or Linux machine (depending on your configuration).

    More Windows 10 resources

    For more helpful articles, coverage, and answers to common questions about Windows 10, visit the following resources:

    We may earn a commission for purchases using our links. Learn more.

    Halo: MCC’s live service elements make it better, not worse

    Halo: The Master Chief Collection is more popular than ever, but some fans don’t agree with the live service approach 343 Industries has taken with it. Here’s why those elements are, at the end of the day, great for the game and for Halo overall.

    Microsoft’s Surface Duo is not ‘failing up’

    Microsoft announced this week that it was expanding Surface Duo availability to nine new commercial markets. While Surface Duo is undoubtedly a work in progress, this is not a sign of a disaster. It’s also doesn’t mean that Surface Duo is selling a ton either. Instead, the reason for the expansion is a lot more straightforward.

    Here’s what you can do if Windows 10 update KB5001330 is causing issues

    In this guide, we’ll show you the steps to get rid of the update KB5001330 to fix profile, gaming, and BSoD problems with the Windows 10 October 2020 Update and May 2020 Update.

    These are the best PC sticks when you’re on the move

    Instant computer — just add a screen. That’s the general idea behind the ultra-portable PC, but it can be hard to know which one you want. Relax, we have you covered!

    Читайте также:  Принтер hp laserjet p2015d драйвер windows
    Оцените статью