Results 1 to 2 of 2

Thread: create one click shutdown and restart menu

  1. #1
    Join Date
    Nov 2010
    Location
    Rohini, Delhi
    Posts
    11

    create one click shutdown and restart menu

    Here is a method to create a one click shutdown or restart menu.
    First, create a shortcut on your desktop by right-clicking on the desktop, choosing New, and then choosing Shortcut. The Create Shortcut Wizard appears. In the box asking for the location of the shortcut, type shutdown. After you create the shortcut, double-clicking on it will shut down your PC.

    But you can do much more with a shutdown shortcut than merely shut down your PC. You can add any combination of several switches to do extra duty, like this:

    shutdown -r -t 01 -c "Rebooting your PC"
    Double-clicking on that shortcut will reboot your PC after a one-second delay and display the message "Rebooting your PC." The shutdown command includes a variety of switches you can use to customize it.

    I use this technique to create two shutdown shortcuts on my desktop—one for turning off my PC, and one for rebooting. Here are the ones I use:

    shutdown -s -f -t 05 -c "Bye Bye Harsh!"
    shutdown -r -t 05 -c "Ill be back Harsh !"

    Switch
    What it does

    -s
    Shuts down the PC.

    -l
    Logs off the current user.

    -t nn
    Indicates the duration of delay, in seconds, before performing the action.

    -c "messagetext"
    Displays a message in the System Shutdown window. A maximum of 127 characters can be used. The message must be enclosed in quotation marks.

    -f
    Forces any running applications to shut down.

    -r
    Reboots the PC.

    Use the -f switch to shutdown the system faster.

  2. #2
    Join Date
    Apr 2010
    Posts
    206

    Re: create one click shutdown and restart menu

    The above trick is really cool but i would also like to share my trick which i am using to shut down my computer. I am too using a shortcut Placed on the desktop or run by a keyboard shortcut, you will gain a few precious seconds off your computer.

    Place a shortcut on the desktop

    • Click on the Office of the mouse right button and choose New, then Shortcut.
    • In the wizard that appears, click the Browse button.
    • Navigate to your hard drive for file C: \ Windows \ System32 \ Shutdown.exe and confirm
    • Click the Next button, then type a name for your shortcut, shutdown Windows, for example, in the text box Enter a name for this shortcut.
    • Confirm with Finish.
    • Your shortcut is created.
    • Now you must edit to configure the shutdown.
    • Click the newly created shortcut from the right mouse button, then click Properties.
    • In the Target text box of the Shortcut tab, add the parameters-f-s-t 00 to the command line.
    • It becomes C: \ Windows \ System32 \ Shutdown.exe-f-s-t 00 and Confirm
    • Just double-click the shortcut Stop Windows to shut down your computer.

Similar Threads

  1. Replies: 1
    Last Post: 05-09-2012, 12:40 PM
  2. Windows XP won't restart from shutdown
    By Myra in forum Windows XP Support
    Replies: 3
    Last Post: 19-03-2012, 12:09 PM
  3. Replies: 2
    Last Post: 28-02-2012, 12:52 AM
  4. Replies: 1
    Last Post: 02-04-2009, 04:00 PM
  5. Windows doesn't shutdown or restart from start menu
    By Alexisus in forum Windows Software
    Replies: 4
    Last Post: 19-02-2009, 07:13 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,587,582.22496 seconds with 17 queries