Open Notepad Type X=Msgbox(“Message Here”,0+16,”Title Here”) Replace Message Here and Title Here with your Error Message and Error-Window Title respectively. Save the file with error.vbs. Now, click the file and you’ll get your custom-made Windows error message.