Cannot Delete A Storage Pool Because It Is Read Only

I do a lot of messing around with Storage Spaces. This can involve reusing disks that have been used in other pools – I want to erase the disks but I encounter an error:

Error deleting virtual disk: The storage pool could not complete the operation because its configuration is read-only.

This is easy to fix … with PowerShell. Get the name of the Storage Pool, also known as the friendly name – for example Pool1. Then run:

Get-StoragePool –FriendlyName “Pool1” | Set-StoragePool –IsReadOnly $false

Then if you are sure, you can delete the storage pool, thus cleaning the disks for reuse:

Get-StoragePool –FriendlyName “Pool1” | Remove-StoragePool

Please follow and like us:

9 Comments on Cannot Delete A Storage Pool Because It Is Read Only

  1. thanku very much

  2. Thanks forthe soloution.

  3. Spot on worked like a charm


  4. Cris Rodriguez // March 1, 2015 at 7:58 PM // Reply

    Great post worked for me as well.

  5. Wow… I fought with this for an hour and a half. This totally worked, and it was the ONLY solution that did. Thanks!

  6. The solution still works with Windows Server 2016 (WS2016) Technical Preview 3 (TPv3).

  7. Great post. Was struggling with other oddball issues, come to find out reused disks despite being cleaned, were still showing up in a previously configured storage pool. This worked like a charm.

  8. Many thanks. Saved my day.

Leave a comment

Your email address will not be published.