Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
WMI error
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
  6 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
 
Tom K  
View profile  
 More options Mar 18 2008, 1:15 pm
Newsgroups: microsoft.public.scripting.vbscript
From: "Tom K" <thomas.DOTk...@ThighmarkDOT.com>
Date: Tue, 18 Mar 2008 09:15:25 -0400
Local: Tues, Mar 18 2008 1:15 pm
Subject: WMI error
This line in our logon script...

Set oWMIService =
GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")

...returns an error code 80041002 on some systems.

Anyone have ideas what might be causing it?

Thanks,

Tom


    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.
Tom Lavedas  
View profile  
 More options Mar 18 2008, 1:31 pm
Newsgroups: microsoft.public.scripting.vbscript
From: Tom Lavedas <tglba...@cox.net>
Date: Tue, 18 Mar 2008 06:31:34 -0700 (PDT)
Local: Tues, Mar 18 2008 1:31 pm
Subject: Re: WMI error
On Mar 18, 9:15 am, "Tom K" <thomas.DOTk...@ThighmarkDOT.com> wrote:

> This line in our logon script...

> Set oWMIService =
> GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")

> ...returns an error code 80041002 on some systems.

> Anyone have ideas what might be causing it?

> Thanks,

> Tom

Are these WinNT systems?  That error is WBEM_E_NOT_FOUND according to
a search at MSDN.  IIRC, NT does not have WMI installed, though it can
run it.

If they are not NT, then the problem must presumably be related to a
fault in the WMI installation.

In any case, it would appear to be a configuration problem, not a
scripting fault.  You may get more help at the WMI or a sys admin
group.

Tom Lavedas
===========
http://members.cox.net/tglbatch/wsh/


    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.
Tom K  
View profile  
 More options Mar 18 2008, 1:52 pm
Newsgroups: microsoft.public.scripting.vbscript, microsoft.public.wmi.programmer
From: "Tom K" <thomas.DOTk...@ThighmarkDOT.com>
Date: Tue, 18 Mar 2008 09:52:05 -0400
Local: Tues, Mar 18 2008 1:52 pm
Subject: Re: WMI error

"Tom Lavedas" <tglba...@cox.net> wrote in message

news:cefc4adb-91b3-47f7-803e-e28a96f01a6f@f63g2000hsf.googlegroups.com...

Thanks for the quick reply, Tom.  These are all fully patched Windows XP SP2
systems that are displaying the problem.  I forgot to include the WMI group
on my OP so I've added them now.  Hopefully those wizards will have
something for me.

The $65,000 question is what is the quickest and easiest way to rebuild the
WMI installation?

Tom


    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.
TDM  
View profile  
 More options Mar 18 2008, 2:20 pm
Newsgroups: microsoft.public.scripting.vbscript, microsoft.public.wmi.programmer
From: "TDM" <rpu...@gmail.com>
Date: Tue, 18 Mar 2008 07:20:11 -0700
Local: Tues, Mar 18 2008 2:20 pm
Subject: Re: WMI error

"Tom K" <thomas.DOTk...@ThighmarkDOT.com> wrote in message

news:eNwvA9PiIHA.3940@TK2MSFTNGP05.phx.gbl...

When WMI is busted, and the answer is not obvious,
this is the first place I turn. It has helped me many times.
This tool is also the biggest VB Script I have ever seen.

Watch for line wrap.

http://www.microsoft.com/downloads/details.aspx?familyid=d7ba3cd6-18d...

TDM


    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.
Richard Mueller [MVP]  
View profile  
 More options Mar 18 2008, 3:42 pm
Newsgroups: microsoft.public.scripting.vbscript, microsoft.public.wmi.programmer
From: "Richard Mueller [MVP]" <rlmueller-nos...@ameritech.nospam.net>
Date: Tue, 18 Mar 2008 10:42:07 -0500
Local: Tues, Mar 18 2008 3:42 pm
Subject: Re: WMI error

"TDM" <rpu...@gmail.com> wrote in message

news:OZOytMQiIHA.4740@TK2MSFTNGP05.phx.gbl...

After research I found the following regarding connecting to remote
computers with WMI:

1. You cannot connect to computer running XP Home.
2. An NT computer cannot connect to OS later than W2k.
3. A W2k3 computer cannot connect to Win9x.
4. To connect to W2k Server SP4 you must set impersonation level to
Impersonate.
5. W2k computers must have SP2 to connect to XP or above.
6. W2k3 can only connect to Win9x and NT if credentials supplied.
7. To connect to XP or W2k3 you must set authentication level to Pkt.

For best results in all situations, I use:

strComputer = "pc_name"
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate,authenticationLevel=Pkt}!\\" _
    & strComputer & "\root\cimv2")

This KB article on troubleshooting WMI is very useful:

http://support.microsoft.com/kb/875605#3

I have also used this link:

http://www.microsoft.com/technet/scriptcenter/resources/wmifaq.mspx

--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--


    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.
TDM  
View profile  
 More options Mar 19 2008, 3:01 am
Newsgroups: microsoft.public.scripting.vbscript, microsoft.public.wmi.programmer
From: "TDM" <rpu...@gmail.com>
Date: Tue, 18 Mar 2008 20:01:11 -0700
Local: Wed, Mar 19 2008 3:01 am
Subject: Re: WMI error

And lest we not forget, the Windows
Firewall will not let WMI through either.

TDM


    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
©2010 Google