Make the shutdown icon on your desktop and others.

 by youssefgaber
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!
1-40 of 58Next »
tbarkdull says: May 3, 2007. 4:56 PM
This does NOT work in a domain environment, Common users and Power Users do not have permissions to run Shutdown.exe
dddstein in reply to tbarkdullNov 1, 2011. 7:22 AM
They do in my domain environment.
Bookwyrm83 says: Oct 27, 2011. 5:28 PM
You also can't spell, which makes this nearly impossible to read.
Guddu says: May 31, 2011. 10:20 AM
what exactly happens in d background when a computer is shutting down???
i mean d processess....can i see them!!!
DJP4VEP says: Apr 21, 2009. 12:04 AM
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
GEEK1 in reply to DJP4VEPAug 30, 2009. 4:56 PM
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. :)
arun.luv says: Feb 12, 2007. 4:10 AM
can anyone tell me how to recover deleted data..?
MairseyDotes in reply to arun.luvFeb 26, 2009. 4:02 PM
Assuming you aren't talking about stuff in the recycle bin:

1. Don't write anything else to the disk until you finish recovering the data.
2. Learn the details of your file system (FAT, FAT32, NTFS, ext3, or whatever).
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).
4. Repeat step 3 for each subsequent block, appending it to the end of the new file.

Or go read this HOWTO: http://lifehacker.com/393084/how-to-recover-deleted-files-with-free-software

Good luck.
faiztalab in reply to arun.luvFeb 24, 2008. 10:59 PM
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
DSC01136.JPG
faizkhan124 in reply to faiztalabJul 3, 2010. 10:46 AM
HI FAIZ SIR. CAN U SEND RECOVERY SOFTWARE ON THIS EMAIL ID "faizengg@mail.com"
SCRIPTmaster says: Jul 20, 2008. 11:33 AM
you can do such a shutdown in a more professional and interactive way!
you can do it my way!
MairseyDotes in reply to SCRIPTmasterFeb 26, 2009. 3:55 PM
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).
THE_GEEK2007 says: Jan 24, 2008. 4:12 PM
i see the code for hibernate, but what is the code for Stand By? TGT
jorjee says: Jan 23, 2008. 8:19 PM
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.
homicidal.cereal.killer says: May 20, 2007. 5:11 PM
does anyone know how to add icons, not just the ones that you get, but other ones that you can upload and stuff?
sapien_red in reply to homicidal.cereal.killerNov 1, 2007. 7:16 PM
make a mspaint bitmap file 48x48 use a picture and save as myicon.ico save to somewhere find able like c:\windows\myicon.ico
homicidal.cereal.killer in reply to sapien_redNov 1, 2007. 7:28 PM
ok thanks.
sharp_spike06 in reply to homicidal.cereal.killerJan 18, 2008. 6:37 PM
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! :)

http://www.wincustomize.com/skins.aspx?libid=2
tacticalasasin says: Nov 5, 2007. 3:43 AM
This works fine on vista, im very surprised.
lyco says: May 21, 2007. 11:10 PM
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
moomoocows in reply to lycoJul 28, 2007. 12:08 AM
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
~KAZ~ says: Jun 7, 2007. 8:57 PM
Works nicely, even on win 2k, lol
emenblade says: May 14, 2007. 4:44 PM
thnx hubman, i aggree after i said this around a week later i actualy started using ubuntu and now so much more makes sence.
emenblade says: Apr 10, 2007. 6:08 PM
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.)
HubmaN in reply to emenbladeMay 14, 2007. 6:38 AM
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!
HubmaN says: Apr 20, 2007. 1:35 PM
Well, on a Mac you just have to tell finder to shutdown in applescript. Or you can use the Automator...Macs rock!
aceman 569 in reply to HubmaNMay 9, 2007. 6:02 PM
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
HubmaN in reply to aceman 569May 14, 2007. 6:33 AM
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!
aceman 569 says: May 9, 2007. 6:07 PM
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 :)
Ganador says: May 3, 2007. 2:06 AM
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.
Ganador in reply to GanadorMay 3, 2007. 2:12 AM
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.
jrtaylor says: Apr 14, 2007. 11:52 AM
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!!
thamiam says: Apr 13, 2007. 2:32 PM
Anybody know how to create an icon for "Undock Computer" on a laptop?
rjl24 says: Apr 8, 2007. 12:02 PM
Thank you for your innovation. Works fine with XP Home, SP2 Robert
Mr. Smart Kid says: Feb 24, 2007. 4:29 PM
cool
motoxer1254 in reply to Mr. Smart KidMar 9, 2007. 11:53 AM
Yeah i did it with my computer and it worked great.
Ribblet says: Dec 5, 2006. 4:56 AM
How about standby?
motoxer1254 in reply to RibbletMar 9, 2007. 8:45 AM
Hibernate is standby
JRemetta says: Feb 4, 2007. 7:40 PM
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
youssefgaber (author) in reply to JRemettaFeb 5, 2007. 8:49 AM
Ok, Firstly dont try to change it in properties just make another shortcut. Secondly, Try this one for logout "shutdown -l -f"
1-40 of 58Next »
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!