Remember to maintain security and privacy. Do not share sensitive information. Procedimento.com.br may make mistakes. Verify important information. Termo de Responsabilidade
Formatting a drive in Windows is a common task that involves preparing a storage device for use by erasing all data and setting up a file system. This process can be done using both the graphical interface and command-line tools like Command Prompt (CMD) and PowerShell. Below, we'll explore both methods to help you format a drive effectively.
Examples:
Formatting a Drive Using the Graphical Interface:
Formatting a Drive Using Command Prompt (CMD):
Win + R
, type cmd
, and press Enter
to open Command Prompt.diskpart
and press Enter
to open the DiskPart utility.list disk
to display all connected drives.select disk X
(replace X with the disk number) and press Enter
.clean
to remove all partitions and data on the drive.create partition primary
to create a new partition.format fs=ntfs quick
(or replace ntfs
with fat32
or exfat
as needed) to format the drive.assign letter=X
to assign a drive letter (replace X with your desired letter).Formatting a Drive Using PowerShell:
Win + X
and select "Windows PowerShell (Admin)" to open PowerShell with administrative privileges.Get-Disk
to list all available disks.Clear-Disk -Number X -RemoveData
(replace X with the disk number) and confirm the action.New-Partition -DiskNumber X -UseMaximumSize -IsActive -AssignDriveLetter
to create a new partition.Format-Volume -DriveLetter X -FileSystem NTFS -NewFileSystemLabel "LabelName"
to format the drive (replace X with the drive letter and "LabelName" with your desired volume label).