Skip navigation

Version Comparison: Inventory scan on clients is failing to run

Comparing: Revision 1 » Revision 2


 
 
Color Key: Addition Deletion Change
Revision 1   By Maddawg at 5 years, 8 months ago Revision 2   By Maddawg at 4 years, 2 months ago


<font size='2'><b>Description</b></font><div class='indent' style='font-size:10pt'>Can't scan manually, or thru console.  Error received is Access is denied.  When you run a scan with a -debug command it does not scan past the network cards.  If you run the scan with the /NH (No Hardware) switch the scan runs fine.<br>If you try to update the BIOS to a new version, the update fails with WMI access failures.<br><br>LDISCN32.LOG shows "Failed to init".<br>LDISCN32.LOG /DEBUG "DMIAPI32 load failed."</div></div><br><div><font size='2'>Cause
Corrupt WMI

Resolution
Use Microsoft's WMI Diagnostic Utility to see if WMI is corrupt.
https://www.microsoft.com/downloads/details.aspx?familyid=D7BA3CD6-18D1-4D05-B11E-4C64192AE97D&displaylang=en

If corrupt, run the following lines in a batch file:

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

<font size='2'><b>Description</b></font><div class='indent' style='font-size:10pt'>Can'

Can't scan manually, or thru console.  Error received is Access is denied.  When you run a scan with a -debug command it does not scan past the network cards.  If you run the scan with the /NH (No Hardware) switch the scan runs fine.

<br>If

  If you try to update the BIOS to a new version, the update fails with WMI access failures.

<br><br>LDISCN32

  LDISCN32.LOG shows "Failed to init".

<br>LDISCN32

LDISCN32.LOG /DEBUG "DMIAPI32 load failed."

</div></div><br><div><font size='2'>

 

Cause

Corrupt WMI

 

Resolution

Use Microsoft's WMI Diagnostic Utility to see if WMI is corrupt.

https://www.microsoft.com/downloads/details.aspx?familyid=D7BA3CD6-18D1-4D05-B11E-4C64192AE97D&displaylang=en

 

If corrupt, run the following lines in a batch file:

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

domofcomp %%s

mofcomp exwmi.mof

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

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

mofcomp exmgmt.mof

LANDESK Community powered by Jive SBS® 4.5.7.1  |  Legal Notices  |  Privacy Policy  |  Icon 

TweeterOn Twitter  |  Icon FacebookOn Facebook © 2007 LANDESK Software