Unable to launch Cmd.exe or Command, need help


L

LongBow

Hello all,

Not sure if this is the correct group, but this is the only group I found
that seemed to be related to cmd. Here is my problem, when I go to lanch
either Cmd.exe or Command.com I get the same error and unable to bring up a
command windows. I get the following dialogs whenever I issue the command to
start a session from the StartMenu | Run.

Cmd.exe - Application Error
The application failed to initialize properply (0xc00000142). Click on OK to
terminated the application.


ntvdm.exe - Application Error
The application failed to initialize properply (0xc00000142). Click on OK to
terminated the application.


Trying to figure this out on my own, I installed Windbg along with the
Windows XP SP1 symbols, but it does seems to help me determine the problem.
Here is the log



Microsoft (R) Windows Debugger Version 6.1.0017.1
Copyright (c) Microsoft Corporation. All rights reserved.

CommandLine: C:\WINDOWS\system32\cmd.exe
Symbol search path is:
SRV*E:\Programming\Symbols*http://msdl.microsoft.com/download/sym
Executable search path is:
ModLoad: 4ad00000 4ad5e000 cmd.exe
ModLoad: 77f50000 77ff7000 ntdll.dll
ModLoad: 77e60000 77f46000 C:\WINDOWS\system32\kernel32.dll
(a60.91c): Unknown exception - code c0000142 (first chance)
(a60.91c): Unknown exception - code c0000142 (!!! second chance !!!)
eax=0012fc50 ebx=00000000 ecx=0012fc7c edx=7ffe0304 esi=7ffdf000 edi=c0000142
eip=77f966bc esp=0012fc50 ebp=0012fca0 iopl=0 nv up ei pl zr na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246
*** ERROR: Symbol file could not be found. Defaulted to export symbols for
ntdll.dll -
ntdll!RtlRaiseStatus+24:
77f966bc c9 leave


Here is the disassembly

77f96671 fc cld
77f96672 ff83ec208904 inc dword ptr [ebx+0x48920ec]
77f96678 24c7 and al,0xc7
77f9667a 44 inc esp
77f9667b 2404 and al,0x4
77f9667d 0100 add [eax],eax
77f9667f 0000 add [eax],al
77f96681 c744241000000000 mov dword ptr [esp+0x10],0x0
77f96689 8b4508 mov eax,[ebp+0x8]
77f9668c 89442408 mov [esp+0x8],eax
77f96690 8bc4 mov eax,esp
77f96692 50 push eax
77f96693 e848ffffff call ntdll!RtlRaiseException (77f965e0)
ntdll!RtlRaiseStatus:
77f96698 55 push ebp
77f96699 8bec mov ebp,esp
77f9669b 83ec50 sub esp,0x50
77f9669e 8b4508 mov eax,[ebp+0x8]
77f966a1 8365b800 and dword ptr [ebp-0x48],0x0
77f966a5 8365c000 and dword ptr [ebp-0x40],0x0
77f966a9 8945b0 mov [ebp-0x50],eax
77f966ac 8d45b0 lea eax,[ebp-0x50]
77f966af 50 push eax
77f966b0 c745b401000000 mov dword ptr [ebp-0x4c],0x1
77f966b7 e824ffffff call ntdll!RtlRaiseException (77f965e0)
77f966bc c9 leave <----- This Line is Highlighted <---------
77f966bd c20400 ret 0x4
ntdll!RtlUniform:
77f966c0 8b4c2404 mov ecx,[esp+0x4]
77f966c4 8b01 mov eax,[ecx]
77f966c6 69c0edffff7f imul eax,eax,0x7fffffed
77f966cc 56 push esi
77f966cd 05c3ffff7f add eax,0x7fffffc3
77f966d2 beffffff7f mov esi,0x7fffffff
77f966d7 33d2 xor edx,edx
77f966d9 f7f6 div esi
77f966db 5e pop esi
77f966dc 8bc2 mov eax,edx
77f966de 8901 mov [ecx],eax
77f966e0 c20400 ret 0x4
77f966e3 cc int 3
ntdll!RtlRandom:
77f966e4 8b4c2404 mov ecx,[esp+0x4]
77f966e8 8b01 mov eax,[ecx]
77f966ea 69c0edffff7f imul eax,eax,0x7fffffed
77f966f0 53 push ebx
77f966f1 56 push esi
77f966f2 57 push edi
77f966f3 bfc3ffff7f mov edi,0x7fffffc3
77f966f8 03c7 add eax,edi


Any help is greatly appreciated.

Mark
 
Ad

Advertisements

D

David Wang [Msft]

Something just seems broken on your machine; never seen that error.

I would start by checking if you've got Antivirus or "computer security"
software running -- some of those things will intentionally break your
system in ways like that in the name of security.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
Hello all,

Not sure if this is the correct group, but this is the only group I found
that seemed to be related to cmd. Here is my problem, when I go to lanch
either Cmd.exe or Command.com I get the same error and unable to bring up a
command windows. I get the following dialogs whenever I issue the command to
start a session from the StartMenu | Run.

Cmd.exe - Application Error
The application failed to initialize properply (0xc00000142). Click on OK to
terminated the application.


ntvdm.exe - Application Error
The application failed to initialize properply (0xc00000142). Click on OK to
terminated the application.


Trying to figure this out on my own, I installed Windbg along with the
Windows XP SP1 symbols, but it does seems to help me determine the problem.
Here is the log



Microsoft (R) Windows Debugger Version 6.1.0017.1
Copyright (c) Microsoft Corporation. All rights reserved.

CommandLine: C:\WINDOWS\system32\cmd.exe
Symbol search path is:
SRV*E:\Programming\Symbols*http://msdl.microsoft.com/download/sym
Executable search path is:
ModLoad: 4ad00000 4ad5e000 cmd.exe
ModLoad: 77f50000 77ff7000 ntdll.dll
ModLoad: 77e60000 77f46000 C:\WINDOWS\system32\kernel32.dll
(a60.91c): Unknown exception - code c0000142 (first chance)
(a60.91c): Unknown exception - code c0000142 (!!! second chance !!!)
eax=0012fc50 ebx=00000000 ecx=0012fc7c edx=7ffe0304 esi=7ffdf000
edi=c0000142
eip=77f966bc esp=0012fc50 ebp=0012fca0 iopl=0 nv up ei pl zr na po
nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00000246
*** ERROR: Symbol file could not be found. Defaulted to export symbols for
ntdll.dll -
ntdll!RtlRaiseStatus+24:
77f966bc c9 leave


Here is the disassembly

77f96671 fc cld
77f96672 ff83ec208904 inc dword ptr [ebx+0x48920ec]
77f96678 24c7 and al,0xc7
77f9667a 44 inc esp
77f9667b 2404 and al,0x4
77f9667d 0100 add [eax],eax
77f9667f 0000 add [eax],al
77f96681 c744241000000000 mov dword ptr [esp+0x10],0x0
77f96689 8b4508 mov eax,[ebp+0x8]
77f9668c 89442408 mov [esp+0x8],eax
77f96690 8bc4 mov eax,esp
77f96692 50 push eax
77f96693 e848ffffff call ntdll!RtlRaiseException (77f965e0)
ntdll!RtlRaiseStatus:
77f96698 55 push ebp
77f96699 8bec mov ebp,esp
77f9669b 83ec50 sub esp,0x50
77f9669e 8b4508 mov eax,[ebp+0x8]
77f966a1 8365b800 and dword ptr [ebp-0x48],0x0
77f966a5 8365c000 and dword ptr [ebp-0x40],0x0
77f966a9 8945b0 mov [ebp-0x50],eax
77f966ac 8d45b0 lea eax,[ebp-0x50]
77f966af 50 push eax
77f966b0 c745b401000000 mov dword ptr [ebp-0x4c],0x1
77f966b7 e824ffffff call ntdll!RtlRaiseException (77f965e0)
77f966bc c9 leave <----- This Line is Highlighted <---------
77f966bd c20400 ret 0x4
ntdll!RtlUniform:
77f966c0 8b4c2404 mov ecx,[esp+0x4]
77f966c4 8b01 mov eax,[ecx]
77f966c6 69c0edffff7f imul eax,eax,0x7fffffed
77f966cc 56 push esi
77f966cd 05c3ffff7f add eax,0x7fffffc3
77f966d2 beffffff7f mov esi,0x7fffffff
77f966d7 33d2 xor edx,edx
77f966d9 f7f6 div esi
77f966db 5e pop esi
77f966dc 8bc2 mov eax,edx
77f966de 8901 mov [ecx],eax
77f966e0 c20400 ret 0x4
77f966e3 cc int 3
ntdll!RtlRandom:
77f966e4 8b4c2404 mov ecx,[esp+0x4]
77f966e8 8b01 mov eax,[ecx]
77f966ea 69c0edffff7f imul eax,eax,0x7fffffed
77f966f0 53 push ebx
77f966f1 56 push esi
77f966f2 57 push edi
77f966f3 bfc3ffff7f mov edi,0x7fffffc3
77f966f8 03c7 add eax,edi


Any help is greatly appreciated.

Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top