Q&A for How to Make a Fake Error Message in Windows

Return to Full Article

Search
Add New Question
  • Question
    Is there a way to make a custom icon for the error?
    Community Answer
    No, you can try using different numbers, but most likely a real error will pop up.
  • Question
    How do I make it do actions to my computer?
    Community Answer
    You can't do that. It's a fake error, meaning it won't do anything to your computer.
  • Question
    How do I create an input text box in the message?
    Community Answer
    Do this: InputVariableName=InputBox("Prompt","Title","Value which is optional")
  • Question
    How do I get different text for the buttons?
    Community Answer
    You can't. They are preset buttons. You can change the title and description though.
  • Question
    Can I add custom buttons to a fake error message in Windows?
    Community Answer
    You need a program to customize buttons, such as Windows Error Message Creator.
  • Question
    How can I make a message that stays forever on my desktop?
    Somone
    Community Answer
    You can make a forever loop by placing "Do until 0=1" before your messages, and writing "Loop" afterwards.
  • Question
    Is it possible to create a delay between certain lines of code?
    Community Answer
    Yes. Use WScript.sleep number. For example, WScript.sleep 200 which will pause for 200 seconds.
  • Question
    Can I use a code to change the font of the error message?
    Community Answer
    You can only change the font using Visual Basic 2006 or 2017. Otherwise it can't be done.
  • Question
    Can I create an error box that pops up when I try to open a particular app? Like instead of opening that app it shows me the warning and then I choose whether to open it or not?
    Community Answer
    Rename the file, then right-click to select properties then find "Select icon." Choose the icon of the application (you might be required to download it), then put it on the desktop folder or drag the message to the desktop to replace the app.
  • Question
    What should I do if Windows doesn't open the file?
    Community Answer
    If that happens, try right clicking and selecting Open. If you still can't find the Microsoft Windows Based Script Host, then try pressing More Apps. If you can't find it there, then you have a problem with your computer.
  • Question
    How can I get my own custom buttons?
    Community Answer
    Hit ok customize. Type something within the limit of 2 or 3 (sometimes 4) letters.
  • Question
    Can I make custom buttons?
    Community Answer
    You need a program to customize buttons, such as Windows Error Message Creator.
  • Question
    Can I make the message reappear after a specific button is pushed?
    Community Answer
    No. But you can do a forever loop by placing "Do until 0=1" before your messages and writing "Loop" afterwards. Anything you press, a new message will appear.
  • Question
    What can I do when I want to click "Open" but accidentally click the "Delete" button?
    Kuan Wun Liang
    Community Answer
    Ctrl+Z to undo. If that doesn't work, right-click and press 'Undo Delete'. If that doesn't work either, go to the Recycle Bin and find the file. Then right-click and press 'Restore'.
  • Question
    How do I get different text for the buttons?
    Gravity_Cipher
    Community Answer
    It's not possible to get different text for buttons using Notepad. if you want to make the text of the buttons, you could use ErrorGen. However, ErrorGen's messages look weird on Windows 10. It will appear as a grey box with a white top.
  • Question
    Can I choose which error message will come if the user types a button?
    Zachary Mok
    Community Answer
    Yes here is the code: a=msgbox("Yes or No question goes here" , 4+16 , "Box/Window name") if a = vbyes then b=msgbox("If yes is clicked" , 0+16 , "Box/Window name") else c=msgbox("If no is clicked" , 0+16 , "Box/Window name") end if
  • Question
    How do I make the fake error message pop up on top of all the windows?
    Community Answer
    Replace the "icon" number with 4096, and the error message will stay on the top no matter what.
  • Question
    Is is possible to include a progress bar with the fake error message?
    Community Answer
    In Visual Basic, yes. However, this is not possible in notepad alone.
  • Question
    How do I start a program after closing the message box when making a fake error message in Windows?
    Community Answer
    Something like this: x=msgbox("Your Message Here", Button+Icon, "Your Title Here"). Set WSHShell = WScript.CreateObject("WScript.Shell"). WSHShell.Run "Your program here."
  • Question
    Can I make a shutdown message in Windows?
    Community Answer
    No, you can't, or startup message either. This method only appears on the desktop.
  • Question
    How do I loop the error so it keeps on popping up after the first one is closed?
    Community Answer
    Hit Enter, then repeat the process. As an example: x=msgbox ("YEET" ,0+16,MEMEZ"). X=MsgBox ("fgdhfs" ,0+16,hfh).
  • Question
    How do I make something like this in .bat format?
    Community Answer
    @echo, echo off "Message", then save it as a .bat (ex. Internet Explorer.bat) and change the icon.
  • Question
    How do I make my error messages reopen in Windows?
    Community Answer
    To make them keep reopening, change the script to this: do x=msgbox("Description", ButtonID+IconID, "Message Title") loop. That's about it!
  • Question
    Why can't I put a forever loop for fake error messages on Windows?
    Community Answer
    You can make a forever loop by placing "Do until 0=1" before your messages, and writing "Loop" afterwards.
  • Question
    How do I make the "Yes" button do a different Message Button and the "No" button to just leave everything alone?
    Community Answer
    Enter the following code: a=msgbox("Yes or No question goes here" , 4+16 , "Box/Window name"), if a = vbyes then b=msgbox("If yes is clicked" , 0+16 , "Box/Window name") else c=msgbox("If no is clicked" , 0+16 , "Box/Window name") end if. Keep the buttons as yes or no, but feel free to change the icon to whatever you'd like.
  • Question
    How do I add an icon at the top of the error message?
    Community Answer
    Right click your script launcher, press Properties, then change the icon.
  • Question
    How do I make the message loop, so that when I press OK, it loops back to the same error?
    Community Answer
    Have your original e.g. X=MsgBox("Error",0+64,"My Computer"). Then add do until 0=1 before the original and add loop after. So it should look like this: do until 0=1, X=MsgBox("Error",0+64,"My Computer"), loop.
  • Question
    How can I make it so that there are different messages popping up after the first depending on if I pressed yes or no when making fake error messages?
    Community Answer
    You can do this: Copy and paste the first one to a second line like this: x=msgbox("Message here" ,0+16, "Text Here"); x=msgbox("Message here" ,0+16, "Text Here"). Then add your own text or use command prompt and do this: start [NameHere].vbs start [NameHere]2.vbs.
  • Question
    Can I make a keyboard shortcut to activate the error message whenever I press a key in Windows?
    Community Answer
    You can. Go to Properties in your, error then go to Key Shortcuts. There you can enter your key shortcut.
  • Question
    How do I make a fake error message long distance to another computer?
    Community Answer
    There is no way to adapt these methods to do so.
Ask a Question

      Return to Full Article