Re: can't open command prompt (cmd.exe)



Client, service, and program incompatibilities that may occur when you
modify security settings and user rights assignments
http://support.microsoft.com/kb/823659

For the above link, if you get the page cannot be displayed, blah blah, hit
Refresh.

Do you have a boatload of programs running at the time? More than 50, say?

More than one language? Large fonts? Large layout size? Full Screen
instead of Window?

Right click cmd.exe or your shortcut if you use one, select Properties and
check all of the settings under all of the tabs.

C:\WINDOWS\system32\cmd.exe

Open command.com...
Start | Run | Type: command | Click OK |
Type: chcp hit Enter.

Do you get this?

Active code page: 437

Type: exit and hit Enter to close command.com.

For U.S. English versions of Windows NT the default is 437 codepage, U.S.
English.

Active code page should be the same for both command.com and cmd.exe.

Check this registry key and entries.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage]
"ACP"="1252"
"OEMCP"="437"
"MACCP"="10000"
"OEMHAL"="vgaoem.fon"

ACP is the default ANSI code page; OEMCP is the default OEM code page; and
MACCP is the default Macintosh code page.

The OEMCP value controls to which OEM code page to translate ANSI, and the
OEMHAL value controls the display of extended characters at a command
prompt.

ANSI Codepage ID 1252 is used for all Western European languages, including
English.

The default OEM code page in Windows NT is the DOS 437 code page.

Event ID: 26
Application popup: cmd.exe
Application Error : The application failed to initialize properly
(0xc0000142). Click on OK to terminate the application.
Unexpected behavior occurs when you run many processes on a computer that is
running SQL Server
http://support.microsoft.com/kb/824422

You may be unable to open any console-based applications on a Windows Server
2003-based computer
http://support.microsoft.com/kb/896667

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:BCA7CBD3-F8A5-4839-BA5D-917CB642D5F5@xxxxxxxxxxxxx,
jo <jo@xxxxxxxxxxxxxxxxxxxxxxxxx> hunted and pecked:
When I try to open the command prompt (cmd.exe), I get
following error. I'm using Windows XP with all the
updates installed. My PC is also protected by the
antivirus program. I've checked for spywares,
and malwares, but didn't find any. I'm
currently checking for virus (using online
scanner) to make sure I have no virus on my PC.

"cmd.exe - Application Error The application failed to initialize
properly (0xc0000142). Click on OK to terminate the application."

I'm on corporate LAN as part of the domain but
I was told that I have admin priviledges.

Can anyone help me resolve this issue?

.



Relevant Pages

  • Re: DOS Box Keyboard problem
    ... The KEYB command examined all prepared code pages, and has found that at least one code page is incompatible for your screen console device. ... The OEMCP value controls to which OEM code page to translate ANSI, ... The default OEM code page in Windows NT is the DOS 437 code page. ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: cant open command prompt (cmd.exe)
    ... Type: chcp hit Enter. ... The OEMCP value controls to which OEM code page to translate ANSI, ... You may be unable to open any console-based applications on a Windows Server ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Convert UTF-8 -> ANSI not via UTF-16?
    ... in the Windows world it is not ambigous at all. ... ANSI = the default system code page. ... Can be changed by changing the default system locale ("Language for non- ... DOS used the OEM code page (same as the current Windows console ...
    (microsoft.public.vc.mfc)
  • Re: Characters allowed in short filenames
    ... I thought I read that the default OEM code ... US Windows would be 437, ... As far as I can tell, code page 437 doesn't contain a ゜ character. ... page is 850 then we are halfway towards allowing a short filename to ...
    (microsoft.public.development.device.drivers)
  • Re: codepage
    ... 437 codepage is United States. ... The OEMCP value controls to which OEM code page to translate ANSI, ... To verify the client OEM code page on Windows NT, ...
    (microsoft.public.win2000.cmdprompt.admin)

Loading