How to prevent unwanted computer restarts after an update | INSTRUCTIONS

Although our site is primarily focused on Android mobile devices, many of us have a Microsoft computer at home, and you might welcome some advice on this topic as well. For example, during a spontaneous restart.

Although it is Windows 11 already established system with caught flies, sometimes one has to wonder what banalities are switched off from production. Or rather, why doesn’t Microsoft let the user know after the first launch that it will sometimes do something against their will. Like for example spontaneous restart after downloading and installing updates. Can it freak you out too, especially if you’re working on something right now? We will advise how to solve it.

How to prevent unwanted computer restarts after an update | INSTRUCTIONS
Lenka Ivančíková

Updates are important

First of all, definitely we recommend use the system with all available updates and security patches. It’s a simple step towards a more satisfying and peaceful use of your computer or laptop. Cybercriminals do not sleep, and security patching is important.

Even that restart is not always a complete tragedy, and on optimized and newer computers it literally takes the maximum time a few tens of seconds. However, not everyone has their computer or work computer fast enough, and above all, such an unexpected restart can occur at the most inopportune moment and extremely disrupt work morale. With more sensitive natures, it can motivate violence on hardware.

In doing so, literally 5 clicks are enough and no unwanted restart will happen during work, study or relaxation time. The procedure is very simple:

  1. First, after clicking on Start, select settings (or start typing the word Settings)
    Command line as a screenshot managerCommand line as a screenshot manager
    Command line as administrator l Source: Marián Biel

  2. Go to the last menu on the left – Windows Update
    Advanced options Windows Update screenshotAdvanced options Windows Update screenshot
    Extended Windows Update options l Source: Marián Biel

  3. Then select the Advanced options menu on the right
  4. In the Active Usage Time line at the end, click the small arrow and select Manual.

    Selecting the active time for Windows Update screenshotSelecting the active time for Windows Update screenshot
    Selecting the active time for Windows Update l Source: Marián Biel

  5. The menu will be expanded to include the selection of the start time and end time of the activity on the computer, during which the system will not bother with updates.

Feel free to look for other settings and you can, for example, activate the menu immediately above, where Windows 11 will always notify you when an update will require a computer restart to complete.

ciaraciaraciara

You might be interested in:

ciaraciaraciara

For the more experienced who never want to restart

If for some reason you need to completely disable the automatic restart of the computer after installing the update, even outside the set active hours – there is another way. But be carefulis intended for more advanced users who have experience with registry editing in the system Windows 11.

The procedure requires installation Group Policy Editorwhich allows you to modify various system elements, therefore we advise you to try it only on your own computer and at your own risk. There is a risk of damage only when certain components are turned off on purpose, such as access to USB connectors and the like, but there are still further steps only for the more experienced.

  1. First, launch Start and start typing “Command Prompt”. After a few letters you should see a menu from which select Run as administrator.
  2. Type this command in the line and confirm:

FOR %F IN (“%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~*.mum”) DO (DISM /Online /NoRestart /Add-Package:”%F”)

  1. After installation, copy this code again and confirm again with the Enter button:

FOR %F IN (“%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~*.mum”) DO (DISM /Online /NoRestart /Add-Package:”%F”)

  1. Open the registry editor with Win+R and type pgedit.msc
    running gpedit screenshotrunning gpedit screenshot
    Starting the registers gpedit.msc l Source: Marián Biel

  2. From the menu in the left column, expand Computer Configuration and click on Administrative Templates there. In them, in the right window, double-click to select Windows Components.
    Windows Components and Windows Update in the registry screenshotWindows Components and Windows Update in the registry screenshot
    Windows Components and Windows Update in registries l Source: XDA

  3. In the next menu, scroll to the Windows Updates line and, after opening it, to Legacy Policies.
    Legacy Policies screenshotLegacy Policies screenshot
    Select Legacy Policies l Source: XDA

  4. Now in the menu on the right, select No auto-restart witch logged on users for scheduled automatic updates with one click and you will see the Edit policy settings link.
    no-auto-restart in registriesno-auto-restart in registries
    Selecting No auto-restart and a link to edit them l Source: XDA

  5. After clicking on them, a new window will appear in which you can select Enabled and confirm by clicking on the OK or Apply button.

    disabling automatic restartdisabling automatic restart
    Select Enabled and confirm to disable automatic restart l Source: XDA

From now on, your computer will never restart itself after installing an update without your permission.

You can also discuss this article on our website AndroidForum. If you’re looking for an answer to a problem with your mobile device, app or accessory, ask in our new AndroidFore.

Our tip

Source: www.mojandroid.sk