Instructables

Make the shutdown icon on your desktop and others.

Create shutdown, restart, log-off and hibernate shortcuts for your desktop.
 
Remove these adsRemove these ads by Signing Up

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!
tbarkdull6 years ago
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.
Bookwyrm832 years ago
You also can't spell, which makes this nearly impossible to read.
Guddu2 years ago
what exactly happens in d background when a computer is shutting down???
i mean d processess....can i see them!!!
arun.luv7 years ago
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
DSC01136.JPG
HI FAIZ SIR. CAN U SEND RECOVERY SOFTWARE ON THIS EMAIL ID "faizengg@mail.com"
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.
DJP4VEP5 years ago
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 DJP4VEP4 years ago
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!
you can do it my way!
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
jorjee6 years ago
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! :)

http://www.wincustomize.com/skins.aspx?libid=2
This works fine on vista, im very surprised.
lyco6 years ago
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 lyco6 years ago
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~6 years ago
Works nicely, even on win 2k, lol
emenblade6 years ago
thnx hubman, i aggree after i said this around a week later i actualy started using ubuntu and now so much more makes sence.
emenblade7 years ago
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!
HubmaN7 years ago
Well, on a Mac you just have to tell finder to shutdown in applescript. Or you can use the Automator...Macs rock!
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!
aceman 5696 years ago
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 :)
Ganador6 years ago
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 Ganador6 years ago
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.
jrtaylor7 years ago
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!!
thamiam7 years ago
Anybody know how to create an icon for "Undock Computer" on a laptop?
rjl247 years ago
Thank you for your innovation. Works fine with XP Home, SP2 Robert
cool
Yeah i did it with my computer and it worked great.
Ribblet7 years ago
How about standby?
Hibernate is standby
JRemetta7 years ago
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)  JRemetta7 years ago
Ok, Firstly dont try to change it in properties just make another shortcut. Secondly, Try this one for logout "shutdown -l -f"
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!