Formatting windows from usb

Install Windows from a USB Flash Drive

Here’s how to create a bootable Windows installation USB drive starting with a Windows .iso file or a Windows Setup DVD.

If you’re looking for an easy way to create a bootable USB Windows installation drive, use the media creation tool.

What you need

  • Windows 10 install .iso or DVD
  • USB flash drive with at least 5GB free space. This drive will be formatted, so make sure it doesn’t have any important files on it.
  • Technician PC — Windows PC that you’ll use to format the USB flash drive
  • Destination PC — A PC that you’ll install Windows on

Step 1 — Format the drive and set the primary partition as active

Connect the USB flash drive to your technician PC.

Open Disk Management: Right-click on Start and choose Disk Management.

Format the partition: Right-click the USB drive partition and choose Format. Select the FAT32 file system to be able to boot either BIOS-based or UEFI-based PCs.

Set the partition as active: Right-click the USB drive partition and click Mark Partition as Active.

If Mark Partition as Active isn’t available, you can instead use diskpart to select the partition and mark it active.

Step 2 — Copy Windows Setup to the USB flash drive

Use File Explorer to copy and paste the entire contents of the Windows product DVD or ISO to the USB flash drive.

Optional: add an unattend file to automate the installation process. For more information, see Automate Windows Setup.

Step 3 — Install Windows to the new PC

Connect the USB flash drive to a new PC.

Turn on the PC and press the key that opens the boot-device selection menu for the computer, such as the Esc/F10/F12 keys. Select the option that boots the PC from the USB flash drive.

Windows Setup starts. Follow the instructions to install Windows.

Remove the USB flash drive.

If your Windows image is larger than 4GB

Windows USB install drives are formatted as FAT32, which has a 4GB filesize limit. If your image is larger than the filesize limit:

Copy everything except the Windows image file (sources\install.wim) to the USB drive (either drag and drop, or use this command, where D: is the mounted ISO and E: is the USB flash drive.)

Split the Windows image file into smaller files, and put the smaller files onto the USB drive:

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.

Читайте также:  Восстановление при отсутствует файл windows system32 config system

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.
  • 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.

    Читайте также:  Screen recorder studio mac os

    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.

    The Dell XPS 15 is our choice for best 15-inch laptop

    For a lot of people, a 15-inch laptop is a perfect size that offers enough screen for multitasking, and in a lot of cases, some extra performance from powerful hardware. We’ve rounded up the best of the best at this size.

    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.

    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!

    Читайте также:  При загрузке windows все время синий экран
    Оцените статью