Im trying to query MSFT classes under non-admin user
Windows PowerShell Copyright (C) 2014 Microsoft Corporation. All rights reserved.
PS C:\Users\john.doe> Get-WmiObject -Query "SELECT * FROM MSFT_Disk"
-Namespace Root/Microsoft/Windows/Storage Get-WmiObject : Access denied At line:1 char:1
+ Get-WmiObject -Query "SELECT * FROM MSFT_Disk" -Namespace Root/Microsoft/Window ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Get-WmiObject], ManagementException
+ FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
PS C:\Users\john.doe>
I did all the steps mentioned in Which permissions/rights does a user need to have WMI access on remote machines? answer.
I can query other namespaces like CIMv2
I verified that 'Root/Microsoft/Windows/Storage' namespace security has all the checkboxes set for john.doe user (domain user)
It looks like Root/Microsoft/Windows/* namespace requires some additional permissions (I get access denied for MSFT_SmbConnection too for example) but I cannot figure out what permissions
0 Answers