| Release List | Reviews | Shop | Join | News | DVD Giveaways | Video Games | Advertise |
| DVD Reviews | Theatrical Reviews | Adult DVD Reviews | Video Game Reviews | Price Search | Buy Stuff Here |
|
|||||||
| Tech Talk Discuss PC Hardware, Software, Internet and Other Technology |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
DVD Talk Gold Edition
Join Date: Apr 2000
Location: Holland, OH, USA
Posts: 2,583
|
Add desktop shortcut for Shutdown and/or Restart in XP?
I would like to create a desktop shortcut for Restart and Shutdown commands in Windows XP Pro.
I'm using a policy to remove Start-Shutdown because I only want Logoff to be available from the Ctrl-Alt-Del menu. If I can get Shutdown and/or Restart added as desktop icons, I should be all set.
__________________
Tobias: Well, yes, but I’m afraid I prematurely shot my wad on what was supposed to be a dry run, if you will, so now I’m afraid I have something of a mess on my hands. Michael: There are just so many poorly chosen words in that sentence. "I think I misworded that wrong." -conscience |
|
|
|
#2 |
|
Senior Member
Join Date: Dec 2001
Location: Twin Cities
Posts: 862
|
This is how I did it on one of my PCs:
Create a new shortcut on your desktop (Right-click, New, Shortcut). Browse to Windows\System32 and select Shutdown.exe. Click Next, name it whatever you want. After it's created, right-click on the new shortcut, select properties, and on the Shortcut tab, after "C:\WINDOWS\SYSTEM32\SHUTDOWN.EXE" (in Target) type -s. (So it would look like this: C:\WINDOWS\SYSTEM32\SHUTDOWN.EXE -s) This will shut down your computer. Instead of the -s, you could type -r to shut down and reboot. Here are the options you could type: -i Display GUI interface, must be the first option -l Log off (cannot be used with -m option) -s Shutdown the computer -r Shutdown and restart the computer -a Abort a system shutdown -m \\computername Remote computer to shutdown/restart/abort -t xx Set timeout for shutdown to xx seconds -c "comment" Shutdown comment (maximum of 127 characters) -f Forces running applications to close without warning -d [u][p]:xx:yy The reason code for the shutdown u is the user code p is a planned shutdown code xx is the major reason code (positive integer less than 256) yy is the minor reason code (positive integer less than 65536) |
|
|
|
#3 |
|
DVD Talk Gold Edition
Join Date: Apr 2000
Location: Holland, OH, USA
Posts: 2,583
|
Nevermind, I figured it out. I just created a .bat file with:
c:\windows\system32\shutdown.exe -s for Shutdown and c:\windows\system32\shutdown.exe -r for Restart Then put shortcuts on the desktop to the .bat files. Edit: I figured it out before the post above, but thanks!
__________________
Tobias: Well, yes, but I’m afraid I prematurely shot my wad on what was supposed to be a dry run, if you will, so now I’m afraid I have something of a mess on my hands. Michael: There are just so many poorly chosen words in that sentence. "I think I misworded that wrong." -conscience |
|
![]() |
| Thread Tools | |
|
|