When I run a simple powershell command on a remote PC such as
Get-WmiObject Win32_Process -computer Pc1
Some Pcs reply "Access denied", while other reply fine, but I can't get the difference.
Which rights are involved?
|
When I run a simple powershell command on a remote PC such as Get-WmiObject Win32_Process -computer Pc1 Some Pcs reply "Access denied", while other reply fine, but I can't get the difference. Which rights are involved? | ||||
|
feedback
|
|
Have you looked at this ServerFault question Which permissions/rights does a user need to have WMI access on remote machines? | |||
|
feedback
|
|
Disable windows firewall first, to see if it's that simple; if so, you can narrow it down to individual ports. | |||||||
feedback
|
|
You need to be a local admin on the target PC, and you need to be using those credentials. | |||
|
feedback
|
|
Non admins should be able to run PowerShell WMI queries if the WMI Control permissions are adjusted to allow access. My research found the following... See KB 325353 and http://msdn.microsoft.com/en-us/library/aa393613(VS.85).aspx On the target server: Computer Management | WMI Control | Security Tab Highlight Root\cimv2 node Click Security button For EVERYONE group, check Remote Enable box or add a group and grant Remote Enable and Enable Account. I have not had a chance to test these settings yet. Pls verify on NON-PRODUCTION server first. | |||
|
feedback
|