Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to re-install WMI for Windows XP

0 views
Skip to first unread message

Frank R?der

unread,
Oct 6, 2004, 9:56:32 AM10/6/04
to
I have a problem with my WMI it's corrupted after installing SP2 for
Windows XP.

I have tried everything (I believe): Rebuilding repository has no
effect, tried remove "hide" in sysoc.inf for WBEM, but I could not
remove the checkmark in the Windows program components to remove the
application....

I have not found any article about re-installing WMI on a Windows XP.

Does any have any idea ?

Regards
Frank Röder
Systems Engineer.

Luke Edson

unread,
Oct 6, 2004, 10:10:21 AM10/6/04
to
I saw this in the Group Policy Newsgroup:

-----Begining of copied message-------

. Reply (E-mail) Forward (E-mail)

Subject: Re: WMI generic failure
From: "Todd J Heron" <todd_hero...@hotmail.com>
Sent: 10/5/2004 11:48:46 AM

Copy the lines below into a CMD script and run it on your
machine. Let me
know if it works.

--
Todd J Heron, MCSE
Windows 2003/2000/NT

COPY ALL LINES BELOW:

net stop winmgmt

pause

c:

cd c:\windows\system32\wbem

rd /S /Q repository

regsvr32 /s %systemroot%\system32\scecli.dll

regsvr32 /s %systemroot%\system32\userenv.dll

mofcomp cimwin32.mof

mofcomp cimwin32.mfl

mofcomp rsop.mof

mofcomp rsop.mfl

for /f %%s in ('dir /b /s *.dll') do regsvr32 /s %%s

for /f %%s in ('dir /b *.mof') do mofcomp %%s

for /f %%s in ('dir /b *.mfl') do mofcomp %%s

mofcomp exwmi.mof

mofcomp -n:root\cimv2\applications\exchange wbemcons.mof

mofcomp -n:root\cimv2\applications\exchange smtpcons.mof

mofcomp exmgmt.mof


"t" <t@t.t> wrote in message
news:Oa4yGIW...@TK2MSFTNGP14.phx.gbl...
> C:\WINDOWS\system32\wbem
>
>
> "Todd J Heron" <todd_hero...@hotmail.com> wrote
in message
> news:#WoBl6Lq...@TK2MSFTNGP12.phx.gbl...
> What is the path of the path of the wbem folder?
>
> --
> Todd J Heron, MCSE
> Windows 2003/2000/NT
> "t" <t@t.t> wrote in message
> news:%234NhNN0...@TK2MSFTNGP12.phx.gbl...
> Hi All,
> any 1 could help on this, any time try to create new
WMI filter it gives
> me an error "Generic Failure" 0X80041001 WBEM_E_FAILED
call failed, tried
> to
> stop WMI services and restarted it but it did not fix
the problem. rebuild
> the WMI repository also did not fix the problem.
> I am running out of Ideas, re-install windows 2003
server in not an
> option.
> Please help.
>
> Tim
>
>

----End of copied message------

>.
>

LeeSchoff

unread,
Oct 9, 2004, 12:04:36 PM10/9/04
to
I ran the script. A number of errors. Generally invalid namespace or
missing .mof files. They follow:

C:\WINDOWS\system32\wbem>mofcomp Outlook_01c3d2f4d6781d55.mof
Microsoft (R) 32-bit MOF Compiler Version 5.1.2600.2180
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
Parsing MOF file: Outlook_01c3d2f4d6781d55.mof
MOF file has been successfully parsed
Storing data in the repository...
An error occurred while creating object 1 defined on lines 31 - 163:
0X80041002 Class, instance, or property 'Win32_PerfRawData' was not
found.
Compiler returned error 0x80041001

C:\WINDOWS\system32\wbem>mofcomp exwmi.mof
Microsoft (R) 32-bit MOF Compiler Version 5.1.2600.2180
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
File 'exwmi.mof' not found!

C:\WINDOWS\system32\wbem>mofcomp -n:root\cimv2\applications\exchange
wbemcons.mof
Microsoft (R) 32-bit MOF Compiler Version 5.1.2600.2180
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
Parsing MOF file: wbemcons.mof
MOF file has been successfully parsed
Storing data in the repository...
An error occurred while opening the namespace for object 1 defined on
lines 3 - 10:
Error Number: 0x8004100e, Facility: WMI
Description: Invalid namespace

Compiler returned error 0x8004100e
C:\WINDOWS\system32\wbem>mofcomp -n:root\cimv2\applications\exchange
smtpcons.mof
Microsoft (R) 32-bit MOF Compiler Version 5.1.2600.2180
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
Parsing MOF file: smtpcons.mof
MOF file has been successfully parsed
Storing data in the repository...
An error occurred while opening the namespace for object 1 defined on
lines 4 - 16:
Error Number: 0x8004100e, Facility: WMI
Description: Invalid namespace

Compiler returned error 0x8004100e
C:\WINDOWS\system32\wbem>mofcomp exmgmt.mof
Microsoft (R) 32-bit MOF Compiler Version 5.1.2600.2180
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
File 'exmgmt.mof' not found!


0 new messages