Error message when you try to start a console-based application, such as Cmd.exe, on a Windows XP-based computer: "The application failed to initialize properly (0xc0000142)"

Article translations Article translations
Article ID: 950312 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

On a Windows XP-based computer, you may be unable to start any console-based applications. For example, when you try to start the Cmd.exe and Ping.exe applications, the applications may not start as expected. Additionally, you may receive an error message that resembles the following:
The application failed to initialize properly (0xc0000142).
The related symptoms include, but are not limited to, the following:
  • When you try to open the Properties box in the Cmd.exe application, Windows Explorer crashes.
  • When you use the Safe Mode with Command Prompt option to start the computer, the Command Prompt window does appear as expected.

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 this specific problem.

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, submit a request to 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:
http://support.microsoft.com/contactus/?ws=support
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 have Windows XP Service Pack 2 or Service Pack 3 installed.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other previously released hotfixes.

Registry information

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

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Windows XP with SP2, x86-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Winsrv.dll5.1.2600.3356292,86422-Apr-200818:00x86
Windows XP with SP3, x86-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Winsrv.dll5.1.2600.5585293,37622-Apr-200817:00x86

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, click the following article number to view the article in the Microsoft Knowledge Base:
896667 You may be unable to open any console-based applications on a Windows Server 2003-based computer
For more information, 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

Properties

Article ID: 950312 - Last Review: October 8, 2011 - Revision: 2.0
APPLIES TO
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
Keywords: 
kbautohotfix kbexpertiseadvanced kbfix kbqfe KB950312

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com