Face it-customizing an error message in Windows is cool, whether you're an application programmer or just someone who wants to prank their co-worker. It doesn't have to be hard, either. You don't need to download any tricky software or tinker with system components and risk an actual error. If you want to create a Windows error message, just follow these simple steps.

Steps

  1. To open Notepad, head to your start menu, click All Programs, click Accessories, and then click Notepad.
  2. Notepad should look like this.
    • x =msgbox("Message",0+00,"Title")

    Advertisement
  3. Refer to the bullets below:
    • Replace Message with what you want the error message to say. Be sure to enter the message between the quotes, without deleting them. The specified area should look like this, with your message in place of Hello Wikihow.
    • Replace Title with what you want the title of the error message to say. Be sure to enter the title between the quotes, without deleting them. The specified area should look like this, with your title in place of Greeting.
    • Replace 0+00 in Notepad with a code under the Codes section of this article. (See Codes) What icons and buttons the codes will add to the error message is described there. Do not type the description into Notepad along with the code. The specified area should look like this, with your chosen code instead of 1+16.
  4. At the top of Notepad, click File and then Save As. Save the file name as yourname.vbs with any name that you want in place of yourname. Set Save as Type to Any.
  5. Advertisement

Community Q&A

Search
Add New Question
  • Question
    What are operating systems (OS) that will work for this error message?
    Samuelcregan698
    Community Answer
    All operating systems Windows XP+ will work with a custom error message.
  • Question
    How do I make each button do a different thing?
    GDGamer100
    Community Answer
    Don't think so. The buttons do nothing but proceed to the next error if another line of code (which contains another error message).
  • Question
    How can I make the error message respond to me depending if I pressed "yes" or "no"?
    GDGamer100
    Community Answer
    No, this is a friendly script that will not cause any special things, so its best to have only 1 option.
See more answers
Ask a Question

      Advertisement

      Codes

      • 0+00 makes an OK message
      • 1+16 makes an OK/Cancel message with an X icon
      • 2+16 makes an Abort/Retry/Ignore message with an X icon
      • 3+16 makes a Yes/No/Cancel message with an X icon
      • 4+16 makes a Yes/No message with an X icon
      • 5+16 makes a Retry/Cancel with an X icon
      • 1+32 makes an OK/Cancel message with a ? icon
      • 2+32 makes an Abort/Retry/Ignore message with a ? icon
      • 3+32 makes a Yes/No/Cancel message with a ? icon
      • 4+32 makes a Yes/No message with a ? icon
      • 5+32 makes a Retry/Cancel message with a ? icon
      • 1+48 makes an OK/Cancel message with a Warning symbol
      • 2+48 makes an Abort/Retry/Ignore message with a Warning symbol
      • 3+48 makes a Yes/No/Cancel message with a Warning symbol
      • 4+48 makes a Yes/No message with a Warning symbol
      • 5+48 makes a Retry/Cancel with a Warning symbol
      • 1+64 makes an OK/Cancel message with an i icon
      • 2+64 makes an Abort/Retry/Ignore message with an i icon
      • 3+64 makes a Yes/No/Cancel message with an i icon
      • 4+64 makes a Yes/No message with an i icon
      • 5+64 makes a Retry/Cancel message with an i icon
      • 16 makes an OK message with an X icon
      • 32 makes an OK message with a ? icon
      • 48 makes an OK message with a Warning symbol
      • 64 makes an OK message with an i icon


      About this article

      Thanks to all authors for creating a page that has been read 30,857 times.

      Is this article up to date?

      Advertisement