Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Disk Management

Direct answer

Disk Management (diskmgmt.msc) is the Windows tool to initialize disks as MBR or GPT and create, format, extend, shrink and assign letters to volumes. diskpart and Storage PowerShell do the same from the command line.

When to use this

Use this when initializing, partitioning or extending disks on Windows.

First 30 seconds

1. Disk Management: GUI for disks, partitions and volumes.

2. PowerShell is better for scripts and remote.

3. diskpart for recovery situations.

4. Be careful with disk numbers.

5. Rescan after changes (Update-HostStorageCache).

Operational verification

admin → Disk Management/PowerShell → disks

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Windows Storage
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows Storage
Scope / prerequisiteUse this when initializing, partitioning or extending disks on Windows.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 PowerShell equivalents Verify boundary
Disk Management actionPowerShell
Bring onlineSet-Disk -Number 2 -IsOffline $false
Initialise GPTInitialize-Disk -Number 2 -PartitionStyle GPT
New volumeNew-Partition -DiskNumber 2 -UseMaximumSize -AssignDriveLetter | Format-Volume -FileSystem NTFS
ExtendResize-Partition -DriveLetter E -Size (Get-PartitionSupportedSize -DriveLetter E).SizeMax
Step 2 Step-by-step failure diagnosis Narrow the fault

Disk Management visibility does not show filesystem/application I/O health.

Step 3 Common mistakes Narrow the fault
  • Initialising the wrong disk.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • New disks must be initialized.
  • diskpart and PowerShell do the same tasks.
  • Extend needs adjacent free space.
Key checks
  • diskmgmt.msc — GUI
  • diskpart — CLI
  • Get-Disk; Get-Partition; Get-Volume — PowerShell equivalents
ReferenceHow it works1 section · depth on demand

Disk Management vs alternatives

ToolUse
diskmgmt.mscGUI for initialise, partition, format, extend, shrink, letters
diskpartScriptable CLI (clean, convert, attributes)
Storage cmdlets (Get-Disk, New-Partition)Automation and remote management
Windows Admin CenterWeb management of servers

diskpart clean wipes the partition table immediately with no confirmation, so list disk and select disk carefully.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Disk Management (diskmgmt.msc) covers basic tasks; diskpart and the Storage PowerShell module cover everything and can be scripted.

TaskPowerShelldiskpart
List disksGet-Disklist disk
Online diskSet-Disk 2 -IsOffline $falseselect disk 2 → online disk
Clear read-onlySet-Disk 2 -IsReadOnly $falseattributes disk clear readonly
ExtendResize-Partitionextend
Wipe diskClear-Disk 2 -RemoveDataclean

Clear-Disk and clean destroy the partition table immediately — check the disk number against size and serial first.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows Storage current

Authoritative/upstream documentation reviewed for bounded claims in Windows Storage → Disk Management. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows-server/storage/storage · confidence 94%
Confirmation

Confirm action

Continue?