Remember to maintain security and privacy. Do not share sensitive information. Procedimento.com.br may make mistakes. Verify important information. Termo de Responsabilidade

How to Manage Disk Volumes in Windows Using Disk Management and Command Line Tools

Managing disk volumes is a crucial aspect of maintaining a healthy and efficient Windows operating system. Whether you need to create, resize, or delete volumes, Windows provides both graphical and command-line tools to achieve these tasks. This article will guide you through the process of managing disk volumes using Disk Management and Command Line tools like DiskPart.

Using Disk Management

Disk Management is a built-in tool in Windows that allows you to manage disk volumes through a graphical interface. Here are the steps to perform common tasks:

Creating a New Volume

  1. Open Disk Management:

    • Press Win + X and select Disk Management.
  2. Select Unallocated Space:

    • Right-click on the unallocated space on the disk where you want to create a new volume.
  3. Create New Simple Volume:

    • Select New Simple Volume and follow the wizard to specify the volume size, assign a drive letter, and format the volume.

Resizing a Volume

  1. Open Disk Management:

    • Press Win + X and select Disk Management.
  2. Select the Volume to Resize:

    • Right-click on the volume you want to extend or shrink.
  3. Extend or Shrink Volume:

    • Select Extend Volume or Shrink Volume and follow the wizard to specify the new size.

Using Command Line Tools

For those who prefer command-line interfaces, DiskPart is a powerful tool for managing disk volumes.

Creating a New Volume

  1. Open Command Prompt as Administrator:

    • Press Win + X and select Command Prompt (Admin).
  2. Launch DiskPart:

    • Type diskpart and press Enter.
  3. List Disks:

    • Type list disk to display all available disks.
  4. Select Disk:

    • Type select disk <disk_number> to select the disk where you want to create the volume.
  5. Create Partition:

    • Type create partition primary size=<size_in_MB> to create a new partition.
  6. Format and Assign Drive Letter:

    • Type format fs=ntfs quick to format the partition.
    • Type assign letter=<drive_letter> to assign a drive letter.

Resizing a Volume

  1. Open Command Prompt as Administrator:

    • Press Win + X and select Command Prompt (Admin).
  2. Launch DiskPart:

    • Type diskpart and press Enter.
  3. List Volumes:

    • Type list volume to display all volumes.
  4. Select Volume:

    • Type select volume <volume_number> to select the volume you want to resize.
  5. Extend Volume:

    • Type extend size=<size_in_MB> to extend the volume.
  6. Shrink Volume:

    • Unfortunately, shrinking volumes using DiskPart is not straightforward and is typically done using Disk Management.

Examples

Example 1: Creating a New Volume Using DiskPart

diskpart
list disk
select disk 1
create partition primary size=10240
format fs=ntfs quick
assign letter=E

Example 2: Extending a Volume Using DiskPart

diskpart
list volume
select volume 2
extend size=2048

To share Download PDF

Gostou do artigo? Deixe sua avaliação!
Sua opinião é muito importante para nós. Clique em um dos botões abaixo para nos dizer o que achou deste conteúdo.