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
DVD Talk
DVD Reviews DVD Talk Headlines HD Reviews


Add to My Yahoo! - RSS 2.0 - RSS 2.0 - DVD Talk Podcast RSS -


Go Back   DVD Talk Forum > General Discussions > Tech Talk

Tech Talk Discuss PC Hardware, Software, Internet and Other Technology

Reply
 
Thread Tools
Old 07-22-05, 10:34 AM   #1
bralph
DVD Talk Gold Edition
 
Join Date: Apr 2000
Location: Holland, OH, USA
Posts: 2,611
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
  Reply With Quote
Old 07-22-05, 11:41 AM   #2
PeMo
Senior Member
 
Join Date: Dec 2001
Location: Twin Cities
Posts: 870
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)
  Reply With Quote
Old 07-22-05, 11:42 AM   #3
bralph
DVD Talk Gold Edition
 
Join Date: Apr 2000
Location: Holland, OH, USA
Posts: 2,611
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
  Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT -5. The time now is 04:32 PM.

Rules - DVD Talk - Archive - Privacy Statement - Top

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright 2011 DVDTalk.com All Rights Reserved. Privacy Policy and Terms of Use.