Resolved: The system cannot find message text for message …

2012/11/27
By
Modified: 2012/11/26

What a pleasure to resolve a long standing problem.   And not by an accident.   No.  But by applying a heavy-duty problem-solving pressure tactic.  This is gold, Jerry, gold!  Can I use it?

At some point you are so fed up with a problem, you are ready to tackle almost anything.

Ever since Vista and Windows 2008 Server, if you rename cmd.exe for security reasons, you wouldn't be able to see any messages in a Command Prompt, and what is even worse, you wouldn't see any error messages.

Instead all you see is something like this:


The system cannot find message text for message number 0x2350 in the message file for Application.


The system cannot find message text for message number 0x8 in the message file for System.

The solution is very simple.  Let's say that your new renamed CMD name is YourCMD.exe.  To get the messages in Command Prompt back, navigate to %WinDir%\System32\en-US directory and copy file cmd.exe.mui. Name a new file YourCmd.exe.mui.

That is it.  Now you got your messages and errors back.

The problem was that starting from Vista all the text messages are compiled into a separate file, and system would search for a message file with your new CMD name and wouldn't be able to find it.

To make your custom Command Prompt shortcut with Run as administrator option checked to open at C:\, you need to use this command:


%ComSpec% /k cd C:\

To point your %ComSpec% to your new custom CMD you need to run this registry command:


REG ADD "HKLM\System\CurrentControlSet\Control\Session Manager\Environment" /v ComSpec /t REG_EXPAND_SZ /d ^%SystemRoot^%\system32\YourCMD.exe /f

RE:
%WinDir%\System32\en-US\ cmd.exe.mui
%WinDir%\SysWOW64\en-US\cmd.exe.mui

Tags: , , , ,


2 Responses to Resolved: The system cannot find message text for message …

  1. 3nriched on 2012/07/29 at 16:40

    I had this same problem but it was like x10, I would get several of these errors everytime I entered anything, but I never changed he name of my cmd.exe. After trying your steps, I noticed that the cmd.exe I was using was located on the desktop, so I went straight to the real cmd.exe in windows sub directory and it worked fine. It was almost like the older copied version stopped working or timed out? I don’t know but I just made a new shortcut to desktop and it works fine now. :p

  2. Jerry on 2012/06/17 at 14:31

    Thank you! Thank you! Thank you! and Thank you! It was a frustrating problem that is now solved!

Add Your Comment Ваш Комментарий