Temporary files are left in the C:\Windows\Installer folder when you query for the Win32_Product class on a computer that is running Windows Server 2003, Windows Vista, or Windows Server 2008

Applies to: Windows Server 2008Windows Server 2008 Service Pack 2

Symptoms


Consider the following scenario:
  • You install Windows Installer 4.5 on a computer that is running Windows Server 2003, Windows Vista or Windows Server 2008.

    Note Windows Installer 4.5 is included with Windows Vista Service Pack 2 and with Windows Server 2008 Service Pack 2.
  • You run a WMI query for the Win32_Product WMI class in an application or a service. For example, you use the Windows Management Instrumentation Tester tool (Wbemtest.exe) to query the Win32_Product WMI class.
In this scenario, you encounter the following issues:
  • Temporary files may be left behind in the C:\Windows\Installer folder. These temporary files cause the size of the folder to grow. This may in turn cause drive C to run out of disk space.
  • The following event is logged in the Application log one or more times:
  • You may notice CPU usage for the Wmiprvse.exe process which hosts the Windows Installer provider (Msiprov.dll).

Cause


When you query the Win32_Product WMI class, Windows Installer reconfigures products on your computer if these products were installed by using Windows Installer. This reconfiguration causes CPU usage. Additionally, an event is logged for each product that is reconfigured.

After Windows Installer reconfigures a product, temporary files are left behind if the product meets the following conditions:
  • The original .msi file does not exist in the C:\Windows\Installer folder.
  • The installation path is a URL that begins with "http:."
The temporary files cause the size of the C:\Windows\Installer folder to increase.

Note The reconfiguration does not affect the products that are reconfigured.

Resolution


Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running one of the following operating systems:
  • Windows Server 2003 Service Pack 2 (SP2)
  • Windows Server 2008 Service Pack 2 (SP2)
  • Windows Vista Service Pack 2 (SP2)
For more information about how to obtain a Windows Server 2003 service pack, click the following article number to view the article in the Microsoft Knowledge Base:

889100 How to obtain the latest service pack for Windows Server 2003

For more information about how to obtain a Windows Vista service pack, click the following article number to view the article in the Microsoft Knowledge Base:

935791 How to obtain the latest Windows Vista service pack

For more information about how to obtain a Windows Server 2008 service pack, click the following article number to view the article in the Microsoft Knowledge Base:

968849 How to obtain the latest service pack for Windows Server 2008

Registry information

To use the hotfix in this package, you do not have to make any changes to the registry.

Restart requirement

You may have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The English (United States) version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows Server 2003 file information notes
  • In addition to the files that are listed in these tables, this hotfix also installs an associated security catalog file (KBnumber.cat) that is signed with a Microsoft digital signature.
For all supported x86-based versions of Windows Server 2003
File nameFile versionFile sizeDateTimePlatformSP requirement
Msi.dll4.5.6002.224874,447,23217-Sep-201008:36x86SP2
Msihnd.dll4.5.6002.22193332,80017-Sep-201008:36x86SP2
For all supported x64-based versions of Windows Server 2003
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Msi.dll4.5.6002.224875,288,44817-Sep-201006:16x64SP2Not Applicable
Msihnd.dll4.5.6002.22193503,29617-Sep-201006:16x64SP2Not Applicable
Wmsi.dll4.5.6002.224874,447,23217-Sep-201006:16x86SP2WOW
Wmsihnd.dll4.5.6002.22193332,80017-Sep-201006:16x86SP2WOW
For all supported IA-64-based versions of Windows Server 2003
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Msi.dll4.5.6002.224878,120,32017-Sep-201006:16IA-64SP2Not Applicable
Msihnd.dll4.5.6002.221931,085,95217-Sep-201006:16IA-64SP2Not Applicable
Wmsi.dll4.5.6002.224874,447,23217-Sep-201006:16x86SP2WOW
Wmsihnd.dll4.5.6002.22193332,80017-Sep-201006:16x86SP2WOW
Windows Vista and Windows Server 2008 file information notes
Important Windows Vista hotfixes and Windows Server 2008 hotfixes are included in the same packages. However, only "Windows Vista" is listed on the Hotfix Request page. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows Vista" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Vista and for Windows Server 2008" section. MUM files and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows Vista and of Windows Server 2008
File nameFile versionFile sizeDateTimePlatform
Msi.dll4.5.6002.224872,243,58414-Sep-201017:41x86
Msimsg.dll4.5.6002.224872,56014-Sep-201015:22x86
Msihnd.dll4.5.6002.22487332,80014-Sep-201017:41x86
For all supported x64-based versions of Windows Vista and of Windows Server 2008
File nameFile versionFile sizeDateTimePlatform
Msi.dll4.5.6002.224873,112,44814-Sep-201017:13x64
Msimsg.dll4.5.6002.224872,56014-Sep-201014:57x64
Msihnd.dll4.5.6002.22487503,29614-Sep-201017:13x64
Msi.dll4.5.6002.224872,243,58414-Sep-201017:41x86
Msimsg.dll4.5.6002.224872,56014-Sep-201015:22x86
Msihnd.dll4.5.6002.22487332,80014-Sep-201017:41x86
For all supported IA-64-based versions of Windows Server 2008
File nameFile versionFile sizeDateTimePlatform
Msi.dll4.5.6002.224875,939,20014-Sep-201017:14IA-64
Msimsg.dll4.5.6002.224872,56014-Sep-201015:03IA-64
Msihnd.dll4.5.6002.224871,085,95214-Sep-201017:14IA-64
Msi.dll4.5.6002.224872,243,58414-Sep-201017:41x86
Msimsg.dll4.5.6002.224872,56014-Sep-201015:22x86
Msihnd.dll4.5.6002.22487332,80014-Sep-201017:41x86

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information


For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional file information

Additional file information for Windows Vista and for Windows Server 2008

Additional files for all supported x86-based versions of Windows Vista and of Windows Server 2008
File namePackage_1_for_kb2388997~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size2,667
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File namePackage_2_for_kb2388997~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size2,505
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File namePackage_3_for_kb2388997~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size2,505
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File namePackage_for_kb2388997_client_2~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,699
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File namePackage_for_kb2388997_client~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,436
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File namePackage_for_kb2388997_sc_1~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,695
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File namePackage_for_kb2388997_sc~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,428
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File namePackage_for_kb2388997_server_1~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,699
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File namePackage_for_kb2388997_server~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,436
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File nameX86_56fa0cfe9ca8fa4506913945f73c5368_31bf3856ad364e35_6.0.6002.22487_none_87f55a29b5c8b8fd.manifest
File versionNot Applicable
File size1,053
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File nameX86_microsoft-windows-installer-engine_31bf3856ad364e35_6.0.6002.22487_none_059b1ae8ca0333c2.manifest
File versionNot Applicable
File size125,087
Date (UTC)14-Sep-2010
Time (UTC)18:06
PlatformNot Applicable
File nameX86_microsoft-windows-installer-handler_31bf3856ad364e35_6.0.6002.22487_none_e0fb25d9624e0246.manifest
File versionNot Applicable
File size6,566
Date (UTC)14-Sep-2010
Time (UTC)18:10
PlatformNot Applicable
Additional files for all supported x64-based versions of Windows Vista and of Windows Server 2008
File nameAmd64_1b2d67c5a649ee88536ffeab30231777_31bf3856ad364e35_6.0.6002.22487_none_7bc70bce3279068a.manifest
File versionNot Applicable
File size1,756
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File nameAmd64_microsoft-windows-installer-engine_31bf3856ad364e35_6.0.6002.22487_none_61b9b66c8260a4f8.manifest
File versionNot Applicable
File size125,169
Date (UTC)14-Sep-2010
Time (UTC)17:32
PlatformNot Applicable
File nameAmd64_microsoft-windows-installer-handler_31bf3856ad364e35_6.0.6002.22487_none_3d19c15d1aab737c.manifest
File versionNot Applicable
File size6,604
Date (UTC)14-Sep-2010
Time (UTC)17:35
PlatformNot Applicable
File namePackage_1_for_kb2388997~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size3,132
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File namePackage_2_for_kb2388997~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size2,968
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File namePackage_3_for_kb2388997~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size2,968
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File namePackage_for_kb2388997_client_2~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,711
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File namePackage_for_kb2388997_client~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,444
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File namePackage_for_kb2388997_sc_1~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,707
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File namePackage_for_kb2388997_sc~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,436
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File namePackage_for_kb2388997_server_1~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,711
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File namePackage_for_kb2388997_server~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,444
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File nameX86_microsoft-windows-installer-engine_31bf3856ad364e35_6.0.6002.22487_none_059b1ae8ca0333c2.manifest
File versionNot Applicable
File size125,087
Date (UTC)14-Sep-2010
Time (UTC)18:06
PlatformNot Applicable
File nameX86_microsoft-windows-installer-handler_31bf3856ad364e35_6.0.6002.22487_none_e0fb25d9624e0246.manifest
File versionNot Applicable
File size6,566
Date (UTC)14-Sep-2010
Time (UTC)18:10
PlatformNot Applicable
Additional files for all supported IA-64-based versions of Windows Server 2008
File nameIa64_3e47dc3ee9c212ef7b8866200fb84a4a_31bf3856ad364e35_6.0.6002.22487_none_6c9aa5196147bdac.manifest
File versionNot Applicable
File size1,753
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File nameIa64_microsoft-windows-installer-engine_31bf3856ad364e35_6.0.6002.22487_none_059cbedeca013cbe.manifest
File versionNot Applicable
File size125,128
Date (UTC)14-Sep-2010
Time (UTC)17:32
PlatformNot Applicable
File nameIa64_microsoft-windows-installer-handler_31bf3856ad364e35_6.0.6002.22487_none_e0fcc9cf624c0b42.manifest
File versionNot Applicable
File size6,582
Date (UTC)14-Sep-2010
Time (UTC)17:36
PlatformNot Applicable
File namePackage_1_for_kb2388997~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size2,793
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File namePackage_2_for_kb2388997~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size2,793
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File namePackage_for_kb2388997_sc_1~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size1,535
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File namePackage_for_kb2388997_sc~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size1,432
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File namePackage_for_kb2388997_server_1~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size1,539
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File namePackage_for_kb2388997_server~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size1,440
Date (UTC)15-Sep-2010
Time (UTC)05:59
PlatformNot Applicable
File nameX86_microsoft-windows-installer-engine_31bf3856ad364e35_6.0.6002.22487_none_059b1ae8ca0333c2.manifest
File versionNot Applicable
File size125,087
Date (UTC)14-Sep-2010
Time (UTC)18:06
PlatformNot Applicable
File nameX86_microsoft-windows-installer-handler_31bf3856ad364e35_6.0.6002.22487_none_e0fb25d9624e0246.manifest
File versionNot Applicable
File size6,566
Date (UTC)14-Sep-2010
Time (UTC)18:10
PlatformNot Applicable

References


For more information about the MsiOpenPackage function, visit the following Microsoft website:For more information about the Win32_Product WMI class, visit the following Microsoft website:For more information about Windows Installer 4.5, visit the following Microsoft website:For more information about Event ID 1035, visit the following Microsoft website: