Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

"The application was unable to start correctly" error when you use SetConsoleActiveScreenBuffer to make a new buffer active


View products that this article applies to.

Symptoms

Consider the following scenario:
  • On a computer that's running Windows 8.1 or Windows Server 2012 R2, you create a new console screen buffer by using the FILE_SHARE_WRITE option.
  • You use the SetConsoleActiveScreenBuffer API to set this screen as active.

In this scenario, any subsequent process creation attempts fail, and you receive the following error message:

The application was unable to start correctly (0xc0000142).

Note This problem occurs even if the standard output still points to the original screen buffer.

↑ Back to the top


Resolution

Hotfix information

A supported hotfix is available from Microsoft Support. 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, go to the following Microsoft website: 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 Windows 8.1 or Windows Server 2012 R2.

Restart requirement

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

Hotfix replacement information

This hotfix does not replace any previously released hotfix.

↑ Back to the top


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 8.1 and Windows Server 2012 R2 file information and notes

Important Windows 8.1 and Windows Server 2012 R2 hotfixes are included in the same packages. However, only "Windows 8.1" 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 8.1" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
  • 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.17 xxxWindows 8.1 and Windows Server 2012 R2RTMGDR
  • 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 8.1 and Windows Server 2012 R2" section. MUM 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 8.1
File nameFile versionFile sizeDateTimePlatform
Conhost.exe6.3.9600.17083291,32827-Mar-201403:23x86
For all supported x64-based versions of Windows 8.1 and of Windows Server 2012 R2
File nameFile versionFile sizeDateTimePlatform
Conhost.exe6.3.9600.17083356,86427-Mar-201403:52x64
For all supported ARM-based versions of Windows 8.1
File nameFile versionFile sizeDateTimePlatform
Conhost.exe6.3.9600.17083268,80027-Mar-201402:41Not Applicable

Additional file information

Additional file information for Windows 8.1 and for Windows Server 2012 R2

Additional files for all supported x86-based versions of Windows 8.1
File namePackage_1_for_kb2956339~31bf3856ad364e35~x86~~6.3.1.0.mum
File versionNot Applicable
File size1,815
Date (UTC)30-Mar-2014
Time (UTC)20:44
PlatformNot Applicable
File namePackage_2_for_kb2956339~31bf3856ad364e35~x86~~6.3.1.0.mum
File versionNot Applicable
File size1,829
Date (UTC)30-Mar-2014
Time (UTC)20:44
PlatformNot Applicable
File namePackage_for_kb2956339_rtm_gm~31bf3856ad364e35~x86~~6.3.1.0.mum
File versionNot Applicable
File size1,681
Date (UTC)30-Mar-2014
Time (UTC)20:44
PlatformNot Applicable
File namePackage_for_kb2956339_rtm~31bf3856ad364e35~x86~~6.3.1.0.mum
File versionNot Applicable
File size1,679
Date (UTC)30-Mar-2014
Time (UTC)20:44
PlatformNot Applicable
File nameX86_1862a517a23f28f6b38352cf76c04c93_31bf3856ad364e35_6.3.9600.17084_none_51c09f476d4e263f.manifest
File versionNot Applicable
File size699
Date (UTC)30-Mar-2014
Time (UTC)20:44
PlatformNot Applicable
File nameX86_microsoft-windows-consolehost_31bf3856ad364e35_6.3.9600.17084_none_08fb6f5e1db37d1d.manifest
File versionNot Applicable
File size2,430
Date (UTC)28-Mar-2014
Time (UTC)14:13
PlatformNot Applicable
Additional files for all supported x64-based versions of Windows 8.1 and of Windows Server 2012 R2
File nameAmd64_ad60826052df596837601c1300bc1312_31bf3856ad364e35_6.3.9600.17084_none_2421a5a6059374e1.manifest
File versionNot Applicable
File size703
Date (UTC)30-Mar-2014
Time (UTC)20:44
PlatformNot Applicable
File nameAmd64_microsoft-windows-consolehost_31bf3856ad364e35_6.3.9600.17084_none_651a0ae1d610ee53.manifest
File versionNot Applicable
File size2,434
Date (UTC)29-Mar-2014
Time (UTC)02:54
PlatformNot Applicable
File namePackage_1_for_kb2956339~31bf3856ad364e35~amd64~~6.3.1.0.mum
File versionNot Applicable
File size1,825
Date (UTC)30-Mar-2014
Time (UTC)20:44
PlatformNot Applicable
File namePackage_2_for_kb2956339~31bf3856ad364e35~amd64~~6.3.1.0.mum
File versionNot Applicable
File size2,286
Date (UTC)30-Mar-2014
Time (UTC)20:44
PlatformNot Applicable
File namePackage_for_kb2956339_rtm_gm~31bf3856ad364e35~amd64~~6.3.1.0.mum
File versionNot Applicable
File size1,691
Date (UTC)30-Mar-2014
Time (UTC)20:44
PlatformNot Applicable
File namePackage_for_kb2956339_rtm~31bf3856ad364e35~amd64~~6.3.1.0.mum
File versionNot Applicable
File size2,136
Date (UTC)30-Mar-2014
Time (UTC)20:44
PlatformNot Applicable
Additional files for all supported ARM-based versions of Windows 8.1
File nameArm_cf534fa4146630df8dd70c13ffbf35ab_31bf3856ad364e35_6.3.9600.17084_none_e7bcde35084c8130.manifest
File versionNot Applicable
File size699
Date (UTC)30-Mar-2014
Time (UTC)20:44
PlatformNot Applicable
File nameArm_microsoft-windows-consolehost_31bf3856ad364e35_6.3.9600.17084_none_08fde1b61db09be3.manifest
File versionNot Applicable
File size2,430
Date (UTC)28-Mar-2014
Time (UTC)09:07
PlatformNot Applicable
File namePackage_1_for_kb2956339~31bf3856ad364e35~arm~~6.3.1.0.mum
File versionNot Applicable
File size1,815
Date (UTC)30-Mar-2014
Time (UTC)20:44
PlatformNot Applicable
File namePackage_2_for_kb2956339~31bf3856ad364e35~arm~~6.3.1.0.mum
File versionNot Applicable
File size1,829
Date (UTC)30-Mar-2014
Time (UTC)20:44
PlatformNot Applicable
File namePackage_for_kb2956339_rtm_gm~31bf3856ad364e35~arm~~6.3.1.0.mum
File versionNot Applicable
File size1,681
Date (UTC)30-Mar-2014
Time (UTC)20:44
PlatformNot Applicable
File namePackage_for_kb2956339_rtm~31bf3856ad364e35~arm~~6.3.1.0.mum
File versionNot Applicable
File size1,679
Date (UTC)30-Mar-2014
Time (UTC)20:44
PlatformNot Applicable

↑ Back to the top


Status

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

↑ Back to the top


References

Learn about the terminology that Microsoft uses to describe software updates.

↑ Back to the top


Keywords: kbautohotfix, kbqfe, kbhotfixserver, kbfix, kbexpertiseinter, kbsurveynew, kbbug, kb

↑ Back to the top

Article Info
Article ID : 2956339
Revision : 1
Created on : 1/7/2017
Published on : 5/14/2014
Exists online : False
Views : 239