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

See the products that this article applies to.

Symptoms

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 experience rendering issues in Windows Presentation Foundation (WPF) applications that use WPF types in a Windows service.

When these issues occur, applications that use a WPF element for rendering generate a black image. This occurs if the application is running in the following situations:

  • In a non-interactive Window Station (for example, within Windows Services)

  • Running as a LocalSystem account

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

Resolution

To resolve these issues, apply the following update appropriate for your system:

  • 4043767 October 2017 Security and Quality Rollup for .NET Framework 3.5, 4.5.2, 4.6, 4.6.1, 4.6.2, and 4.7 updates for Windows 8.1, Windows RT 8.1 and Windows Server 2012 R2 (KB 4043767)

  • 4043769 October 2017 Security and Quality Rollup for .NET Framework 3.5, 4.5.2, 4.6, 4.6.1, 4.6.2, and 4.7 updates for Windows Server 2012 (KB 4043769)

  • 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)

  • 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)

Workaround

To work around this problem, temporarily remove the September 12, 2017, Security and Quality Rollup update, and then install the corresponding September 12, 2017, Security-Only update to make sure that systems are secured against the latest vulnerabilities.

The Corresponding Security-Only updates are the following:

4040956 Security Only update for the .NET Framework 4.6, 4.6.1, 4.6.2, and 4.7 for Windows 8.1, Windows RT 8.1 and Windows Server 2012 R2: September 12, 2017

4040955 Security Only update for the .NET Framework 4.6, 4.6.1, 4.6.2, and 4.7, for Windows Server 2012: September 12, 2017

4040957 Security Only update for the .NET Framework 4.6, 4.6.1, 4.6.2, and 4.7 for Windows 7 SP1 and Windows Server 2008 R2 SP1 and for the .NET Framework 4.6 for Windows Server 2008 SP2: September 12, 2017

More Information

We recommend that you do not use WPF types in a Windows service.

For more information about how to use WPF for application development, see the following Microsoft Learn article:

Application Development

References

4040972 Security and Quality Rollup for the .NET Framework 4.6, 4.6.1, 4.6.2 and 4.7 for Windows 8.1, Windows RT 8.1 and Windows Server 2012 R2: September 12, 2017

4040971 Security and Quality Rollup for the .NET Framework 4.6, 4.6.1, 4.6.2, and 4.7 for Windows Server 2012: September 12, 2017

4040973 Security and Quality Rollup for the .NET Framework 4.6, 4.6.1, 4.6.2, and 4.7 for Windows 7 SP1 and Windows Server 2008 R2 SP1 and for the .NET Framework 4.6 for Windows Server 2008 SP2: September 12, 2017

Applies to

This article applies to the following:

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

    • Windows 8.1

    • Windows RT 8.1

    • Windows Server 2012 R2

    • Windows Server 2012

    • Windows 7 SP1

    • Windows Server 2008 R2 SP1

  • The .NET Framework 4.6 when used with:  

    • Windows Server 2008 SP2

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.