Microsoft KB Archive/266254

From BetaArchive Wiki

WMI WDM Provider Rejects Instance Data From Driver

Q266254



The information in this article applies to:


  • Windows Management Instrumentation, version 1.5, used with:
    • the operating system: Microsoft Windows 2000





SYMPTOMS

The Windows Driver Model (WDM) provider does not return instance data from a WDM driver. This problem is indicated by the following entry in the WMI provider log file (Wmiprov.log):

date and time : WDM Buffer size and actual size of data do not match.



CAUSE

WDM-based device drivers (such as SCSI) use WMI to retrieve performance information, control device features, and signal events. The WDM driver provides WMI data by using its classes, and this is also known as the driver's schema. These classes are defined in a binary .mof file that is embedded in the driver. If the driver's schema contains sub-classes, a bug in WMI's WDM provider causes an invalid size calculation of the driver's classes. This ultimately prevents the driver from communicating with WMI.



RESOLUTION

To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, please see the following article in the Microsoft Knowledge Base:

Q260910 How to Obtain the Latest Windows 2000 Service Pack

The English version of this fix should have the following file attributes or later:


   Date       Time      Version       Size     File name    Platform
   -----------------------------------------------------------------
   9/28/2000  19:45:12  1.50.1085.31  110,660  Wmiprov.dll  x86 



Using the Hotfix Installer

NOTE: You can use this method only for Intel-based computers with Windows 2000 installed.

  1. Copy the hotfix executable file (Q266254.exe) to a local folder on your computer or to a share on your network.
  2. Run the Q266254.exe file and follow the directions.
  3. Restart your computer.



STATUS

Microsoft has confirmed this to be a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 2.

Additional query words:

Keywords : kbenv kbtool kbWin2000SP2Fix
Issue type : kbbug
Technology : kbWMISearch kbAudDeveloper


Last Reviewed: May 25, 2001
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.