Fix Windows restarts when you select shutdown

Martin Brinkmann
Jul 2, 2018
Windows
|
26

A particularly common issue that Windows users run into is that the PC does not shut down when you select the shutdown option but restarts instead.

While this looks to be an error caused by the operating system, it sometimes hints at larger issues that users and administrators may be unaware of.

Here is what happens usually. When you select shutdown using the Start menu, the Ctrl-Alt-Del menu, or other means, Windows runs the shutdown command but restarts the PC instead of executing the shutdown command.

While this can be a hiccup and resolved when you select shutdown the next time, the issue may also persist so that users use other means such as cutting the power connection to turn off the computer.

Option 1: Caused by a crash

automatic restart windows

One common cause for the restart instead of shut down issue is a crash. Windows is configured to automatically restart when the system crashes and that includes crashes that happen after you activate the shutdown option.

The configuration leads to an endless loop of shutdown commands and reboots provided that the crash happens on every shut down of the system. It is thankfully pretty easy to disable the option.

While that won't take care of the issue that caused the crash in first place -- you should investigate it using the Event Viewer or other means -- it ensures that Windows shuts down if you select the shutdown option.

Here is how you disable the automatic restart when the system crashes.

  1. Use the keyboard shortcut Windows-Pause to open the System Control Panel applet. If you don't have a Pause-key tap on Start, type Control Panel, select the result, and select System & Security > System. Or, tap on start, type sysdm.cpl and press Enter to open the Control Panel applet directly.
  2. Select "Advanced system settings".
  3. Activate "Settings" under Startup and Recovery.
  4. Remove the checkmark from "Automatically restart"
  5. Close the configuration windows.

Windows should shut down after you made the change if the shutdown issue was caused by a crash.

Option 2: Disable Fast Startup

windows fast startup

Fast Startup was introduced in Windows 8 by Microsoft to speed up the start (and shut down) of the system.

The feature is enabled by default on Windows 8 and newer versions of Windows; while it works just fine most of the time, it may also cause issues such as issues with dual-boot systems or with mouse and keyboard not working properly.

Disabling Fast Startup sometimes resolves shutdown and restart related issues on Windows machines.

  1. Tap on the Start button to display the start menu.
  2. Type powercfg.cpl and select Power Options to load the Control Panel applet.
  3. Select "Choose what the power buttons do" when the Power Options window opens.
  4. Locate "Turn on fast startup (recommended) under Shutdown settings and uncheck the optinos.
  5. Select save changes.

Note that system startup is slowed down when you disable the option. It may resolve your shutdown issues on the other hand.

Now You: Have you experience shutdown issues before on Windows?

Summary
Fix Windows restarts when you select shutdown
Article Name
Fix Windows restarts when you select shutdown
Description
A particularly common issue that Windows users run into is that the PC does not shut down when you select the shutdown option but restarts instead.
Author
Publisher
Ghacks Technology News
Logo
Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. Afonso Mapanga said on February 1, 2022 at 7:17 am
    Reply

    Thank you, it works!

  2. Alexander Obi said on September 20, 2021 at 3:39 pm
    Reply

    Second option worked like a charm.

  3. Ketan said on July 24, 2020 at 2:39 pm
    Reply

    I tried option 1 but it didn’t resolve the problem. I’m running on windows 7, so I can’t try option 2. Does anyone know what else I can try?

  4. André Baggio said on April 4, 2020 at 1:12 pm
    Reply

    Thanks man !!!! I had done several things, update BIOS, format PC, updated drivers… nothing worked !!

    And this simple uncheck on “Turn on fast start up ” resolved !!

    And you explanaition that “with mouse and keyboard not working properly” makes a lot of sense bc my keyboard sometimes freezes on this laptop.

    Regards from Brazil !

  5. Dirgster said on March 29, 2020 at 3:28 am
    Reply

    I have the same problem with my brand new, one-month-old Dell XPS 8930 desktop. When I shut the computer down at night, it will restart voluntarily in a few minutes. I have been pulling the power plug every night, so the computer will stay turned off instead of restarting after shutdown. Any other solution?

  6. Ravan said on March 19, 2020 at 7:18 pm
    Reply

    System shutdown but automatic restart any solution

  7. Adam Burton said on March 15, 2020 at 6:19 am
    Reply

    Just installed windows on a new build yesterday. Having this same issue. It comes right back on if I shut down or select sleep.

  8. Anonymous said on March 12, 2020 at 9:50 am
    Reply

    Thanks !

    2nd option worked well for me.

  9. Nanang Taten said on February 5, 2020 at 1:03 am
    Reply

    I tried all above stated but nothing helps here.

    1. Romeo said on September 21, 2022 at 10:21 pm
      Reply

      Use cmd to trun off ure pc

      Open cmd
      Type : shutdown/s

    2. Alireza B said on February 18, 2021 at 11:52 am
      Reply

      I did all instruction suggested above but it is not fix yet!!!

      PC is restarting after Shutdown Commend !!

  10. Peter C Gorman said on January 2, 2020 at 4:29 am
    Reply

    I’m building a rig for a coworker, i’ve reduced things down to a clean boot, disabled fast startup, disabled automatically resetting on a crash, updated most of the drivers for windows, network card, checked to see if the network card had the check-able box to allow it to reset the system (it does not have that option). All I have on this thing other than win10 home is vlc media player, geforce experience, and google chrome. I’m beginning to think that there may be some sort of hardware issue because i’ve just about exhausted all the software approaches I can think of, and that I could find online. My only issue is that the computer restarts in the midst of shutting down. Perhaps I pinned out the control panel wrong, but the reset and power buttons work fine and holding down the power button on the computer succeeds in forcing it off for good. My power source is a BeQuiet with ample wattage for my layout so I do not think it is an issue of not having enough power. I have also gone into the power settings to max out High Performance energy plans wherever possible. I’m going to see if maybe new drivers for my bios and cpu might somehow do something, but I’m damn near baffled by the elusiveness of the problem.

    1. Spencer K. said on May 22, 2021 at 2:21 am
      Reply

      @ Peter C Gorman,

      Did you figure out the issue or did your coworker? I’m having the same problem and ran the same checks as you.

    2. Badhan said on January 22, 2021 at 6:35 pm
      Reply

      Thanks a lot.
      It does work.
      Lot of love.
      thanks again.❤️

  11. Juf said on November 29, 2019 at 12:47 pm
    Reply

    Sorry, tried everything before, but nothing helps. Help!

  12. Laqueesha said on September 5, 2019 at 9:24 pm
    Reply

    I have the same problem too, with Windows Vista Business SP2 (both 32 bit and 64 bit). After reinstalling a fresh version of the OS it still does it. Turning it off with the power button keeps it off, but I’d rather not do that all the time. I’m at my wits end.

  13. The Dave! said on April 27, 2019 at 6:43 am
    Reply

    I have tried all of these options and then some. Even as far as following some regedit guides to disable the restart and nothing is working. I have even tried executing the commands outlined above by Tom.

  14. o_O said on July 3, 2018 at 11:00 pm
    Reply

    LOL, I think I had just this issue few days ago… on win 98se

  15. Rush said on July 2, 2018 at 11:17 pm
    Reply

    Martin, do you have my IP and are you running ghost software?

    Just kidding….LOL

    But, I have encountered a problem lately, whereas, every time I refresh my system, I always… Power Options / choose what the buttons do, including what closing the lid does….Shut Down.

    Lately, when I go to shut down, (Win 8.1) I turn off WiFi, depress the power button, but seems to enter sleep as opposed to shutting down, so I did UN-check the quick start-up, and seemed to help. That was about a week ago…that is why I tease about IP/Ghost software.

    1. sunnytimes said on July 3, 2018 at 11:04 pm
      Reply

      i have a similar issue except when i press the power button the laptop does nothing .. i had to make a shut down shortcut and stuck it in the quick launch .. really annoying tho , i like to listen to music and just hit the button to turn it off. all my settings say shut down with power button.

  16. just me said on July 2, 2018 at 10:19 pm
    Reply

    Hi, i have this problem with win10…

    Sometimes when shutting down, pc shuts down, but keeps running in a way.

    My screen blanks, like it shoud when closing. but the lights and fans keep running.

    Then i need to press the start button for 5 secs to “close all”/shut down

    This behavior is not allways, but many times.

    1. Teiji said on July 10, 2018 at 3:29 am
      Reply

      I had this happen before. You should turn off Fast Startup and also run the Troubleshooter for any pending updates. It usually fixes it for me. Some pending updates will cause that and prevent the system from shutting down properly.

      1. Anonymous said on July 10, 2018 at 6:42 pm
        Reply

        thanx for the info Teiji

        i’ll see what i can do about it

  17. Robert G. said on July 2, 2018 at 3:55 pm
    Reply

    Thanks Tom for the command lines.

  18. Mark Hazard said on July 2, 2018 at 3:00 pm
    Reply

    I haven’t encountered that problem yet, but the solution is good to know.
    Thanks Martin.

  19. Tom Hawack said on July 2, 2018 at 12:17 pm
    Reply

    Here with Windows 7 I’ve never experienced Windows restarting when ordered to shutdown, maybe because I’ve always had “Automatically restart” unchecked in the Advanced System settings.

    Also, rather than Windows 7’s dedicated built-in commands I prefer using Nirsoft’s nircmd application with 3 links on my desktop :

    Power-off :
    C:\Windows\nircmd.exe qboxtop “Confirm POWEROFF?” “POWEROFF” c:\Windows\System32\shutdown.exe -s -t 00

    Reboot :
    C:\Windows\nircmd.exe qboxtop “Confirm REBOOT?” “REBOOT” c:\Windows\System32\shutdown.exe -r -t 00

    Standby :
    C:\Windows\nircmd.exe qboxtop “Confirm STANDBY?” “STANDBY” C:\Windows\System32\rundll32.exe Powrprof.dll,SetSuspendState Sleep

    With the confirmation options because I already happened to click one of those links inadvertently (always when wondering what my answer to a user’s comment here would be, of course! ). I mention this Nirsoft tool for those who might be interested, not as an argument against Windows’ dedicated commands.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.