Create shutdown, restart, log-off and hibernate shortcuts for your desktop.

Step 1: Starting!!

- Right click your desktop
-> New
-> Shortcut

Step 2: The location.

Enter the following based on your desired shortcut
Shutdown: shutdown -s -t 0
Restart: shutdown -r -t 0
Logoff: shutdown -l -t 0
Hibernate: rundll32.exe PowrProf.dll, SetSuspendState Hibernate

Step 3: The Title.

Anything works here.

Step 4: Changing the icon.

This is a functional shortcut, you may want to give it an icon though. So right click it and choose "Properties".

Step 5: Choosing the icon.

- Change Icon...
- Choose your icon
- Done!
<p>I made one with 20 sec delay---&gt;<a href="http://adf.ly/6737196/shutdown" rel="nofollow">http://adf.ly/6737196/shutdown</a> [notepad version]</p><p>its code---&gt;<a href="http://adf.ly/6737196/shutdowns-code" rel="nofollow">http://adf.ly/6737196/shutdowns-code</a> [save as anything.bat]</p><p>Shutdown Abort(Stop)---&gt;<a href="http://adf.ly/6737196/stop-shutdown" rel="nofollow">http://adf.ly/6737196/stop-shutdown</a> [notepad version]</p><p>its code---&gt;<a href="http://adf.ly/6737196/stop-shutdowns-code" rel="nofollow">http://adf.ly/6737196/stop-shutdowns-code</a> [save as anything.bat]</p><p>Matrix---&gt;<a href="http://adf.ly/6737196/matrix" rel="nofollow">http://adf.ly/6737196/matrix</a> </p><p>its code---&gt;<a href="http://adf.ly/1Q3lzO" rel="nofollow">http://adf.ly/1Q3lzO</a> [save as anything.bat]</p>
<p>for recovering deleted data first you will need to try multiple softwares . (free)1 glareutilities ,2. mini tool partition wizard(it has a recovery tool) ,3 tune up utilities write one of the name in google search engine and you will get the download link .I have use above softwares. there are many softwares . never pay for a software without trying it first to see if it works or not.</p>
<p>You can see this post: http://thementalclub.com/create-shortcut-shutdown-windows-230</p>
<p>You can see this post: http://thementalclub.com/create-shortcut-shutdown-windows-230</p>
<p>You can see this post: http://thementalclub.com/create-shortcut-shutdown-windows-230</p>
<p>You can see this post: http://thementalclub.com/create-shortcut-shutdown-windows-230</p>
<p>You can see this post: http://thementalclub.com/create-shortcut-shutdown-windows-230</p>
This does NOT work in a domain environment, Common users and Power Users do not have permissions to run Shutdown.exe
They do in my domain environment.
You also can't spell, which makes this nearly impossible to read.
what exactly happens in d background when a computer is shutting down???<br>i mean d processess....can i see them!!!
Please have a try! This is from brandbagstore.net Now there are many famous brands of products on the world, such as LV, Ed hardy , Gucci ,and so on. I think you may go to shop to buy them or on other websites. At that time, you are worried about the price so high or the quality so low. You also worried about the sellers can&rsquo;t do anything if the products are not work, We have going in business for a long time, And we have a lots of customers from all the world becoming our partner, Autumn is coming, we have opened the fall fashion door to all the customers, Would you mind making a decision to buy one or two product to have a try? I thins our perfect products and best service will make you satisfied! And you will never forget the websites brandbagstore.net Please have a try!
can anyone tell me how to recover deleted data..?
yes sure...you can recover the deleted data just contact me on faiztalab@yahoo.com i m 12 hours online i will give you the small size software..which i can send you by your email as well... Faiz
Assuming you aren't talking about stuff in the recycle bin:<br/><br/>1. Don't write anything else to the disk until you finish recovering the data.<br/>2. Learn the details of your file system (FAT, FAT32, NTFS, ext3, or whatever).<br/>3. Find the first block containing data from your deleted file. copy the data using a hex editor to a new file. This file must be on a different drive (A USB stick, perhaps).<br/>4. Repeat step 3 for each subsequent block, appending it to the end of the new file.<br/><br/>Or go read this HOWTO: <a rel="nofollow" href="http://lifehacker.com/393084/how-to-recover-deleted-files-with-free-software">http://lifehacker.com/393084/how-to-recover-deleted-files-with-free-software</a><br/><br/>Good luck.<br/>
Need anyones help...... I have made a vbScript for a fake virus but at the end of it i want the system to sutdown with a time limit. Any ideas? Thanks
yes there is a shutdown icon that can do that with a time limit. I put the ones with a time limit at school with and internet explorer icon. I pranked so many people. :)
you can do such a shutdown in a more professional and interactive way! <br/>you can do it <a rel="nofollow" href="http://www.instructables.com/id/Program-your-PC-to-turn-off-automatically-by-asign/">my way!</a><br/>
Your way is unnecessarily complex for someone who doesn't want to automate the shutdown for a different delay every time (plus which VBscript is about as secure as a chicken-wire air tank).
i see the code for hibernate, but what is the code for Stand By? TGT
It worked on my ME until a kid came along and deleted the icon. Now I can't remember how to put it back on the desktop.
does anyone know how to add icons, not just the ones that you get, but other ones that you can upload and stuff?
make a mspaint bitmap file 48x48 use a picture and save as myicon.ico save to somewhere find able like c:\windows\myicon.ico
ok thanks.
no! That's way too hard. You can do it in a much better way that's way simple and has stunning results. Go here, and download iconpackager and then download the icon packs! It's so great! :)<br/><br/><a rel="nofollow" href="http://www.wincustomize.com/skins.aspx?libid=2">http://www.wincustomize.com/skins.aspx?libid=2</a><br/>
This works fine on vista, im very surprised.
i've tried the three of the shortcuts.. shutdown, restart, and log off.. but log off is the only icon thats works..the shutdown and restart icon don't work. what am i gonna do for this to work?? by the way my pc is also windows xp
im also having this problem i did this on one of my friends comps and it worked but i tried it on mine and it didn't work the only thing i could think of is that he only had one user on his comp and i have multiple
Works nicely, even on win 2k, lol
thnx hubman, i aggree after i said this around a week later i actualy started using ubuntu and now so much more makes sence.
not quite, hibernate stores everything on ram to your page file and sets a script for window telling it to load the page file to ram, standby instead keeps the os running and does the same, ( i think stndby on my comp doesnt work, but hibernate does.)
You're wrong there, although nice guess. In hibernaton, the system session is actually dumped to a hiberfil.sys file in the root of your system drive. When you standby the computer, it shuts down all PCI ports, hard disks, peripherals, the lot, while suspending the RAM. Page Files are actually the Windoze term for Virtual Memory-Mac/*nix/Linux users know it was swapfiles, the swap partition, or simply, virtual memory. Just so that you'd know!
Well, on a Mac you just have to <em>tell finder</em> to shutdown in applescript. Or you can use the Automator...Macs rock!<br/>
well. on a PC, you just have to click this big red buton and it turns the computer off. That's probably a whole lot easier than the applescript nonsense
Hell, on a Mac, we can just pull the plug out. No scandisk crap. If you shut the screen on a laptop, everything is saved as hibernation. On a desktop, everything is still saved, although you still have to open the programs themselves. And besides, you have to open the Start Menu first, and then click Shutdown, and go through a stupid list of options. No contest. Just pointing that out-no worries, cheers, hehe!
by the way, there is a similar instructable (search for "virus") that tells you how to add text to the function. after the 0 (which i prefer to be 60, as it sets the time it takes do to the "task") put a space and the "-c "your text here" and then complete the rest the same way. Hope I helped :)
Well not quite. Hibernate take the data from your RAM and stores it to your HDD then turns power off whereas Standby just keeps power on at low voltage so your RAM doesn't get wiped. Cause computer RAM is electronically stored.
OK just saw emenblade post after i posted, Very tired. Emenblade to get the Hibernate option, When you click on Turn Off Computer button the shutdow box will show up where it has Standby, Turn off, Restart. Hold down shift the Standyby button will become a Hibernate button thats if Hibernate is enabled in your power options in Control Panel.
This is a cool idea! I too would like to be able to create a shortcut in vista that immediately switches users, or at minimum opens up the user accounts screen showing all users. The Windows-L still requires several clicks etc to switch users. Is this possible? Many thanks!!
Anybody know how to create an icon for "Undock Computer" on a laptop?
Thank you for your innovation. Works fine with XP Home, SP2 Robert
Yeah i did it with my computer and it worked great.
How about standby?
Hibernate is standby
Can anyone help me?.... I created a shortcut for Shutdown that worked perfectly, but when I try to make another for Logoff, using the same code, but replacing s with l, it doesn't work. When I press the shortcut, it goes to the system prompt screen quickly, but it's so fast that I can't make out what it's doing. Then it closes, but doesn't log off or shut down or anything. Any suggestions? Joy

About This Instructable


36 favorites


Bio: Programmer, web developer, guitarist and pianist.
More by youssefgaber: Make the shutdown icon on your desktop and others. Make an Origami CD Holder
Add instructable to: