On a computer that has storage pools or storage spaces created, the storage pools is set to read-only and the virtual disks does not attach automatically if you reinstall the operating system. Likewise, if you remove the physical disks which are used to create the storage space, and bring the disks to another computer, the same symptom will happen, i.e. storage pool is offline and no virtual disks are attached. In Disk Management, the virtual disks show that “the disk is offline because of policy set by an administrator”.

Storage Pool Offline

On Windows Server’s Storage Pools area of Server Manager, the health status of the storage spaces and virtual disks is shown as “Unknown”.

Storage Spaces Unknown Health Status

Attempt to manage such as delete any virtual disks will fail with error message stating that “error deleting virtual disk: the storage pool could not complete the operation because its configuration is read-only.”

Error Deleting Virtual Disk

To resolve the issue, open a Windows PowerShell window as Administrator, and run the following commands.

Check the read-only state of all available Storage Pools:

You can also run the Get-StoragePool -FriendlyName “Name of Storage Pool command (replacing Name of Storage Pool with the actual name of the storage pool) to check a specific storage space if you know the name.

If OperationalStatus is set to Read-only, run the following command to set it to writable (replacing Name of Storage Pool with the actual name of the storage pool):

Set-StoragePool -FriendlyName "Name of Storage Pool" –IsReadonly $False

If you want to change “Read-only” attribute of all storage pools at one go automatically, use the following command:

Get-StoragePool | Where-Object {$_.IsReadonly –eq $True } | Set-StoragePool –IsReadonly $False

Reset Storage Pools Read-Only Status

Run the following command to check the details of virtual disks:


Note the IsManualAttach attribute. If it’s set to True, it means that you need to manually attach the disks on every restart of server or PC before you’re able to use the disks. To make sure that the virtual disks can auto-attach, run the following command:

Get-VirtualDisk | Where-Object {$_.IsManualAttach –eq $True} | Set-VirtualDisk –IsManualAttach $False

Storage Spaces Auto Attach

Storage Spaces feature is available since Windows 8 and Windows Server 2012, and Windows 8.1, Windows 10, Windows Server 2012 R2 and Windows Server 2016 continue to support Storage Spaces feature.