How to create a reboot shortcut?


  1. Posts : 114
    Windows 10 Pro
       #1

    How to create a reboot shortcut?


    I found that one can shorten the steps of shutting down windows by creating a shortcut on the desktop.
    by using this command "%windir%\System32\shutdown.exe /s /t 0"
    The shutdown exe file can be found in the directory above. I thought I may be able to create a similar shortcut but there is no 'reboot.exe' file in this directory so I assume it must have a different name. There are 4 files with the word 'boot' in it perhaps it is one of those. Can anyone help me with this?
    Thanks
      My Computer


  2. Posts : 1,463
    Windows 10 Pro 22H2 64 bit
       #2

    Use same command but use /r instead of /s.
    Good information here:
    http://pcsupport.about.com/od/comman...wn-command.htm

    Jim
      My Computer


  3. Posts : 68,888
    64-bit Windows 11 Pro for Workstations
       #3

    Hello pintree3, :)

    You can use the command below to restart the computer.

    Restart Computer in Windows 10

    shutdown /r /f /t 0
      My Computers


  4. Posts : 114
    Windows 10 Pro
    Thread Starter
       #4

    Thank you
      My Computer


  5. Posts : 68,888
    64-bit Windows 11 Pro for Workstations
       #5

    Glad we could help. :)
      My Computers


  6. Posts : 1,463
    Windows 10 Pro 22H2 64 bit
       #6

    Brink said:
    Hello pintree3, :)

    You can use the command below to restart the computer.

    Restart Computer in Windows 10

    shutdown /r /f /t 0
    Just for clarity:

    /f = This option forces running programs to close without warning. Except with the /l, /p, and /h options, not using shutdown's /f option will present a warning about the pending shut down or restart.
    Jim
      My Computer


  7. Posts : 114
    Windows 10 Pro
    Thread Starter
       #7

    Creating a shortcut for "sleep"?


    A thought just occurred to me (since u were so great in helping with the other 2 short cuts , What about a shortcut for "sleep"?
      My Computer


  8. Posts : 68,888
    64-bit Windows 11 Pro for Workstations
       #8
      My Computers


  9. Posts : 114
    Windows 10 Pro
    Thread Starter
       #9

    Thanks buddy (it says something about turning off hibernate, but I don't see such a thing on W10. I''l let all know if it doesn't work.
      My Computer


  10. Posts : 68,888
    64-bit Windows 11 Pro for Workstations
       #10
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 12:17.
Find Us




Windows 10 Forums