Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

 Windows OS Hub / Windows 10 / Disable Automatic Restart on System Failure in Windows 10/11

April 5, 2022 Windows 10Windows 11Windows Server 2019

Disable Automatic Restart on System Failure in Windows 10/11

Windows has a built-in feature that automatically restarts the operating system in the event of a system failure. This option is enabled by default and allows Windows to automatically restart when a stop error (BSOD) occurs. At the same time, Windows creates a minidump that you can analyze with WinDbg or BlueScreenView. Besides the memory dump, the BSOD screen also shows an error code that is sometimes enough to detect an issue. However, a user is not always able to see the error code since the computer restarts too quickly. In this article, we’ll show you how to enable/disable Automatic Restart on System Failure in Windows 10 and 11.

There are several ways to enable/disable automatic Windows restart on failures:

  • Through the computer properties GUI. Run the command: SystemPropertiesAdvanced.exe. Go to the Advanced tab -> click o Tratup and Recovery Settings -> uncheck the Automatic Restart option in the System Failure section; disable automatic restart on system failure on windows 11
  • You can disable automatic restart via the AutoReboot (REG_DWORD) registry parameter under the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl. You can change the value manually using regedit.exe or with the command prompt. To disable computer automatic restart, set the value to 0:
    reg add “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl” /v AutoReboot /t REG_DWORD /d 0 /f
    AutoReboot registry option under CrashControl key
  • You can use the wmic tool to disable Windows restart on failures: wmic RecoverOS set AutoReboot = False
    wmic RecoverOS disable autoreboot
To enable automatic restart on BSOD errors, use:
wmic RecoverOS set AutoReboot = True

If you want to disable automatic restart only once (at the next computer boot), restart your computer in the advanced startup mode (using the shutdown command: shutdown /r /o /f /t 0, or click Restart in the Start menu while holding down the Shift key).

restart windows with shift key

Select Troubleshoot.

Troubleshoot option on windows recovery environment

Then select Advanced options -> Startup Settings -> Restart.

windows startup settings

After the restart, press F9 or 9 in the Startup Settings to boot the computer with Disable automatic restart after failure option.

safe mode: Disable automatic restart after failure

If your Windows has entered an endless reboot loop, you can disable automatic restart in recovery mode. To access this mode, you must interrupt Windows boot by pressing the Power button three times in a row.

Then Windows tries to boot from the WinRE recovery image in the automatic repair mode (Preparing Automatic Repair).

preparing automatic repair

In this mode, select Advanced options -> Startup Settings -> Restart -> press F9 to boot Windows with automatic restart on failures disabled.

restart computer

If you want to disable restart on failures for an offline Windows image, boot from your Windows installation media and edit the ..\Windows\System32\Config\System registry file. Change the value of the AutoReboot parameter in the HKLM\SYSTEM\CurrentControlSet\Control\CrashControl registry key to 0 and save the registry file to disk.

You can find an example of how to edit the offline Windows registry in the article “The computer restarted unexpectedly”.

0 comment
0
Facebook Twitter Google + Pinterest
previous post
How to Run GPO Logon Script Only Once?
next post
Get a List of Mailboxes a User Has Access to in Exchange/Microsoft 365

Related Reading

Create Organizational Units (OU) Structure in Active Directory...

May 17, 2022

Windows Security Won’t Open or Shows a Blank...

May 17, 2022

How to Manually Install Windows Updates from CAB...

May 16, 2022

RDS and RemoteApp Performance Issues on Windows Server...

May 16, 2022

Deploying Software (MSI Packages) Using Group Policy

May 12, 2022

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows 7
  • Windows Server 2019
  • Windows Server 2016
  • Windows Server 2012 R2
  • PowerShell
  • VMWare
  • Hyper-V
  • MS Office

Recent Posts

  • Create Organizational Units (OU) Structure in Active Directory with PowerShell

    May 17, 2022
  • Windows Security Won’t Open or Shows a Blank Screen on Windows 10/ 11

    May 17, 2022
  • How to Manually Install Windows Updates from CAB and MSU Files?

    May 16, 2022
  • RDS and RemoteApp Performance Issues on Windows Server 2019/2016

    May 16, 2022
  • Deploying Software (MSI Packages) Using Group Policy

    May 12, 2022
  • Updating VMware ESXi Host from the Command Line

    May 11, 2022
  • Enable or Disable MFA for Users in Azure/Microsoft 365

    April 27, 2022
  • Fix: You’ll Need a New App to Open This Windows Defender Link

    April 27, 2022
  • How to Reset an Active Directory User Password with PowerShell and ADUC?

    April 27, 2022
  • How to Completely Uninstall Previous Versions of Office with Removal Scripts?

    April 26, 2022

Follow us

woshub.com

ad

  • Facebook
  • Twitter
  • RSS
Popular Posts
  • How to Allow Multiple RDP Sessions in Windows 10 and 11?
  • Network Computers are not Showing Up in Windows 10/11
  • How to Run Program without Admin Privileges and to Bypass UAC Prompt?
  • How to Sign an Unsigned Device Driver in Windows?
  • How to Download APPX File from Microsoft Store for Offline Installation?
  • Fix: Windows Cannot Connect to the Shared Printer
  • Updating List of Trusted Root Certificates in Windows
Footer Logo

@2014 - 2018 - Windows OS Hub. All about operating systems for sysadmins


Back To Top