Results 1 to 5 of 5

Thread: Shortcuts to “start again” and “to stop” the system

  1. #1
    Join Date
    Jan 2006
    Posts
    154

    Shortcuts to “start again” and “to stop” the system

    Hello, I return towards you for a small explanation about the creation of the shortcuts for “stop” (shutdown.exe - S) and “to start again” (shutdown.exe - R)… Can anyone write up such tasks and give me the command lins for it. Thank you
    I feel sad for people with good imagination.

  2. #2
    Join Date
    Sep 2005
    Posts
    1,370

    Re: Shortcuts to “start again” and “to stop” the system

    Yes you can get it cause it is however not too complicated…

    shutdown/?
    Use: shutdown [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f] [/m \ \ computer] [/t xxx] [/d [p|U:]xx: yy [/c “comment”]]

    Without argument To post the assistance. That amounts entering/?.
    /? To post the assistance. That amounts not entering no option.
    /i To post the graphic user interface (GUI).
    It must be the first option.
    /l To close the session. Cannot be used with the option /m or /d.
    /s To stop the computer.
    /r To stop and start again the computer.
    /g Extinguish and start again the computer. Once the re-initialized system, start again any recorded application.
    /a To cancel a stop of the system.
    That can be only used for the period of time.
    /p To stop the local computer without delay of expiry or warning.
    Can be used with the option /d or /f.
    /h To put the local computer in prolonged day before.
    Usable with the /f option.
    /e To document the reason of the unexpected stop of a computer.
    /m \ \ computer To specify the target computer.
    /t xxx To define the period of time before the stop at the end of xxx seconds.
    The valid beach lies between 0 and 600,30 being the default value.
    The use of /t xxx implies the /f option.
    /c “comment” Comment on the reason of the restarting or the stop.
    512 authorized characters maximum.
    /f To force the closing of the applications in the course of execution without front ertir the users.
    /f is automatically defined during a use in conjoncti one with /t xxx.
    /d [p|U:]xx: yy Fournir reason of the restarting or the stop.
    p indicates that the restarting or the stop is planned.
    U indicates that the reason is defined by the user.
    If neither p nor U are specified, the restarting or the stop is not planned.
    xx is the code of imperative reason (whole positive lower than 256).
    yy is the minor code of reason (whole positive lower than 65536).
    DFI LANPARTY SLI-DR
    AMD 64 x2 4800+
    OCZ (2 x 512) DDR600

  3. #3
    Join Date
    Dec 2007
    Posts
    1,599

    Re: Shortcuts to “start again” and “to stop” the system

    Did you mean the services?

    You have two native tools for this:

    NET STOP service_name
    SC stop service_name

    Use sc queryex to find the shortname for the service of interest. It is this shortname that is used in either of the commands above.

  4. #4
    Join Date
    Dec 2007
    Posts
    459

    Re: Shortcuts to “start again” and “to stop” the system

    This is a handy little shortcut I use on all my desktops. It saves the hassle of clicking START, Turn Off Computer, then choosing Shutdown or Restart.

    - Right Click an empty area on your desktop
    - Choose New, shortcut
    - In the location box type or copy and paste this: %windir%\system32\shutdown.exe -s -t 00
    - Hit Next
    - You can change the name to Shutdown, or whatever you want
    - Click finish

    You can do the same thing for a Restart shortcut by putting this in the location box: %windir%\system32\shutdown.exe -r -t 00

  5. #5
    Join Date
    Jan 2009
    Posts
    1,738

    Re: Shortcuts to “start again” and “to stop” the system

    Command : shutdown

    Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "comment"] [-d up:xx:yy]

    -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)

Similar Threads

  1. Start button shortcuts not working in Windows 8.1
    By TheDARIO in forum Operating Systems
    Replies: 6
    Last Post: 23-09-2013, 10:38 AM
  2. Replies: 3
    Last Post: 04-03-2011, 08:35 AM
  3. How to add shortcuts to the Windows 7 start menu?
    By DeepikaP in forum Operating Systems
    Replies: 3
    Last Post: 17-01-2011, 06:12 PM
  4. Some Start Menu shortcuts not working
    By Gary Fritz in forum Vista Help
    Replies: 5
    Last Post: 17-06-2008, 09:32 PM
  5. Start/All Programs Menu shortcuts not working
    By rtdavide@yahoo.com in forum Vista Help
    Replies: 2
    Last Post: 03-03-2008, 10:25 AM

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,714,049,819.26665 seconds with 16 queries