The instance of power shell did not have admin rights, even though it created by right clicking the start button and selecting "Widows PowerShell (Admin)".
Problem solved by using "Terminal (Admin)".
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Running in a power shell with Admin privileges (How do I check).
Was able to create storage pool with the GUI, but it does not provide double party. I tried creating a virtual disk on command line, with the GUI storage pool, and got a similar error: Access Denied
The goal is to a virtual disk with double parity (6 drives).
PS C:\Users\***> $Pdisk = (get-physicaldisk -canpool $true)
PS C:\Users\***> new-storagepool -Friendlyname special -StorageSubSystemFriendlyName "Windows Storage*" -Physicaldisks $Pdisk
new-storagepool : Access denied
Extended information:
Access is denied.
Recommended Actions:-
Check if you have the necessary privileges to perform the operation.
Activity ID: {f4f2f2dd-5aa1-4041-942b-31130503f2f7}
At line:1 char:1
The instance of power shell did not have admin rights, even though it created by right clicking the start button and selecting "Widows PowerShell (Admin)".
Problem solved by using "Terminal (Admin)".