I once hacked the windows executable of Windows for Workgroups (Yes, that long ago) using a resource compiler and making it impossible to log off nicely. You just got a long series of dialog boxes as below:
Log Off->
- Are you sure? Yes/No/Cancel
- Are you really sure? Yes/No/Cancel
- Are you really, really sure? Yes/No/Cancel
- Are you really, really, really sure? Yes/No/Cancel
- Are you really, really, really, really sure? Yes/No/Cancel
- I don't believe you. Ok button only.
I set it up as a batch file called from autoexec.bat that would rename win.com, move the hacked file into place, run it, then delete the executable and batch file, and restore the original win.com, so that by the time you saw the message the evidence was already deleted
Sláinte
midders
P.S. and yes, you definitely had to stick around to laugh at the results!