hidden hit counter
Help!

can't open command prompt (cmd.exe)

 
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Help & Support RSS
Next:  MS Config - help 5  
Author Message
jo
External


Since: Jul 04, 2006
Posts: 7



PostPosted: Tue Dec 05, 2006 10:32 pm    Post subject: can't open command prompt (cmd.exe)
Archived from groups: microsoft>public>windowsxp>help_and_support (more info?)

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?
Back to top
Wesley Vogel
External


Since: Feb 23, 2004
Posts: 17940



PostPosted: Wed Dec 06, 2006 3:50 am    Post subject: Re: can't open command prompt (cmd.exe) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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@microsoft.com,
jo 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?
Back to top
Ron Martell2
External


Since: Aug 30, 2004
Posts: 4325



PostPosted: Wed Dec 06, 2006 10:08 am    Post subject: Re: can't open command prompt (cmd.exe) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

jo wrote:

>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?

What happens if you try to launch COMMAND.COM instead?

Note that under command.com you will not have all of the functionality
or flexibility that you have with CMD but it should work.

Good luck

Ron Martell Duncan B.C. Canada
--
Microsoft MVP (1997 - 2006)
On-Line Help Computer Service
http://onlinehelp.bc.ca
Syberfix Remote Computer Repair

"Anyone who thinks that they are too small to make a difference
has never been in bed with a mosquito."
Back to top
jo
External


Since: Jul 04, 2006
Posts: 7



PostPosted: Wed Dec 06, 2006 10:08 am    Post subject: Re: can't open command prompt (cmd.exe) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

OK, I scanned my laptop PC using 2 different online virus scanners
(Symantec and Trend Micro) but found no virus.

I brought this PC home and connected to my cable modem.
It worked just fine. I'll try to command.com tomorrow after
I get to work. Thank you for your response.

Aside from cmd.exe issue, I'm experiencing problem with
antivirus program updating. It's trend micro office scan
and it uses Upgrade.exe to update virus engines.
I'm getting exactly same error message as cmd.exe.
It updates normally when I connect to my home network
but once I get to work, it'll start giving me errors.

I still think we have incompetent IT department but then
I'm the only one who seems to be complaining.

>
> What happens if you try to launch COMMAND.COM instead?
>
> Note that under command.com you will not have all of the functionality
> or flexibility that you have with CMD but it should work.
>
Back to top
jo
External


Since: Jul 04, 2006
Posts: 7



PostPosted: Thu Dec 07, 2006 3:01 pm    Post subject: Re: can't open command prompt (cmd.exe) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

command.com doesn't work when I'm at work.
It works just fine when I'm at home connected
to the internet via cable modem.



"Wesley Vogel" wrote:

> 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@microsoft.com,
> jo 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?
>
>
Back to top
Wesley Vogel
External


Since: Feb 23, 2004
Posts: 17940



PostPosted: Thu Dec 07, 2006 7:33 pm    Post subject: Re: can't open command prompt (cmd.exe) [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ask your IT people.

There are Group Policies that could be in force.

Just a couple of examples...

Prevent access to the command prompt
http://www.boyce.us/gp/gpcontent.asp?ID=495

Prevent Sharing Command Prompts
http://www.boyce.us/gp/gpcontent.asp?ID=784

In XP, command.com needs cmd.exe to run. All commands typed into
command.com actually execute in cmd.exe Ntvdm.exe also runs when
command.com is open. In fact when command.com is running if you open Task
Manager to the Applications tab, right click the MS-DOS prompt and select Go
To Process; the Processes tab opens with ntvdm.exe highlighted.

But, if access to cmd.exe is prohibited by a Group Policy some people can
use command.com to get around it sometimes. I do not know all of the
details. SWAG: direct access to cmd.exe is prohibited, but command.com's
access to cmd.exe is not.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:8C299B38-0A14-4C85-A858-375136B6BAD2@microsoft.com,
jo hunted and pecked:
> command.com doesn't work when I'm at work.
> It works just fine when I'm at home connected
> to the internet via cable modem.
>
>
>
> "Wesley Vogel" wrote:
>
>> 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@microsoft.com,
>> jo 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?
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Help & Support All times are: Eastern Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum