Why windows 11 restarts when it is not able to update

Support 0 Reputation points

We are running stand alone systems with some production software, they restart automatically when they cannot update

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,989 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,675 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. S.Sengupta 16,571 Reputation points MVP

    I shall suggest you look at the event viewer error log to find out the clue.

    Open PowerShell as Administrator and run the following script:

    # Disable Automatic Restarts
    New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" -Force
    New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" -Force
    Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name 'NoAutoRebootWithLoggedOnUsers' -Value 1
    1 person found this answer helpful.

  2. Daisy Zhou 20,461 Reputation points Microsoft Vendor

    Hello Support,

    Thank you for posting in Q&A forum.

    Windows 11 may restart when it is not able to update due to several reasons, such as:

    1. The update requires a restart to complete the installation process.
    2. The update may have encountered an error or issue during the installation process, which requires a restart to resolve.
    3. The update may have caused a conflict with other software or drivers on your system, which requires a restart to resolve.

    To prevent Windows 11 from automatically restarting when it encounters an update issue, you can change the Windows Update settings to notify you before restarting. To do this, go to Settings > Update & Security > Windows Update > Select Schedule the restart and choose a time that's convenient for you. This will give you more control over when your system restarts after an update.


    I hope the information above is helpful.

    If you have any questions or concerns, please feel free to let us know.

    Best Regards,

    Daisy Zhou


    If the Answer is helpful, please click "Accept Answer" and upvote it.