WMI provider registered in SysWOW64 but cimwin32.dll is not there (x64)
Hello,
I found a Windows 7 Professional x64 system where WMI fails to load providers managed by cimwin32.dll when invoked from a 32-bit applications. wbemtest.exe works fine, presumably because it's 64-bit.
The reason why the provider fails loading is that WMI tries to load cimwin32.dll from %windir%\syswow64\wbem, but unfortunately cimwin32.dll is not present in this folder.
I checked a clean install of Windows 7 in another machine and indeed cimwin32.dll is not placed in the syswow64\wbem folder, but in this clean system WMI works fine from 32-bit applications. So apparently it wasn't a file copy error.
Do you have any hints as to what may have caused this problem and how to solve it?
Thanks,
Vasco
August 4th, 2010 5:49am
Hello,
today we had a similiar case on Windows 7 64bit RTM.
WMI was working fine with 64bit Apps but crashing with 32bit Applications. It comes out that there was a comserver registration for the 32bit DLL which points to %systemdrive%\Windows\sysWoW64\wbem\cimwin32.dll. But the dll does not exist on the system.
The registry key was:
[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{D63A5850-8F16-11CF-9F47-00AA00BF345C}\InprocServer32]
@="C:\\Windows\\SysWOW64\\wbem\\cimwin32.dll"
"ThreadingModel"="Both"
After renaming (deleting) the guid key HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{D63A5850-8F16-11CF-9F47-00AA00BF345C} WMI works fine also with 32bit Apps
Regards,
Thomas
Free Windows Admin Tool Kit Click here and download it now
January 17th, 2012 11:19am
Hello,
my VAIO-Update at my x64-Windows7 will not work. This typ helps very fine.
Regards,
Dietrich
July 8th, 2012 8:52am