Dump Error Message Tool (Error32.exe)

Use the Dump Error Message tool to display the text of a message for a specified Windows NT error code generated by Win32 subsystems, drivers, or services. For example, if you receive an error message that references a specific error code, you can use this tool to retrieve the text for the message to help troubleshoot the error.

If an application or event log message dynamic-link library (DLL) is not specified, the message text is obtained from the system message table.

Dump Error Message Runs On

Processors: i386, Alpha
Operating systems: Windows NT 4.0

Files Required for Dump Error Message

Error32.exe

Dump Error Message Syntax

error32 code [:code] [source_name | message_DLL] [insertion_string[...]] [*]

code
Specifies either a decimal error code for a Windows NT error or an event code for an application or system source, such as SMS. The error code is assumed to be a Win32 error unless source_name or message_DLL is specified.
:code
Specifies another code to form a range — for example, 3:11 specifies codes 3 through 11, inclusive.
source_name
Specifies an application or system name registered for the Windows NT event log. You cannot use this option with message_DLL.
message_DLL
Specifies a full or partial path to a Windows NT event log message DLL file (such as Netmsg.dll). You cannot use this parameter with source_name.
insertion_string
Specifies one or more strings to be inserted into the displayed message.
*
Displays messages for all matching languages and matching severities.

Using Dump Error Message

The following command returns error code 2 message text, which is obtained from the system message table:

error32 2The system cannot find the file specified.

The following command returns error code 5 message text:

error32 5Access is denied.