WMI Failure

C

cjobes

Hi all,

I have a strange problem with WMI on a W2K SP4 box. When I go to any of the
services properties and click on Dependencies, I get a WMI Transport error.
I also cannot enumerate anything with WScripts. I ran the WMIDiag and it
detects 5 errors WBEM_E_TRANSPORT_FAILURE 80041015. I can't find anything on
how to troubleshoot this. Does anyone have a link to a helpful page?

Thanks,

Claus
 
D

David H. Lipman

From: "cjobes" <[email protected]>

| Hi all,
|
| I have a strange problem with WMI on a W2K SP4 box. When I go to any of the
| services properties and click on Dependencies, I get a WMI Transport error.
| I also cannot enumerate anything with WScripts. I ran the WMIDiag and it
| detects 5 errors WBEM_E_TRANSPORT_FAILURE 80041015. I can't find anything on
| how to troubleshoot this. Does anyone have a link to a helpful page?
|
| Thanks,
|
| Claus
|

Create a FIXWMI.CMD batch file from the below script and run it and see if this corrects
your problem.

FIXWMI.CMD
------------------------

@echo on
cd /d c:\temp
if not exist %windir%\system32\wbem goto TryInstall
cd /d %windir%\system32\wbem
net stop winmgmt
winmgmt /kill
if exist Rep_bak rd Rep_bak /s /q
rename Repository Rep_bak
for %%i in (*.dll) do RegSvr32 -s %%i
for %%i in (*.exe) do call :FixSrv %%i
for %%i in (*.mof,*.mfl) do Mofcomp %%i
net start winmgmt
goto End

:FixSrv
if /I (%1) == (wbemcntl.exe) goto SkipSrv
if /I (%1) == (wbemtest.exe) goto SkipSrv
if /I (%1) == (mofcomp.exe) goto SkipSrv
%1 /RegServer

:SkipSrv
goto End

:TryInstall
if not exist wmicore.exe goto End
wmicore /s
net start winmgmt
:End
 
C

cjobes

Thanks Dave,

Something is wrong with that script. I saved it on the C drive and then ran
it. All you see are multiple lines of
C:\fixwmi.com
C:\fixwmi.com
until I kill it.

Any idea what's going on?

Claus
 
D

David H. Lipman

From: "cjobes" <[email protected]>

| Thanks Dave,
|
| Something is wrong with that script. I saved it on the C drive and then ran
| it. All you see are multiple lines of
| C:\fixwmi.com
| C:\fixwmi.com
| until I kill it.
|
| Any idea what's going on?
|
| Claus
|


I copied the script from the News post and created a TEST.CMD file and pasted it into and
tested it.

It worked as expected.
 
C

cjobes

I checked the script again to make sure that everything from your post was
copied. What I see in the cmd window is:
C:\test.cmd
C:\test.cmd
C:\test.cmd
and so on at a rate of about one per second or faster until I kill it.

Wbem does exist but wmicore.exe does not exist on the C drive. It is also
not available at the MS site. I'm connected to the computer remotely and
can't put the W2K CD in.

Any suggestion?
 
D

David H. Lipman

From: "cjobes" <[email protected]>

| I checked the script again to make sure that everything from your post was
| copied. What I see in the cmd window is:
| C:\test.cmd
| C:\test.cmd
| C:\test.cmd
| and so on at a rate of about one per second or faster until I kill it.
|
| Wbem does exist but wmicore.exe does not exist on the C drive. It is also
| not available at the MS site. I'm connected to the computer remotely and
| can't put the W2K CD in.
|
| Any suggestion?
|

Register all DLL files in; C:\WINNT\system32\wbem
 
C

cjobes

I did that and when I got to the framedyn.dll I got the following message:

framedyn.dll was loaded, but the DllRegisterServer entry point was not
found.
DllRegisterServer may not be exported, or a corrupt version of framedyn.dll
may be in memory. Consider using PView to detect and remove it.

I do not know PView. What should I do next?

Claus
 
D

David H. Lipman

From: "cjobes" <[email protected]>

| I did that and when I got to the framedyn.dll I got the following message:
|
| framedyn.dll was loaded, but the DllRegisterServer entry point was not
| found.
| DllRegisterServer may not be exported, or a corrupt version of framedyn.dll
| may be in memory. Consider using PView to detect and remove it.
|
| I do not know PView. What should I do next?
|
| Claus
|

I have no idea. Sorry :-(
 
D

Dave Patrick

The dll contains no DLLRegisterServer or DllUnregisterServer functions hence
the error message. In other words it doesn't need to be registered.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I did that and when I got to the framedyn.dll I got the following message:
|
| framedyn.dll was loaded, but the DllRegisterServer entry point was not
| found.
| DllRegisterServer may not be exported, or a corrupt version of
framedyn.dll
| may be in memory. Consider using PView to detect and remove it.
|
| I do not know PView. What should I do next?
|
| Claus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top