Applies To.NET Framework 4.7 .NET Framework 4.6 .NET Framework 4.6.1 .NET Framework 4.6.2

View products that this article applies to.

Introduction

This Quality Rollup for Windows 7 Service Pack 1 (SP1) and Windows Server 2008 R2 SP1 includes cumulative reliability improvements in .NET Framework 4.6, 4.6.1, 4.6.2, and 4.7. Additionally for Windows Server 2008, this update includes cumulative reliability improvements in the .NET Framework 4.6. We recommend that you apply this update as part of your regular maintenance routines. Before you install this update, see the Prerequisites and Restart requirement sections.

Important

  • All updates for .NET Framework 4.6, 4.6.1, 4.6.2, and 4.7 require the d3dcompiler_47.dll update to be installed. We recommend that you install the included d3dcompiler_47.dll update before you apply this update. For more information about the d3dcompiler_47.dll update, see KB 4019990 for Windows 7 SP1 and Windows Server 2008 R2 SP1. Or, see KB 4019478 for Windows Server 2008.

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

Quality and reliability improvements

Note This update also contains cumulative updates that were released previously starting from October 11, 2016.

Area

Description of the improvements

WPF

After you install the September 12, 2017, .NET Security and Quality Rollups that apply to the .NET Framework 4.6, 4.6.1, 4.6.2, and 4.7, you may experience rendering issues in Windows Presentation Foundation (WPF) applications that are run in Windows Services.

When this issue occurs, applications that render WPF visuals onto a bitmap, for example by using RenderTargetBitmap, generate black or transparent images. This can occur if the application is running in the following situations:

  • In a noninteractive Window Station (for example, in a Windows service)

  • Running as a LocalSystem account

  • Running interactively in Session 0 by using tools such as psexec.exe

For more information about this issue, see the following article in the Microsoft Knowledge Base:

4043601 Rendering issues after the September 12, 2017, .NET Security and Quality Rollups are installed

WPF applications that run in Windows Services

This fix automatically addresses this issue and reinstates rendering when a WPF application is run in Windows Services.

If a WPF application is a long-running process that is hosted in Windows Services,  it might be susceptible to a performance bug in WPF that causes it to consume disproportionate amount of CPU cycles in relation to their actual workload. Frequently, these applications eventually crash. An example of a long-running process in one that is not primarily intended to use WPF rendering in short bursts only, such processes as rendering occasional bitmaps.

The only supported solution in WPF for fixing this problem includes disabling rendering activities when no valid display devices are found. Applications that run in Windows Services can opt in to this performance fix by setting the Switch.System.Windows.Media.ShouldRenderEvenWhenNoDisplayDevicesAreAvailable AppContext switch. To do this, use one of the following methods.

  • Method 1: Registry Set the registry value to force the value to true.

    Registry locations

    HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework\AppContext HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\.NETFramework\AppContext

    Value name

    Switch.System.Windows.Media. ShouldNotRenderInNonInteractiveWindowStation

    Type

    REG_SZ

    Possible values

    "true" "false"

    Default

    "false"

  • Method 2: App.config file

    Add the following in the <AppContextSwitchOverrides> element of the application configuration file (App.Config):

    <configuration>
         <runtime>
              <AppContextSwitchOverrides 
    value="Switch.Name.One=value1;Switch.Name.Two=value2;Switch.System.Windows.
    Media. ShouldNotRenderInNonInteractiveWindowStation=true" />
         </runtime>
    </configuration>

     

More information

The following articles provide information about supported .NET Framework versions for this Windows version. This includes the month and year of release, update replacement information, and help and support information for the update.

For Windows 7 SP1 and Windows Server 208 R2 SP1

4043766 October 2017 Security and Quality Rollup for .NET Framework 3.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, and 4.7 for Windows 7 SP1 and Windows Server 2008 R2 SP1 (KB 4043766)

For Windows Server 2008 SP2

4043768 October 2017 Security and Quality Rollup for .NET Framework 2.0 SP2, 4.5.2, and 4.6 updates for Windows Server 2008 SP2 (KB 4043768)

How to get this update

Windows Update

This update is available through Windows Update. When you turn on automatic updating, this update will be downloaded and installed automatically. For more information about how to get security updates automatically, see Windows Update: FAQ.

Microsoft Update Catalog

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

  • For Windows 7 SP1 and Windows Server 2008 R2 SP1, go here.

  • For Windows Server 2008, go here.

Windows Software Update Services (WSUS)

On your WSUS server, follow these steps:

  1. Click Start, click Administrative Tools, and then click Microsoft Windows Server Update Services 3.0.

  2. Expand ComputerName, and then click Action.

  3. Click Import Updates.

  4. WSUS opens a browser window in which you may be prompted to install an ActiveX control. You must install the ActiveX control to continue.

  5. After the ActiveX control is installed, you see the Microsoft Update Catalog screen. For Windows 7 SP1 and Windows Server 2008 R2 SP1, type 4043766. For Windows Server 2008 R2 SP1, type 4043768 in the Search box. Then, click Search.

  6. Locate the .NET Framework packages that match the operating systems, languages, and processors in your environment. Click Add to add them to your basket.

  7. After you select all the packages that you need, click View Basket.

  8. Click Import to import the packages to your WSUS server.

  9. To return to WSUS, click Close after the packages are imported.

The updates are now available for installation through WSUS.

Prerequisites

To apply this update, you must have the following installed:

  • For Windows 7 SP1 and Windows Server 2008 R2 SP1, .NET Framework 4.6, 4.6.1, 4.6.2 or 4.7.

  • For Windows Server 2008, .NET Framework 4.6.

Restart requirement

You must restart the computer after you apply this update if any affected files are being used. We recommend that you exit all .NET Framework-based applications before you apply this update.

Update replacement information

This update replaces updates 403503640321134035039 and 4032116.

File information

The English (United States) version of this update 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.

For all supported x86-based versions of systems

File name

File version

File size

Date

Time

Aspnet_perf.dll

4.7.2116.0

41,760

22-Sep-2017

11:36

aspnet_wp.exe

4.7.2116.0

46,176

22-Sep-2017

11:36

clr.dll

4.7.2116.0

7,221,880

22-Sep-2017

11:36

clrjit.dll

4.7.2116.0

522,880

22-Sep-2017

11:36

dfdll.dll

4.7.2116.0

159,872

22-Sep-2017

11:36

GlobalUserInterface.CompositeFont

116,922

22-Sep-2017

11:36

mscordacwks.dll

4.7.2116.0

1,341,080

22-Sep-2017

11:36

mscordbi.dll

4.7.2116.0

1,164,048

22-Sep-2017

11:36

mscoreei.dll

4.7.2116.0

511,632

22-Sep-2017

11:36

mscorlib.dll

4.7.2116.0

5,614,216

22-Sep-2017

11:36

msvcp120_clr0400.dll

12.0.52519.0

485,576

22-Sep-2017

11:36

msvcr120_clr0400.dll

12.0.52519.0

987,840

22-Sep-2017

11:36

VsVersion.dll

14.7.2116.0

19,088

22-Sep-2017

11:36

peverify.dll

4.7.2116.0

188,560

22-Sep-2017

11:36

PresentationCore.dll

4.7.2116.0

3,618,632

22-Sep-2017

11:36

PresentationFramework.dll

4.7.2116.0

6,200,160

22-Sep-2017

11:36

PresentationHost_v0400.dll

4.7.2116.0

196,424

22-Sep-2017

11:36

PresentationHost_v0400.dll.mui

4.7.2116.0

83,800

22-Sep-2017

11:36

PresentationNative_v0400.dll

4.7.2116.0

827,080

22-Sep-2017

11:36

ServiceMonikerSupport.dll

4.7.2116.0

29,376

22-Sep-2017

11:36

SMDiagnostics.dll

4.7.2116.0

73,376

22-Sep-2017

11:36

SOS.dll

4.7.2116.0

742,656

22-Sep-2017

11:36

System.Activities.dll

4.7.2116.0

1,532,600

22-Sep-2017

11:36

System.ComponentModel.DataAnnotations.dll

4.7.2116.0

125,368

22-Sep-2017

11:36

System.Core.dll

4.7.2116.0

1,380,632

22-Sep-2017

11:36

System.Data.Entity.dll

4.7.2116.0

4,034,232

22-Sep-2017

11:36

System.IdentityModel.dll

4.7.2116.0

1,087,824

22-Sep-2017

11:36

System.IdentityModel.Services.dll

4.7.2116.0

198,368

22-Sep-2017

11:36

System.Runtime.Serialization.dll

4.7.2116.0

1,052,912

22-Sep-2017

11:36

System.ServiceModel.Channels.dll

4.7.2116.0

157,920

22-Sep-2017

11:36

System.ServiceModel.Discovery.dll

4.7.2116.0

307,560

22-Sep-2017

11:36

System.ServiceModel.dll

4.7.2116.0

6,311,112

22-Sep-2017

11:36

System.ServiceModel.Internals.dll

4.7.2116.0

254,208

22-Sep-2017

11:36

System.ServiceModel.Routing.dll

4.7.2116.0

129,888

22-Sep-2017

11:36

System.ServiceModel.WasHosting.dll

4.7.2116.0

39,648

22-Sep-2017

11:36

System.Web.ApplicationServices.dll

4.7.2116.0

70,920

22-Sep-2017

11:36

System.Web.Extensions.dll

4.7.2116.0

1,849,544

22-Sep-2017

11:36

System.Workflow.Activities.dll

4.7.2116.0

1,050,456

22-Sep-2017

11:36

System.Workflow.ComponentModel.dll

4.7.2116.0

1,541,864

22-Sep-2017

11:36

System.Workflow.Runtime.dll

4.7.2116.0

499,392

22-Sep-2017

11:36

System.Runtime.Caching.dll

4.7.2116.0

109,032

22-Sep-2017

11:36

System.Data.dll

4.7.2116.0

3,391,128

22-Sep-2017

11:36

System.Data.SqlXml.dll

4.7.2116.0

732,616

22-Sep-2017

11:36

System.Deployment.dll

4.7.2116.0

845,496

22-Sep-2017

11:36

System.DirectoryServices.Protocols.dll

4.7.2116.0

201,504

22-Sep-2017

11:36

System.dll

4.7.2116.0

3,526,264

22-Sep-2017

11:36

System.Drawing.dll

4.7.2116.0

599,336

22-Sep-2017

11:36

System.Management.dll

4.7.2116.0

415,408

22-Sep-2017

11:36

System.Runtime.Remoting.dll

4.7.2116.0

347,352

22-Sep-2017

11:36

System.Security.dll

4.7.2116.0

315,696

22-Sep-2017

11:36

System.Transactions.dll

4.7.2116.0

307,384

22-Sep-2017

11:36

System.Web.dll

4.7.2116.0

5,405,848

22-Sep-2017

11:36

System.Windows.Controls.Ribbon.dll

4.7.2116.0

742,784

22-Sep-2017

11:36

System.Windows.Forms.dll

4.7.2116.0

5,181,128

22-Sep-2017

11:36

System.Xaml.dll

4.7.2116.0

641,176

22-Sep-2017

11:36

System.Xml.dll

4.7.2116.0

2,666,632

22-Sep-2017

11:36

webengine.dll

4.7.2116.0

24,720

22-Sep-2017

11:36

webengine4.dll

4.7.2116.0

550,032

22-Sep-2017

11:36

WindowsBase.dll

4.7.2116.0

1,283,000

22-Sep-2017

11:36

WMINet_Utils.dll

4.7.2116.0

136,352

22-Sep-2017

11:36

WorkflowServiceHostPerformanceCounters.dll

4.7.2116.0

89,352

22-Sep-2017

11:36

WPFFontCache_v0400.exe.mui

4.7.2116.0

19,144

22-Sep-2017

11:36

WPFFontCache_v0400.exe

4.7.2116.0

25,696

22-Sep-2017

11:36

wpfgfx_v0400.dll

4.7.2116.0

1,344,672

22-Sep-2017

11:36

Placeholder.dll

4.7.2116.0

24,728

22-Sep-2017

11:36

PenIMC2_v0400.dll

4.7.2116.0

82,080

22-Sep-2017

11:36

 

For all supported x64-based versions of systems

File name

File version

File size

Date

Time

Aspnet_perf.dll

4.7.2116.0

46,232

22-Sep-2017

11:50

Aspnet_perf.dll

4.7.2116.0

41,760

22-Sep-2017

11:36

aspnet_wp.exe

4.7.2116.0

50,784

22-Sep-2017

11:50

aspnet_wp.exe

4.7.2116.0

46,176

22-Sep-2017

11:36

clr.dll

4.7.2116.0

10,326,136

22-Sep-2017

11:50

clr.dll

4.7.2116.0

7,221,880

22-Sep-2017

11:36

clrjit.dll

4.7.2116.0

1,129,096

22-Sep-2017

11:50

clrjit.dll

4.7.2116.0

522,880

22-Sep-2017

11:36

compatjit.dll

4.7.2116.0

1,259,664

22-Sep-2017

11:50

dfdll.dll

4.7.2116.0

190,728

22-Sep-2017

11:50

dfdll.dll

4.7.2116.0

159,872

22-Sep-2017

11:36

GlobalUserInterface.CompositeFont

116,922

22-Sep-2017

11:36

mscordacwks.dll

4.7.2116.0

1,838,232

22-Sep-2017

11:50

mscordacwks.dll

4.7.2116.0

1,341,080

22-Sep-2017

11:36

mscordbi.dll

4.7.2116.0

1,618,576

22-Sep-2017

11:50

mscordbi.dll

4.7.2116.0

1,164,048

22-Sep-2017

11:36

mscoreei.dll

4.7.2116.0

635,152

22-Sep-2017

11:50

mscoreei.dll

4.7.2116.0

511,632

22-Sep-2017

11:36

mscorlib.dll

4.7.2116.0

5,401,744

22-Sep-2017

11:50

mscorlib.dll

4.7.2116.0

5,614,216

22-Sep-2017

11:36

msvcp120_clr0400.dll

12.0.52519.0

690,008

22-Sep-2017

11:51

msvcp120_clr0400.dll

12.0.52519.0

485,576

22-Sep-2017

11:36

msvcr120_clr0400.dll

12.0.52519.0

993,632

22-Sep-2017

11:51

msvcr120_clr0400.dll

12.0.52519.0

987,840

22-Sep-2017

11:36

VsVersion.dll

14.7.2116.0

19,088

22-Sep-2017

11:50

VsVersion.dll

14.7.2116.0

19,088

22-Sep-2017

11:36

peverify.dll

4.7.2116.0

260,240

22-Sep-2017

11:51

peverify.dll

4.7.2116.0

188,560

22-Sep-2017

11:36

PresentationCore.dll

4.7.2116.0

3,592,360

22-Sep-2017

11:50

PresentationCore.dll

4.7.2116.0

3,618,632

22-Sep-2017

11:36

PresentationFramework.dll

4.7.2116.0

6,200,160

22-Sep-2017

11:36

PresentationHost_v0400.dll

4.7.2116.0

256,712

22-Sep-2017

11:50

PresentationHost_v0400.dll.mui

4.7.2116.0

84,696

22-Sep-2017

11:50

PresentationHost_v0400.dll

4.7.2116.0

196,424

22-Sep-2017

11:36

PresentationHost_v0400.dll.mui

4.7.2116.0

83,800

22-Sep-2017

11:36

PresentationNative_v0400.dll

4.7.2116.0

1,109,712

22-Sep-2017

11:50

PresentationNative_v0400.dll

4.7.2116.0

827,080

22-Sep-2017

11:36

ServiceMonikerSupport.dll

4.7.2116.0

31,424

22-Sep-2017

11:51

ServiceMonikerSupport.dll

4.7.2116.0

29,376

22-Sep-2017

11:36

SMDiagnostics.dll

4.7.2116.0

73,376

22-Sep-2017

11:36

SOS.dll

4.7.2116.0

872,056

22-Sep-2017

11:50

SOS.dll

4.7.2116.0

742,656

22-Sep-2017

11:36

System.Activities.dll

4.7.2116.0

1,532,600

22-Sep-2017

11:36

System.ComponentModel.DataAnnotations.dll

4.7.2116.0

125,368

22-Sep-2017

11:36

System.Core.dll

4.7.2116.0

1,380,632

22-Sep-2017

11:36

System.Data.Entity.dll

4.7.2116.0

4,034,232

22-Sep-2017

11:36

System.IdentityModel.dll

4.7.2116.0

1,087,824

22-Sep-2017

11:36

System.IdentityModel.Services.dll

4.7.2116.0

198,368

22-Sep-2017

11:36

System.Runtime.Serialization.dll

4.7.2116.0

1,052,912

22-Sep-2017

11:36

System.ServiceModel.Channels.dll

4.7.2116.0

157,920

22-Sep-2017

11:36

System.ServiceModel.Discovery.dll

4.7.2116.0

307,560

22-Sep-2017

11:36

System.ServiceModel.dll

4.7.2116.0

6,311,112

22-Sep-2017

11:36

System.ServiceModel.Internals.dll

4.7.2116.0

254,208

22-Sep-2017

11:36

System.ServiceModel.Routing.dll

4.7.2116.0

129,888

22-Sep-2017

11:36

System.ServiceModel.WasHosting.dll

4.7.2116.0

39,648

22-Sep-2017

11:36

System.Web.ApplicationServices.dll

4.7.2116.0

70,920

22-Sep-2017

11:36

System.Web.Extensions.dll

4.7.2116.0

1,849,544

22-Sep-2017

11:36

System.Workflow.Activities.dll

4.7.2116.0

1,050,456

22-Sep-2017

11:36

System.Workflow.ComponentModel.dll

4.7.2116.0

1,541,864

22-Sep-2017

11:36

System.Workflow.Runtime.dll

4.7.2116.0

499,392

22-Sep-2017

11:36

System.Runtime.Caching.dll

4.7.2116.0

109,032

22-Sep-2017

11:36

System.Data.dll

4.7.2116.0

3,455,128

22-Sep-2017

11:50

System.Data.dll

4.7.2116.0

3,391,128

22-Sep-2017

11:36

System.Data.SqlXml.dll

4.7.2116.0

732,616

22-Sep-2017

11:36

System.Deployment.dll

4.7.2116.0

845,496

22-Sep-2017

11:36

System.DirectoryServices.Protocols.dll

4.7.2116.0

201,504

22-Sep-2017

11:36

System.dll

4.7.2116.0

3,526,264

22-Sep-2017

11:36

System.Drawing.dll

4.7.2116.0

599,336

22-Sep-2017

11:36

System.Management.dll

4.7.2116.0

415,408

22-Sep-2017

11:36

System.Runtime.Remoting.dll

4.7.2116.0

347,352

22-Sep-2017

11:36

System.Security.dll

4.7.2116.0

315,696

22-Sep-2017

11:36

System.Transactions.dll

4.7.2116.0

310,968

22-Sep-2017

11:50

System.Transactions.dll

4.7.2116.0

307,384

22-Sep-2017

11:36

System.Web.dll

4.7.2116.0

5,388,952

22-Sep-2017

11:51

System.Web.dll

4.7.2116.0

5,405,848

22-Sep-2017

11:36

System.Windows.Controls.Ribbon.dll

4.7.2116.0

742,784

22-Sep-2017

11:36

System.Windows.Forms.dll

4.7.2116.0

5,181,128

22-Sep-2017

11:36

System.Xaml.dll

4.7.2116.0

641,176

22-Sep-2017

11:36

System.XML.dll

4.7.2116.0

2,666,632

22-Sep-2017

11:36

webengine.dll

4.7.2116.0

26,256

22-Sep-2017

11:51

webengine.dll

4.7.2116.0

24,720

22-Sep-2017

11:36

webengine4.dll

4.7.2116.0

667,800

22-Sep-2017

11:51

webengine4.dll

4.7.2116.0

550,032

22-Sep-2017

11:36

WindowsBase.dll

4.7.2116.0

1,283,000

22-Sep-2017

11:36

WMINet_Utils.dll

4.7.2116.0

188,064

22-Sep-2017

11:50

WMINet_Utils.dll

4.7.2116.0

136,352

22-Sep-2017

11:36

WorkflowServiceHostPerformanceCounters.dll

4.7.2116.0

101,128

22-Sep-2017

11:50

WorkflowServiceHostPerformanceCounters.dll

4.7.2116.0

89,352

22-Sep-2017

11:36

WPFFontCache_v0400.exe.mui

4.7.2116.0

19,144

22-Sep-2017

13:24

WPFFontCache_v0400.exe.mui

4.7.2116.0

19,144

22-Sep-2017

11:36

WPFFontCache_v0400.exe

4.7.2116.0

26,720

22-Sep-2017

13:24

WPFFontCache_v0400.exe

4.7.2116.0

25,696

22-Sep-2017

11:36

wpfgfx_v0400.dll

4.7.2116.0

1,765,024

22-Sep-2017

11:50

wpfgfx_v0400.dll

4.7.2116.0

1,344,672

22-Sep-2017

11:36

Placeholder.dll

4.7.2116.0

24,864

22-Sep-2017

11:50

Placeholder.dll

4.7.2116.0

24,728

22-Sep-2017

11:36

PenIMC2_v0400.dll

4.7.2116.0

98,976

22-Sep-2017

11:50

PenIMC2_v0400.dll

4.7.2116.0

82,080

22-Sep-2017

11:36

 

How to obtain help and support for this update

Applies to

This article applies to the following:

 

  • Microsoft .NET Framework 4.6, 4.6.1, 4.6.2, and 4.7 when used with:

    • Windows Server 2008 R2 Service Pack 1

    • Windows 7 Service Pack 1

  • Microsoft .NET Framework 4.6 when used with:

    • Windows Server 2008

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.