My computer restarts instead of shutting down


  1. Posts : 6
    Windows 10 home
       #1

    My computer restarts instead of shutting down


    When I press the power key, or when I click on power>shut down, Windows 10 reboots instead every time. Is this a known fault and if so is there an easy fix for it?
      My Computer


  2. Posts : 19,518
    W11+W11 Developer Insider + Linux
       #2

    Hello Boris, try running this line from Command prompt:
    %windir%\System32\shutdown.exe -s -f -t 00
    See if it helps and than we can go further.
      My Computers


  3. Posts : 6
    Windows 10 home
    Thread Starter
       #3

    At work now so I'll wait til my break and try it ta. Can you explain what each thing does please?
    Last edited by boristhemoggy; 24 Aug 2016 at 03:20.
      My Computer


  4. Posts : 6
    Windows 10 home
    Thread Starter
       #4

    Excellent....that did indeed make it log off properly!!
    Can you let me know what the switches are for please?
      My Computer


  5. Posts : 19,518
    W11+W11 Developer Insider + Linux
       #5

    boristhemoggy said:
    Excellent....that did indeed make it log off properly!!
    Can you let me know what the switches are for please?
    This is switch for restart:
    %windir%\System32\shutdown.exe -R -F -T 00
    See the difference from OFF switch ?
    %windir%\System32\shutdown.exe -S -F -T 00
    If you want you can make a shortcut to them and use the line as Target.
      My Computers


  6. Posts : 6
    Windows 10 home
    Thread Starter
       #6

    CountMike said:
    This is switch for restart:
    %windir%\System32\shutdown.exe -R -F -T 00
    See the difference from OFF switch ?
    %windir%\System32\shutdown.exe -S -F -T 00
    If you want you can make a shortcut to them and use the line as Target.
    How come my shutdown button is not doing it though?
      My Computer


  7. Posts : 19,518
    W11+W11 Developer Insider + Linux
       #7

    Shutdown button on the case ?
      My Computers


  8. Posts : 6
    Windows 10 home
    Thread Starter
       #8

    The one on the case and the one in Windows, both do the same
      My Computer


  9. Posts : 19,518
    W11+W11 Developer Insider + Linux
       #9

    boristhemoggy said:
    The one on the case and the one in Windows, both do the same
    You can make desktop shortcut and/or pin it to start menu and taskbar for now until somebody find another way to change setting.
      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 11:29.
Find Us




Windows 10 Forums