Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Use Get-Wmiobject on remote PC with non admin privileges

$
0
0

Hi,

I'm trying to run following string from remote PC to my SSRS PC.

Get-Wmiobject -ComputerName <ComputerName> -namespace ('root\microsoft\sqlserver\reportserver\rs_mssqlserver\v10\admin') -class "MSReportServer_ConfigurationSetting"

If I'm doing it as user with local admin privileges everything works fine. For non-admin user I got following:

Get-WmiObject :
At line:1 char:14
+ Get-Wmiobject <<<<  -ComputerName <ComputerName> -namespace ('root\microsoft\sqlserver\reportserver\rs_mssqlserver\v10\adm
in') -class "MSReportServer_ConfigurationSetting"
    + CategoryInfo          : InvalidOperation: (:) [Get-WmiObject], COMException
    + FullyQualifiedErrorId : GetWMICOMException,Microsoft.PowerShell.Commands.GetWmiObjectCommand

Tried to search, but nothing helped...

Non-Admin user is member of Distributed COM Users and Performance Monitor Users groups.

Listed groups have all permissions on WMI root and subnamespaces on SSRS PC.

Listed groups have all permissions in COM Security -> Launch and activation  -> Edit Limits on SSRS PC.

Turning off UAC didn't help.


Maybe I miss something. Any help will be appreciated.


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>