Granting remote user (non admin) the ability to enumerate services in Win32_Service in namespace cimv2 using WMI & C#
问题 I'm creating a watch dog service that will be monitoring other services on various remote servers (all in the same domain). The user that I'm using to connect to the remote servers is not an admin. When I try to enumerate the services in the Win32_Service class, I get an access denied error. I've given the user 'Remote Enable' & 'Enable Account' persmissions to the Root\CIMV2 namespace in the WMI Control. I am able to connect to the server with the following code. The object ServiceListItem