Cannot start CIM session as non-admin account

I am trying to start a CIM session as a non-admin account. I have done the following:

  • Added the non-admin account to the "Remote Management Users" group
  • Modified the session configuration by running:
    Set-PSSessionConfiguration -Name Microsoft.PowerShell -showSecurityDescriptorUI
    then adding the non-admin account and giving it Full Control permissions (but Remote Management Users was already added with Full Control permissions and the non-admin account was already added to this group).
However, I am still unable to run any commands remotely that use the -CimSession parameter as I get the following error:

The WS-Management service cannot process the request. The WMI service returned an ‘access denied’ error

I am able to run other remote commands as the non-admin account that don’t require a CIM session such as enter-pssession and Invoke-Command

How can I use a CIM session to run commands remotely as a non-admin account?

Hello,

The user will need WMI access. Check option 3 on this page.

I hope this helps

That fixed the problem. Thanks!