Quantcast
Channel: Active Directory – Jacques Dalbera's IT world
Viewing all articles
Browse latest Browse all 302

Which permissions rights does a user need to have WMI access on remote Machines ?

$
0
0

Which permissions rights does a user need to have WMI access on remote Machines:

http://serverfault.com/questions/28520/which-permissions-rights-does-a-user-need-to-have-wmi-access-on-remote-machines

The following works on Window 2003 R2 SP 2, Windows Server 2012 R2:

Add the user(s) in question to the Performance Monitor Users group
Under Services and Applications, bring up the properties dialog of WMI Control (or run wmimgmt.msc).

In the Security tab, highlight Root/CIMV2, click Security; add Performance Monitor Users and enable the options : Enable Account and Remote Enable
Run dcomcnfg.

At Component Services > Computers > My Computer, in the COM security tab of the Properties dialog click “Edit Limits” for both Access Permissions and Launch and Activation Permissions.

Add Performance Monitor Users and allow remote access, remote launch, and remote activation.
Select Windows Management Instrumentation under Component Services > Computers > My Computer > DCOM Config and give Remote Launch and Remote Activation privileges to Performance Monitor Users Group.

Notes:

As an alternatively to step 3 and 4, one can assign the user to the group Distributed COM Users (Tested on Windows Server 2012 R2)
If the user needs access to all the namespaces, you can set the settings in 2. at the Root level, and recurse the permissions to the sub-namespaces via the Advanced window in Security

 

Other method with dcomperm and wmisecurity with a dedicated group called myDomain\wmiquery-users :

dcomperm -ma set myDomain\wmiquery-users permit level:l,r

dcomperm -ml set myDomain\wmiquery-users permit level:ll,la,rl,ra

dcomperm -dl remove myDomain\wmiquery-users permit level:ll,la,rl,ra

WmiSecurity /C=$Env:COMPUTERNAME /A /N=Root /M=”myDomain\wmiquery-users:REMOTEACCESS_EXECMETHODS” /R

WmiSecurity /C=$Env:COMPUTERNAME /A /N=Root /M=”myDomain\wmiquery-users:REMOTEACCESS_EXECMETHODS” /R

 



Viewing all articles
Browse latest Browse all 302

Trending Articles