Cannot create new storage pool on Windows 11, access problem

Alvin Carlson 0 Reputation points
2024-08-09T19:20:41.51+00:00

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

  • new-storagepool -Friendlyname special -StorageSubSystemFriendlyName " ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : PermissionDenied: (StorageWMI:ROOT/Microsoft/...torageSubSystem) [New-StoragePool], CimException
  • FullyQualifiedErrorId : StorageWMI 40001,New-StoragePool
Windows Server Storage
Windows Server Storage
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Storage: The hardware and software system used to retain data for subsequent retrieval.
653 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alvin Carlson 0 Reputation points
    2024-08-10T21:55:17.0466667+00:00

    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)".

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.