I run an Invoke-Command from my 'admin' account to do a simple get-service and it works fine.
When this command is run from another account, I get the error 'Requested registry access is not allowed'. This other account is a member of 'domain admins'. Is this some sort of profile or HKCU issue? If so, how do I get around it please?
I also note on the target machine that whenever I try to run the 'get-service' via invoke-command an eventlog error is generated from the user profile service that says 'Windows cannot load classes registry file'.