![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Enable remote WMI programmatically? I have 600 Windows servers (99% Server 2003, 1% Server 2008) I need to allow a domain user account to access WMI information remotly. So, I need a way to: 1) Enable the firewall to allow remote wmi calls. 2) Enable remote DCOM. 3) Modify the WMI security to allow access to the Root\CIMV2 namespace for my account. I can do all this manually, but I don't want to touch all 600 servers. Does anyone have a script or any c# code snippets to allow this? Thanks Karl |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Enable remote WMI programmatically? Please see the following article: http://www.activexperts.com/support/...sp?kb=Q7250015 Best regards, Frits de Boer ActiveXperts Software B.V. Web: http://www.activexperts.com "Karl Mitschke" <karlmitschke@newsgroup> wrote in message news:d66cd4c214de88cc13c21751cc8b@newsgroup Quote: >I have 600 Windows servers (99% Server 2003, 1% Server 2008) > > I need to allow a domain user account to access WMI information remotly. > > So, I need a way to: > 1) Enable the firewall to allow remote wmi calls. > 2) Enable remote DCOM. > 3) Modify the WMI security to allow access to the Root\CIMV2 namespace for > my account. > > I can do all this manually, but I don't want to touch all 600 servers. > > Does anyone have a script or any c# code snippets to allow this? > > Thanks > > > Karl > > |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Enable remote WMI programmatically? Hello msnews.microsoft.com, Quote: > Please see the following article: > > http://www.activexperts.com/support/...sp?kb=Q7250015 > > Best regards, > > Frits de Boer > > ActiveXperts Software B.V. > Web: http://www.activexperts.com > "Karl Mitschke" <karlmitschke@newsgroup> wrote in message > news:d66cd4c214de88cc13c21751cc8b@newsgroup > Quote: >> I have 600 Windows servers (99% Server 2003, 1% Server 2008) >> >> I need to allow a domain user account to access WMI information >> remotly. >> >> So, I need a way to: >> 1) Enable the firewall to allow remote wmi calls. >> 2) Enable remote DCOM. >> 3) Modify the WMI security to allow access to the Root\CIMV2 >> namespace for >> my account. >> I can do all this manually, but I don't want to touch all 600 >> servers. >> >> Does anyone have a script or any c# code snippets to allow this? >> >> Thanks >> >> Karl From the responses I am getting, it's clear I am not very clear in my requirements. I need to run this from computer 1 against computers 2 - 601 On computer 1 I can gather wmi data on the 600 servers if I provide domain admin privileges. If I login to any of the 700 servers, I can configure the remote WMI and the firewall, and the permissions for CIMV2 to allow a Domain User account - that's not a problem. I just don't want to have to login to all 600 servers. Karl Karl |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Enable remote WMI programmatically? On Oct 5, 4:59*pm, Karl Mitschke <karlmitsc...@newsgroup> wrote: Quote: > I have 600 Windows servers (99% Server 2003, 1% Server 2008) > > I need to allow a domain user account to access WMI information remotly. > > So, I need a way to: > 1) Enable the firewall to allow remote wmi calls. > 2) Enable remote DCOM. > 3) Modify the WMI security to allow access to the Root\CIMV2 namespace for > my account. > > I can do all this manually, but I don't want to touch all 600 servers. > > Does anyone have a script or any c# code snippets to allow this? > > Thanks > > Karl directory by configuring a GPO. If they are, you can do this.... 1. Using the Group Policy Editor, click Computer Configuration, click Windows Settings, click Security Settings, click Local Policies, and then click Security Options. In Network access: Sharing and security model for local accounts, click Classic – local users authenticate as themselves. 2. Using the Group Policy Editor, click Computer Configuration, click Administrative Templates, click Network, click Network Connections, click Windows Firewall, and then click Domain Profile. 3. In Windows Firewall: Allow remote administration exception, click Enabled. In Allow unsolicited incoming messages from, type the IP address or subnet of the computer performing the inventory. 4. In Windows Firewall: Allow file and print sharing exception, click Enabled. In Allow unsolicited incoming messages from, type the IP address or subnet of the computer performing the inventory. After saving the policy changes, don't forget you need to wait for the policy settings to be applied to the client computers, which can take up to two hours. Kind Regards - Dave |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Enable remote WMI programmatically? | PowerShell | |||
| Remote Administration will not enable | Vista General | |||
| how to enable the remote assistence in vista | Vista General | |||
| Remote Assistance - Enable or Disable | Tutorials | |||
| Enable Remote Assistance Vista | Vista General | |||