3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Shutdown Prank for Windows XP or Vista

Shutdown Prank for Windows XP or Vista
This is a simple way to drive the average Windows user completely insane. The methods are slightly different for XP and Vista, so I'll go over both ways.

Note: I'm using XP with a Vista theme in most of these pictures.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Disable the UAC (Vista Only)

Disable the UAC (Vista Only)
The Vista UAC is possibly the most annoying feature in Vista, and it will prevent our shutdown script from executing if we don't disable it. So let's do that. There are a few different ways, but I think this is the quickest and easiest way. Open Notepad, then copy and paste the following:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System]

"EnableLUA"=dword:00000000

Click File > Save As, change the Save as type from Text Documents to All Files, and save it as DisableUAC.reg. Then double-click the file you just created and click OK when it asks if you want to merge it into the registry.

Now we're ready to write the shutdown script.

Note: If you need to re-enable the UAC later, just change it to "EnableLUA"=dword:00000001.
« Previous StepDownload PDFView All StepsNext Step »
3 comments
Dec 19, 2010. 7:49 AMwill421 says:
Why not just... say... ADD A KEY TO THE REGRISTRY! :D
Impossible to abort. At least, if you set the /t 30 to be /t 3.
But still, good job on thinking of that!
Apr 21, 2009. 12:39 AMDJP4VEP says:
I created a vbScript that is a fake virus and i want the computer to shutdown at the and with a time limit of 60 seconds to save work Please help
Dec 20, 2008. 12:09 PMf86sabre says:
or just say shutdown.exe /s -s /c "YOUR PC WILL SHUTDOWN IN 30 SECONDS" -c "YOUR PC WILL SHUTDOWN IN 30 SECONDS" this is because the shutdown.exe defaults to 30 seconds. the -t or /t is for seconds other than 30

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
0
Followers
1
Author:CaptainEvilStomper