WMI query doesn't work in Windows Server 2012 R2 or Windows Server 2012

This article describes an issue when you run the Windows Management Instrumentation (WMI) query in Windows Server 2012 R2 or Windows Server 2012. You can fix this issue by using the update or hotfix in this article. Before you install this update or hotfix, see the Prerequisites section.
Symptoms
Assume that you have an application that queries scheduled tasks periodically through WMI to Root\Microsoft\Windows\TaskScheduler\MSFT_ScheduledTask. Every time the WMI query runs, the WMI provider process memory usage increases. Eventually, the memory usage reaches the WMI provider process quota, and no more WMI queries can be done in this process.
Cause
This issue occurs because of a memory leak in the Wmiprvse.exe process when you run WMI queries to monitor scheduled tasks.
How to get this update or hotfix
You can get this update or hotfix by using one of the following methods. We have released an update through Windows Update and Microsoft Update Catalog for Windows Server 2012 R2. We also have released a hotfix for Windows Server 2012. Even though this issue is observed only in Windows Server 2012 R2 or Windows Server 2012, the update also applies to Windows 8.1 and Windows RT 8.1.

Important If you install a language pack after you install this update or hotfix, you must reinstall this update or hotfix. Therefore, we recommend that you install any language packs that you need before you install this update or hotfix. For more information, see Add language packs to Windows.

Method 1: Windows Update

This update is provided as a Recommended update on Windows Update. For more information on how to run Windows Update, see How to get an update through Windows Update.

Method 2: Microsoft Update Catalog

To get the stand-alone package for this update, go to the Microsoft Update Catalog website.

Note You must be running Microsoft Internet Explorer 6.0 or later.

Method 3: Hotfix package for Windows Server 2012

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that's described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there's a "Hotfix Download Available" section at the top of this Knowledge Base article. If this section doesn't appear, submit a request to Microsoft Customer Service and Support to get 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 don't 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 website: Note The "Hotfix Download Available" form displays the languages for which the hotfix is available. If you don't see your language, it's because a hotfix isn't available for that language.

Update or hotfix detail information

Prerequisites

To apply this update, you must have April 2014 update rollup for Windows RT 8.1, Windows 8.1, and Windows Server 2012 R2 (2919355) installed in Windows 8.1 or Windows Server 2012 R2.

There's no prerequisite for Windows Server 2012 to apply this hotfix.

Registry information

To apply this update or hotfix, you don't have to make any changes to the registry.

Restart requirement

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

Update or hotfix replacement information

This update or hotfix doesn't replace a previously released update or hotfix.
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
References
See the terminology that Microsoft uses to describe software updates.
File Information
The English (United States) version of this software update installs files that have the attributes that are listed in the following tables.

Windows 8.1, Windows RT 8.1 and Windows Server 2012 R2

Notes
  • The files that apply to a specific product, milestone (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table:
    VersionProductMilestoneService branch
    6.3.960 0.18 xxxWindows RT 8.1, Windows 8.1, and Windows Server 2012 R2RTMGDR
  • GDR service branches contain only those fixes that are widely released to address widespread, critical issues. LDR service branches contain hotfixes in addition to widely released fixes.
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed in the "Additional file information" section. MUM, MANIFEST, and the associated security catalog (.cat) files, are very 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.
Windows RT 8.1
File nameFile versionFile sizeDateTimePlatform
Msft_scheduledtask.format.ps1xmlNot applicable2,23218-Jun-201315:04Not applicable
Msft_scheduledtask.types.ps1xmlNot applicable8,86018-Jun-201315:04Not applicable
Msft_scheduledtask_v1.0.cdxmlNot applicable3,22518-Jun-201315:04Not applicable
Psscheduledjobprxy.psm1Not applicable5,17418-Jun-201315:04Not applicable
Ps_clusteredscheduledtask_v1.0.cdxmlNot applicable18,13518-Jun-201315:04Not applicable
Ps_scheduledtask.types.ps1xmlNot applicable3,15118-Jun-201315:04Not applicable
Ps_scheduledtask_v1.0.cdxmlNot applicable52,70518-Jun-201315:04Not applicable
Schedprov.dll6.3.9600.18258181,76003-Mar-201616:27Not applicable
Schedprov.mofNot applicable46,49218-Jun-201315:04Not applicable
Scheduledtasks.psd1Not applicable1,95818-Jun-201315:04Not applicable
x86 Windows 8.1
File nameFile versionFile sizeDateTimePlatform
Msft_scheduledtask.format.ps1xmlNot applicable2,23218-Jun-201312:38Not applicable
Msft_scheduledtask.types.ps1xmlNot applicable8,86018-Jun-201312:38Not applicable
Msft_scheduledtask_v1.0.cdxmlNot applicable3,22518-Jun-201312:38Not applicable
Psscheduledjobprxy.psm1Not applicable5,17418-Jun-201312:38Not applicable
Ps_clusteredscheduledtask_v1.0.cdxmlNot applicable18,13518-Jun-201312:38Not applicable
Ps_scheduledtask.types.ps1xmlNot applicable3,15118-Jun-201312:38Not applicable
Ps_scheduledtask_v1.0.cdxmlNot applicable52,70518-Jun-201312:38Not applicable
Schedprov.dll6.3.9600.18258169,98403-Mar-201616:47x86
Schedprov.mofNot applicable46,49218-Jun-201312:38Not applicable
Scheduledtasks.psd1Not applicable1,95818-Jun-201312:38Not applicable
x64 Windows 8.1 and Windows Server 2012 R2
File nameFile versionFile sizeDateTimePlatform
Msft_scheduledtask.format.ps1xmlNot applicable2,23218-Jun-201315:04Not applicable
Msft_scheduledtask.types.ps1xmlNot applicable8,86018-Jun-201315:04Not applicable
Msft_scheduledtask_v1.0.cdxmlNot applicable3,22518-Jun-201315:04Not applicable
Psscheduledjobprxy.psm1Not applicable5,17418-Jun-201315:04Not applicable
Ps_clusteredscheduledtask_v1.0.cdxmlNot applicable18,13518-Jun-201315:04Not applicable
Ps_scheduledtask.types.ps1xmlNot applicable3,15118-Jun-201315:04Not applicable
Ps_scheduledtask_v1.0.cdxmlNot applicable52,70518-Jun-201315:04Not applicable
Schedprov.dll6.3.9600.18258369,15203-Mar-201617:05x64
Schedprov.mofNot applicable46,49218-Jun-201315:04Not applicable
Scheduledtasks.psd1Not applicable1,95818-Jun-201315:04Not applicable
Msft_scheduledtask.format.ps1xmlNot applicable2,23218-Jun-201312:38Not applicable
Msft_scheduledtask.types.ps1xmlNot applicable8,86018-Jun-201312:38Not applicable
Msft_scheduledtask_v1.0.cdxmlNot applicable3,22518-Jun-201312:38Not applicable
Psscheduledjobprxy.psm1Not applicable5,17418-Jun-201312:38Not applicable
Ps_clusteredscheduledtask_v1.0.cdxmlNot applicable18,13518-Jun-201312:38Not applicable
Ps_scheduledtask.types.ps1xmlNot applicable3,15118-Jun-201312:38Not applicable
Ps_scheduledtask_v1.0.cdxmlNot applicable52,70518-Jun-201312:38Not applicable
Schedprov.dll6.3.9600.18258169,98403-Mar-201616:47x86
Schedprov.mofNot applicable46,49218-Jun-201312:38Not applicable
Scheduledtasks.psd1Not applicable1,95818-Jun-201312:38Not applicable

Windows Server 2012

Notes
  • The files that apply to a specific product, milestone (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table:
    Version Product Milestone Service branch
    6.2.920 0.21xxxWindows Server 2012RTMLDR
  • GDR service branches contain only those fixes that are widely released to address widespread, critical issues. LDR service branches contain hotfixes in addition to widely released fixes.
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed in the "Additional file information" section. MUM, MANIFEST, and the associated security catalog (.cat) files, are very 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.
x64 Windows Server 2012
File nameFile versionFile sizeDateTimePlatform
Msft_scheduledtask.format.ps1xmlNot applicable2,23202-Jun-201214:33Not applicable
Msft_scheduledtask.types.ps1xmlNot applicable8,86002-Jun-201214:33Not applicable
Msft_scheduledtask_v1.0.cdxmlNot applicable3,22502-Jun-201214:33Not applicable
Psscheduledjobprxy.psm1Not applicable5,17421-Jun-201219:03Not applicable
Ps_clusteredscheduledtask_v1.0.cdxmlNot applicable18,13502-Jun-201214:33Not applicable
Ps_scheduledtask.types.ps1xmlNot applicable3,15102-Jun-201214:33Not applicable
Ps_scheduledtask_v1.0.cdxmlNot applicable52,70502-Jun-201214:33Not applicable
Schedprov.dll6.2.9200.21656312,32012-Oct-201514:34x64
Schedprov.mofNot applicable46,49202-Jun-201214:33Not applicable
Scheduledtasks.psd1Not applicable1,95821-Jun-201219:03Not applicable
Msft_scheduledtask.format.ps1xmlNot applicable2,23202-Jun-201214:32Not applicable
Msft_scheduledtask.types.ps1xmlNot applicable8,86002-Jun-201214:32Not applicable
Msft_scheduledtask_v1.0.cdxmlNot applicable3,22502-Jun-201214:32Not applicable
Psscheduledjobprxy.psm1Not applicable5,17421-Jun-201219:03Not applicable
Ps_clusteredscheduledtask_v1.0.cdxmlNot applicable18,13502-Jun-201214:32Not applicable
Ps_scheduledtask.types.ps1xmlNot applicable3,15102-Jun-201214:32Not applicable
Ps_scheduledtask_v1.0.cdxmlNot applicable52,70502-Jun-201214:32Not applicable
Schedprov.dll6.2.9200.21656167,42412-Oct-201515:00x86
Schedprov.mofNot applicable46,49202-Jun-201214:32Not applicable
Scheduledtasks.psd1Not applicable1,95821-Jun-201219:03Not applicable

Additional file information

Windows RT 8.1
File propertyValue
File nameArm_aecc32e8a02b1c4cd53075661d8b6879_31bf3856ad364e35_6.3.9600.18259_none_8025cc594f720841.manifest
File versionNot applicable
File size714
Date (UTC)04-Mar-2016
Time (UTC)20:18
PlatformNot applicable
File nameArm_microsoft-windows-t..eduler-ciminterface_31bf3856ad364e35_6.3.9600.18259_none_20157bed3e12fad4.manifest
File versionNot applicable
File size11,368
Date (UTC)04-Mar-2016
Time (UTC)15:25
PlatformNot applicable
File nameUpdate.mum
File versionNot applicable
File size1,593
Date (UTC)04-Mar-2016
Time (UTC)20:18
PlatformNot applicable
x86 Windows 8.1
File propertyValue
File nameUpdate.mum
File versionNot applicable
File size1,593
Date (UTC)04-Mar-2016
Time (UTC)20:18
PlatformNot applicable
File nameX86_085ea6c50147fbdb519611737ce7e62f_31bf3856ad364e35_6.3.9600.18259_none_14f547c62780c803.manifest
File versionNot applicable
File size714
Date (UTC)04-Mar-2016
Time (UTC)20:18
PlatformNot applicable
File nameX86_microsoft-windows-t..eduler-ciminterface_31bf3856ad364e35_6.3.9600.18259_none_201309953e15dc0e.manifest
File versionNot applicable
File size11,368
Date (UTC)04-Mar-2016
Time (UTC)15:41
PlatformNot applicable
x64 Windows Server 2012
File propertyValue
File nameAmd64_edb9c734e5ca466308c93c92acb1314d_31bf3856ad364e35_6.2.9200.21656_none_973066a842b2b55e.manifest
File versionNot applicable
File size1,076
Date (UTC)13-Oct-2015
Time (UTC)00:44
PlatformNot applicable
File nameAmd64_microsoft-windows-t..eduler-ciminterface_31bf3856ad364e35_6.2.9200.21656_none_e4c3a4d9c560ae60.manifest
File versionNot applicable
File size11,372
Date (UTC)12-Oct-2015
Time (UTC)17:52
PlatformNot applicable
File nameUpdate.mum
File versionNot applicable
File size2,041
Date (UTC)13-Oct-2015
Time (UTC)00:44
PlatformNot applicable
File nameX86_microsoft-windows-t..eduler-ciminterface_31bf3856ad364e35_6.2.9200.21656_none_88a509560d033d2a.manifest
File versionNot applicable
File size11,368
Date (UTC)12-Oct-2015
Time (UTC)15:27
PlatformNot applicable
x64 Windows 8.1 and Windows Server 2012 R2
File propertyValue
File nameAmd64_085ea6c50147fbdb519611737ce7e62f_31bf3856ad364e35_6.3.9600.18259_none_7113e349dfde3939.manifest
File versionNot applicable
File size716
Date (UTC)04-Mar-2016
Time (UTC)20:18
PlatformNot applicable
File nameAmd64_0ca680779c3678d75fd19425a67ae81c_31bf3856ad364e35_6.3.9600.18259_none_c262c92aaa39723f.manifest
File versionNot applicable
File size718
Date (UTC)04-Mar-2016
Time (UTC)20:18
PlatformNot applicable
File nameAmd64_microsoft-windows-t..eduler-ciminterface_31bf3856ad364e35_6.3.9600.18259_none_7c31a518f6734d44.manifest
File versionNot applicable
File size11,372
Date (UTC)04-Mar-2016
Time (UTC)15:54
PlatformNot applicable
File nameUpdate.mum
File versionNot applicable
File size2,712
Date (UTC)04-Mar-2016
Time (UTC)20:18
PlatformNot applicable
File nameX86_microsoft-windows-t..eduler-ciminterface_31bf3856ad364e35_6.3.9600.18259_none_201309953e15dc0e.manifest
File versionNot applicable
File size11,368
Date (UTC)04-Mar-2016
Time (UTC)15:41
PlatformNot applicable
Properties

Article ID: 3103616 - Last Review: 05/10/2016 17:15:00 - Revision: 8.0

Windows Server 2012 R2 Datacenter, Windows Server 2012 R2 Standard, Windows Server 2012 R2 Essentials, Windows Server 2012 R2 Foundation, Windows 8.1 Enterprise, Windows 8.1 Pro, Windows 8.1, Windows RT 8.1, Windows Server 2012 Datacenter, Windows Server 2012 Standard, Windows Server 2012 Essentials, Windows Server 2012 Foundation

  • kbqfe kbsurveynew kbfix kbautohotfix kbhotfixserver kbexpertiseinter atdownload KB3103616
Feedback