Web Images News Groups Scholar Blogs Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Enable remote WMI programmatically?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Karl Mitschke  
View profile  
 More options Oct 5, 4:59 pm
Newsgroups: microsoft.public.scripting.vbscript
From: Karl Mitschke <karlmitsc...@somestate.gov>
Date: Mon, 5 Oct 2009 16:59:48 +0000 (UTC)
Local: Mon, Oct 5 2009 4:59 pm
Subject: 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


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
msnews.microsoft.com  
View profile  
 More options Oct 9, 11:11 am
Newsgroups: microsoft.public.scripting.vbscript
From: "msnews.microsoft.com" <f.deb...@activexperts.com>
Date: Fri, 9 Oct 2009 13:11:31 +0200
Local: Fri, Oct 9 2009 11:11 am
Subject: Re: Enable remote WMI programmatically?
Please see the following article:

http://www.activexperts.com/support/activmonitor/index.asp?kb=Q7250015

Best regards,

Frits de Boer

ActiveXperts Software B.V.
Web: http://www.activexperts.com

"Karl Mitschke" <karlmitsc...@somestate.gov> wrote in message

news:d66cd4c214de88cc13c21751cc8b@msnews.microsoft.com...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Karl Mitschke  
View profile  
 More options Oct 9, 3:43 pm
Newsgroups: microsoft.public.scripting.vbscript
From: Karl Mitschke <karlmitsc...@somestate.gov>
Date: Fri, 9 Oct 2009 15:43:59 +0000 (UTC)
Local: Fri, Oct 9 2009 3:43 pm
Subject: Re: Enable remote WMI programmatically?
Hello msnews.microsoft.com,

Thanks for the suggestion

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


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave  
View profile  
 More options Oct 30, 4:35 pm
Newsgroups: microsoft.public.scripting.vbscript
From: Dave <dave...@gmail.com>
Date: Fri, 30 Oct 2009 09:35:05 -0700 (PDT)
Local: Fri, Oct 30 2009 4:35 pm
Subject: Re: Enable remote WMI programmatically?
On Oct 5, 4:59 pm, Karl Mitschke <karlmitsc...@somestate.gov> wrote:

You can do this fairly easily if all the servers are under active
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


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google