![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Trying to understand Remote WMI permissions Hello. I've been tasked with querying, starting, and stopping services on a remote machine using a machine-specific local account on the remote machine. I've decided than an easy way to do this would be to use Powershell: $cred = get-cred (to be stored later on in an encrypted text file) gwmi win32_service -cred $cred -comp computer | ? {$_.Name -like "Myservice"} However, I'm having trouble figuring out what permissions are needed to make a remote WMI call in Powershell. When I add the said account to the computer's administrator group, it works. But when the account is in the user group, the gwmi call fails with access denied. I don't want to make that account an admin account. I only want it to be able to start, stop, and query services, which I've delegated through a GPO. I've tried opening the WMI Control in Computer Management, and as a test, granted the account write/execute/remote enable/etc. at the root level, and propagated the changes down, but that doesn't work, so I'm thinking there must be some other permission required in order for gwmi to work remotely for a non-admin account. Any ideas as to what I'm missing? I know the question isn't SPECIFICALLY a Powershell question, but I'm not sure where else I'd post the question. Thanks in advance, Janssen Jones |
My System Specs![]() |
| | #2 (permalink) | ||||||||||||
| Guest | Re: Trying to understand Remote WMI permissions Janssen wrote:
http://www.scriptinganswers.com/foru...s.asp?TID=1041 Marco -- ---------------- PowerGadgets MVP http://www.powergadgets.com/mvp Blog: http://marcoshaw.blogspot.com | ||||||||||||
My System Specs![]() | |||||||||||||
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I don't understand | Jill | Vista mail | 2 | 07-21-2008 12:54 AM |
| Remote registry key permissions | UC | PowerShell | 2 | 06-23-2008 06:43 AM |
| WMI remote permissions error | ebgreen | PowerShell | 6 | 09-20-2007 09:00 AM |
| Can Someone Help me Understand? | argyliz | Vista mail | 3 | 07-16-2007 07:47 PM |
| Vista Permissions Questions (including Remote Desktop) | JeffO | Vista General | 4 | 02-21-2007 10:01 AM |