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:
  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
    Can I make an option unclickable and greyed out?
    GDGamer100
    Community Answer
    Probably not. Typically buttons don't do anything at all except proceed to the next line of code.
  • Question
    How do you make it do something when you press "OK" and then quit when you press "Cancel"?
    GDGamer100
    Community Answer
    Think about it: it's a harmless prank that will not do anything. It'll run the next line of code if there is any.
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 29,976 times.

      Is this article up to date?

      Advertisement