How to Make a Fake Error Message in Windows
Open the Run dialog., Open Notepad., Copy and paste the following code into Notepad., Customize the button(s) of your error message., Customize the icon of your error message., Customize the title of your error message., Customize the contents of...
Step-by-Step Guide
-
Step 1: Open the Run dialog.
Press ⊞ Win+R on your keyboard. -
Step 2: Open Notepad.
Type notepad into the Run dialog and click OK. , Notepad should look like this. x=msgbox("Your Message Here"
Button+Icon, "Your Title Here") , Replace Button in the code you pasted into Notepad with one of the following: 0
- OK 1
- OK and Cancel 2
- Abort, Retry and Ignore 3
- Yes, No and Cancel 4
- Yes and No 5
- Retry and Cancel , Replace Icon in the code that you pasted into Notepad with one of the following: 0
- No Icon 16
- Critical Icon (a.k.a. "X" icon) 32
- Question Icon (a.k.a. "?" icon) 48
- Warning Icon (a.k.a. "!" icon) 64
- Info Icon (a.k.a. "i" icon) , Replace Your Title Here in the code you pasted into Notepad with what you want the title of the error message to be. , Replace Your Message Here in the code you pasted into Notepad with what you want the error message to say. , Press Ctrl+S on your keyboard. ,,,, Click Save. , Double-click the file that was created. -
Step 3: Copy and paste the following code into Notepad.
-
Step 4: Customize the button(s) of your error message.
-
Step 5: Customize the icon of your error message.
-
Step 6: Customize the title of your error message.
-
Step 7: Customize the contents of your error message.
-
Step 8: Open the Save As window.
-
Step 9: Expand the combo box next to Save as type and select All Files.
-
Step 10: Type a name for your file followed by a period and vbs.
-
Step 11: Choose a location to save the file to.
-
Step 12: Save the file.
-
Step 13: Display the error message.
Detailed Guide
Press ⊞ Win+R on your keyboard.
Type notepad into the Run dialog and click OK. , Notepad should look like this. x=msgbox("Your Message Here"
Button+Icon, "Your Title Here") , Replace Button in the code you pasted into Notepad with one of the following: 0
- OK 1
- OK and Cancel 2
- Abort, Retry and Ignore 3
- Yes, No and Cancel 4
- Yes and No 5
- Retry and Cancel , Replace Icon in the code that you pasted into Notepad with one of the following: 0
- No Icon 16
- Critical Icon (a.k.a. "X" icon) 32
- Question Icon (a.k.a. "?" icon) 48
- Warning Icon (a.k.a. "!" icon) 64
- Info Icon (a.k.a. "i" icon) , Replace Your Title Here in the code you pasted into Notepad with what you want the title of the error message to be. , Replace Your Message Here in the code you pasted into Notepad with what you want the error message to say. , Press Ctrl+S on your keyboard. ,,,, Click Save. , Double-click the file that was created.
About the Author
Robert Gordon
Committed to making home improvement accessible and understandable for everyone.
Rate This Guide
How helpful was this guide? Click to rate: