How to add a new error code to Windows error code list? RRS feed

  • General discussion

  • How do I add an error code to Windows' error code list

    I know where the error list is, it is in:


    But Resource Hacker isn't able to find the file, It appears in CMD but not in Windows File Explorer or Resource Hacker, though it actually does exist

    I tried copying it using the following command:

    xcopy C:\Windows\System32\en-US\netmsg.dll.mui *PUT DIRECTORY HERE"

    But I want to edit it directly so Windows can see the new error code,

    Also, when I want to add a long error code (more than 999) Those entries actually exist, but Resource Hacker isn't able to see them in the MUI's message table.

    How do I add a new error code to Windows' error code list, and without affecting the system predefined error code?

    Wednesday, March 8, 2023 1:12 PM

All replies

  • To add a new error code to the list, you need to modify the netmsg.dll.mui file, which contains the error messages. However, as you have mentioned, modifying this file can be challenging, and not all resource editing tools may be able to open it.

    One possible solution is to use a resource editing tool that supports MUI files, such as Restorator or Resource Tuner. These tools allow you to modify resources in MUI files and add new error messages to the message table.

    To add a new error message, you need to create a new message string in the message table and assign it a unique message ID. You can then use this message ID to reference the new error message in your application.

    Friday, March 10, 2023 4:42 PM
  • As a software developer and a part of the Windows team, I've noticed that there's no error code for "I'm so sorry that I just deleted your entire hard drive."

    I think it's time we added this error to our list of codes. I think it would be very useful for people who have accidentally deleted their entire hard drive. The current options are "E0000001", which is kind of vague, or "E0000001: The file cannot be found", which is pretty clear but really doesn't seem like something you'd want to say out loud to your friend who just lost all their family photos and can't get them back.

    I think this new code could be "E0000242". It sounds friendly and helpful, but also keeps it short and easy to remember.
    Saturday, March 11, 2023 8:13 AM
  • I don't understand what is going on here
    Tuesday, March 14, 2023 5:56 PM
  • Here are the general steps that would need to be taken:

    1. Identify the specific error condition that needs to be added to the error code list and determine the appropriate error code value.

    2. Modify the appropriate Windows system files to include the new error code.

    3. Update any documentation or help files that reference the error code list to include the new error code.

    4. Test the new error code thoroughly to ensure that it is functioning as intended and does not introduce any new issues or bugs.

    5. Submit the changes to Microsoft for review and validation.

    6. Once approved, the changes will be incorporated into a future release of Windows.

    It's worth noting that adding a new error code to Windows is not a trivial task and should only be attempted by experienced software developers with knowledge of the Windows operating system architecture and development processes.

    Wednesday, March 15, 2023 6:28 AM
  • (Code 3)” The device driver may be corrupted, or you are runningout of memory; the system is running low on system memory and may need to free up or add more memory. If the computer has insufficient memory to run the device, you can close some applications to make memory available.
    Saturday, March 18, 2023 1:42 PM
  • Hi!

    How to create a new thread on this forum?

    Thank you!

    Saturday, March 18, 2023 3:06 PM
  • Cheap Assignment Writing
    Friday, March 24, 2023 6:54 AM
  • The file extension ".mui" indicates that netmsg.dll.mui is a Dynamic Link Library (DLL) file. The netmsg.dll.mui file is a Dynamic Link Library, which is effectively a "guide book" that holds data and instructions for use by other files, such as executable (EXE) files like sapisvr.exe.

    By allowing several applications (like Windows) to make use of the same netmsg.dll.mui file, developers hoped to reduce the amount of RAM needed to execute each programme.

    Friday, March 24, 2023 10:53 PM
  • To add a new error code to the Windows error code list, one would need to be a Microsoft developer with access to the Windows source code and development tools, and follow Microsoft's guidelines and procedures for modifying the Windows error code list, which may involve submitting a request or patch to Microsoft for review and inclusion in a future Windows update or release.

    Thursday, April 6, 2023 11:41 AM
  • Use Windows source code and development tools.
    Thursday, April 6, 2023 11:56 AM