Instructables

April Fool's Day contest: A simple computer prank that will shut down the computer

A computer prank that will shut down the intended computer in a set amount of time and display a message of your choice! Perfect to play on the curious-minded.
Warning: Make sure that there aren't any important downloads or documents running at the time of activation. If there are, tell the victim how to cancel it (explained at the end of the instructable).
NOTE: Will only work with Vista.
NOTENOTE: I will NEVER clean up my desktop! :D
 
Remove these adsRemove these ads by Signing Up

Step 1: Prank settings

Right click on the desktop, select 'New' and click create shortcut.
In the window that pops up, type in:
shutdown.exe -s -t 120 -c "Your computer has committed suicide, have a nice day."

The number behind the -c is the time in seconds that the computer will shut down in, you can put in any amount here. If there isn't anything important going on, select a short time such as 5 seconds or so. If there IS something important, set it to a longer time such as 120 seconds or more so that you have time to deactivate it.
In between the quotation marks, write a message such as 'WARNING: VIRUS DETECTED: BEGIN SHUTDOWN IN 60 SECONDS'.

Step 3: Activating it

The icon will appear on the desktop. To activate it, simply double-click. The message will pop up and in the amount of time you set after that, the computer will automatically shut down.

Step 4: Deactivating

Picture of Deactivating
If you need to deactivate the script, go to 'Run' and type in shutdown -a.
1-40 of 78Next »
ajacinto21 year ago
Now it had been effective
ajacinto21 year ago
Why it doesn't work on my laptop!!! I'll gonna right click it butI had double clicked it & the message appeared but I had not been logged off
wolf9961 year ago
Deathnote! ^.^
mevans162 years ago
After I click finish with the name of the shortcut I cant find where it is, can someone tell me how to fix this?
Do I need a different code for windows 7?
Not sure cuz I have a Windows Vista computer, but the file could be hidden. Go to "Computer" and then "Organize" in the toolbar, "Folder and Search Options" and then the "View" tab, and finally "Show hidden files and Folders". Win 7 might not have this AT ALL, so you may want to search "How to show hidden files and folders on Windows 7". Then, right click and click the preferences tab, and un-check "Hidden" under "Attributes"
Good luck!

P.S. This isn't an April Fools prank. No, really xP
Capt. Fat3 years ago
If I could do this to my Girlfriend's iPad it would be amazing, lolz
@Lo-couk: This will not work on an iPad.
Attamet4 years ago
I tried this, and it worked, but the message i put in did not appear. How do i fix this?
after the -c the comment must be on space away and in quotes

Ex. -c "hello world"
SimoMies3 years ago
It's nice to change the icon to resemble firefox, for example, and rename it too. Try and start that browser, will ya :D
kbidne3 years ago
Of course, if you want to be especially evil, set it to delay for ten, fifteen minutes, and put the shortcut in the startup folder. If you don't know what the startup folder is, find out or stay out of it, you don't want to break anything important.
jwayne893 years ago
Initial D for the win!!!!!!!
You are bloody brilliant my friend!! XD
i've set this up on my friend's computer and my sister's laptop.
Can't wait for the chaos to begin!!
halojerm3 years ago
a code that works great is shutdown -s -t 00
and for an ipad???
Spike0026 years ago
hahaha i do this to my friends computers allll the time, but i just make a batch file, whatever, same thing. i ususally put something that scares them alot, like "Computer must restart for virus to take effect." and then i put "pause" in the file, and then if they continue with the command, it cancels the shutdown, but ther usally freaking out too much to press it.
can you reply with the code? i wanna do that
haha yah no problem
you know how to make a batch file though?

you just go into notepad and enter this,

@echo off
shutdown /s /t 60 /c "Computer must restart for virus to take effect."
pause

shutdown /a

then when you go to save it, name it whatever you want, BUT at the end add .bat
and when it asks for save file type, go to All Files instead of Text Document

So you just name the file something you think they'll click on.

OH AND

THIS WORKS FOR VISTA AND XP.
does pause mean they have to press okay?
yaahh, haha if they're smart enough they'll click continue instead of exiting it and it'll cancel the shutdown, but most people will just freak out and exit it.
alextricity5 years ago
In XP this is the code used.... shutdown -s -t 18000 -c "User error. Please replace user."
does 18000 mean 18000 seconds?
Yup
 i did the original code but this one works better for win XP
Kendallkip5 years ago
waaaaaaaaaa!!! cant find 'run'!!!!!!!!!!!!!!!!!
in start
ive got vista, its hard 2 find in vista. I had to search for it T_T
Just press the key that has the Windows symbol on it and press the R key at the same time, or, JUST TYPE "RUN" INTO THE START MENU SEARCH BAR AND PRESS ENTER! EVEN BETTER! THAT SEARCH BAR IS ALSO THE RUN BAR! Don't complain and make excuses just because you don't do what you're doing. It's just as easy to use run with Vista, and it's a whole lot easier to find it. I have Vista, and I've used XP all my life. Please don't take away from this site by complaining and whining. Just ask! "How do I do this?" BE CONSTRUCTIVE
harsh
run is on the right side of the start menu.
Not on most versions of Vista. I believe there is one with it in there, but I haven't used it yet. A short cut is: winkey-r.
run is not on by default in vista. right clickon the taskbar nd select properties. Click start menu(on properties).Click customize. Look for run and check mark it.
I think that business edition has it on by default.
Windows Key + R
chamster3 years ago
How can i make a virus like that but does something else besides shutting down?
purecnc4 years ago
 i just tried this on my XP laptop it works.

thanks this is a cool joke
yippy!4 years ago
i have a vista computer and when i tried this out command promp came up for a second thats all that happened can anybody think of anything? i cant figure out the problem
zitz5 years ago
well you have vista and that's a big enough problem
DuctTapeRules! (author)  zitz5 years ago
Yeah, Vista used to be really annoying, but now not so much :p And to everyone, I CLEANED MY DESKTOP!!!! XD
1-40 of 78Next »