Use this topic when a device is missing, offline, read-only, unexpectedly numbered, uninitialized, or when you must prove which Windows disk maps to a physical/virtual storage device.
Disks
A Windows disk is the OS-level object representing a block device that can contain partitioning metadata and partitions. It is not the same object as a partition, volume, filesystem or drive letter.
1. Get-Disk — OperationalStatus, IsOffline, PartitionStyle.
2. Offline (SAN policy) → Set-Disk -IsOffline $false.
3. Read-only → Set-Disk -IsReadOnly $false.
4. Health: Get-PhysicalDisk.
5. Rescan: Update-HostStorageCache.
disk detected → online → initialised
Map the disk to partitions/volumes, or move downward to device/path evidence if the disk is absent or unstable.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Do not use select disk <n> followed by destructive DiskPart commands until the target is correlated by more than the number. Do not equate RAW with failed hardware or Online with usable storage.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Capture Get-Disk plus supporting device/platform identity. If the disk is missing, move downward to device/driver/path evidence. If present, map its partitions with Get-Partition and volumes with Get-Volume or Disk Management. For write failures, show whether the disk is read-only before blaming permissions or filesystem.
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.
- Disk Number is convenient but not a durable identity across all lifecycle events.
- Online/Offline is an OS policy/runtime state, not a media-health verdict.
- Read-only can be policy/attribute state and should be distinguished from write failures below the OS layer.
- PartitionStyle RAW often means no recognized partition table; it does not by itself prove damaged media.
- Correlate size, model, serial/unique ID and bus/location where available before destructive operations.
Get-Disk— disks, partition style, healthGet-Partition— partitionsGet-Volume— volumes, filesystem, free spaceGet-PhysicalDisk | Select FriendlyName,HealthStatus,OperationalStatus— physical disk healthdiskmgmt.msc— Disk Management
ReferenceWhat it is1 section · depth on demand
Core model
Windows enumerates storage devices into disk objects and attaches properties that describe current management state. A disk can be present yet Offline, read-only, RAW/uninitialized or have no usable volumes.
ReferenceImportant terms & boundaries2 sections · depth on demand
Storage boundary
Treat identity and state separately. Which disk is this? should be answered with multiple stable-ish attributes; what state is Windows applying? should use online/read-only/health/operational fields; what data layout exists? starts at the partition table.
Operational checks for Disks — Storage boundary: Anchor the same process/service/object, security context and effective runtime state; registry or GUI configuration alone is not closure.
In depth
Disk management with PowerShell:
Get-Disk | ? PartitionStyle -eq RAW | Initialize-Disk -PartitionStyle GPT -PassThru |
New-Partition -AssignDriveLetter -UseMaximumSize | Format-Volume -FileSystem NTFS -NewFileSystemLabel Data -AllocationUnitSize 65536 -Confirm:$false
Set-Disk -Number 2 -IsOffline $false; Set-Disk -Number 2 -IsReadOnly $false
Update-HostStorageCache # rescan
Get-StorageSetting | Select NewDiskPolicy
On servers the SAN policy (OfflineShared by default on Datacenter/clustered systems) keeps new shared disks offline to protect them from accidental use by several hosts.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Storage → Disks. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/storage/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Storage → Disks reference map
Fast lookup boundaries for Storage → Disks.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Number | Current Windows disk index | not durable identity alone |
| UniqueId/Serial | Stronger identity evidence | availability depends on device/stack |
| OperationalStatus | Current OS-reported state | not end-to-end media health |
| PartitionStyle | GPT/MBR/RAW view | not filesystem state |
| IsReadOnly/IsOffline | Policy/runtime flags | not root cause by themselves |