Watch Demo×
×

See NinjaOne in action!

By submitting this form, I accept NinjaOne's privacy policy.

How to Disable Automatic Restart in Windows 10

How to Disable Automatic Restart in Windows 10 blog banner image

Automatic restarts in Windows 10 can be a significant source of frustration for users, often disrupting workflow and causing inconvenience. Understanding the methods available to disable automatic restarts helps maintain control over system behavior as well as prevent unexpected interruptions. This guide provides comprehensive step-by-step instructions on how to disable automatic restarts in Windows 10. 

A brief overview of automatic restarts in Windows 10

In Windows 10, automatic restarts are typically triggered by various system events, including the installation of operating system updates, applying system changes, or resolving critical errors. These automatic restarts are designed to keep the system up-to-date and maintain optimal performance. However, they can occur at inconvenient times, such as during important work or tasks, leading to frustration and productivity loss.

Methods to disable automatic restart

Disabling automatic restarts on Windows 10 can be achieved via several methods, including using Windows Settings, Group Policy Editor, Registry Editor, and PowerShell. Here are the options to disable automatic restarts:

Using Windows settings

  • Open “Settings” by pressing the Windows key + I.
  • Go to “Update & Security” > “Windows Update.”
  • Click on “Advanced options.”
  • Under “Pause updates,” toggle the switch to enable “Pause until” and set a date in the future.
  • Finally, under “Restart options” toggle the switch to disable “Automatically restart.”

Using Group Policy editor

  • Open the Group Policy Editor by pressing the Window key and typing “gpedit.msc”, then press Enter.
  • Expand “Computer Configuration”, then “Administrative Templates”
  • Expand “Windows Components”, followed by “Windows Update.”
  • Double-click on “No auto-restart with logged-on users for scheduled automatic updates installations” policy.
  • Select “Enabled” and click “OK.”

Using Registry editor

  • Open Registry Editor by clicking on Windows key + R. Then, type “regedit,” and press Enter.
  • Go to the following key: HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
  • If the “AU” key doesn’t exist, create it by right-clicking on “WindowsUpdate” and selecting “New” > “Key” and naming it “AU.”
  • Right-click on the right pane, select “New” > “DWORD (32-bit) Value,” and name it “NoAutoRebootWithLoggedOnUsers.”
  • Double-click on the new DWORD, set the value to “1,” and click “OK.”

Using PowerShell

  • Open PowerShell as an administrator.
  • To disable automatic restarts for Windows Update, run the following command:
  • Set-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU -Name “NoAutoRebootWithLoggedOnUsers” -Value 1 

After following any of these methods, Windows 10 will no longer automatically restart after updates are installed or for other reasons, providing users with more control over when their system restarts.

Managing Windows updates

To better manage Windows updates and prevent automatic restarts, consider the following additional configuration changes:

  • Setting up active hours: Configure active hours in the Windows Update settings to specify the times when the system should not restart. This feature allows users to set a range of hours during which updates and restarts are not permitted, helping to avoid interruptions during critical work periods.
  • Scheduling restarts: Schedule restarts during off-peak hours or when the system is not in use to minimize disruptions. By setting up scheduled restarts, users can ensure that updates are applied at convenient times, reducing the likelihood of interruptions during productive work hours.
  • Disable fast-startup: Fast startup can cause issues with Windows updates, consider disabling it for update consistency.
  • Pausing updates: Temporarily pause updates to prevent automatic installations and restarts during critical tasks or meetings. This feature allows users to temporarily suspend updates for up to 35 days, providing flexibility and control over the update process.

Troubleshooting and common issues

If you encounter issues or errors while disabling automatic restarts, try the following troubleshooting steps:

  • Check permissions: Ensure you have administrative privileges to modify Group Policy or Registry settings. Users may encounter permission issues when attempting to modify system settings, requiring administrative credentials to proceed.
  • Restart the system: Some changes may require a system restart to take effect. If you have made changes to Group Policy, Registry, or other system settings, restarting the system can help ensure that the changes are applied correctly.
  • Verify settings: Double-check the settings in Group Policy editor, Registry editor, or PowerShell to ensure they are configured correctly. Incorrect settings can prevent the intended changes from being applied, leading to continued automatic restarts.

Best practices for preventing automatic restarts

To maintain control over system restarts and ensure a smooth user experience, consider the following best practices:

  • Check update settings regularly: Review and adjust Windows Update settings periodically to align with your preferences and schedule. By regularly reviewing update settings, users can ensure that updates are applied at appropriate times and minimize the risk of unexpected restarts.
  • Keep backups: Create regular backups of your important files and system settings to safeguard against data loss during updates or system changes. Backing up important data ensures that users can recover their files and settings in the event of an unexpected restart or system failure.
  • Stay Informed: Stay informed about important updates and security patches by subscribing to official Microsoft communications or news sources. Keeping abreast of important updates allows users to prioritize critical updates and plan for potential restarts accordingly.

Create a productive Windows environment

Disabling automatic restarts in Windows 10 provides control over system behavior, and prevents unexpected interruptions. By following the methods outlined in this guide and adopting best practices for managing updates, users can ensure a smoother and more productive Windows 10 experience. Taking proactive steps to manage Windows updates and prevent automatic restarts is key to maintaining system stability and optimizing productivity.

Next Steps

Building an efficient and effective IT team requires a centralized solution that acts as your core service deliver tool. NinjaOne enables IT teams to monitor, manage, secure, and support all their devices, wherever they are, without the need for complex on-premises infrastructure.

Learn more about Ninja Endpoint Management, check out a live tour, or start your free trial of the NinjaOne platform.

You might also like

Ready to become an IT Ninja?

Learn how NinjaOne can help you simplify IT operations.

NinjaOne Terms & Conditions

By clicking the “I Accept” button below, you indicate your acceptance of the following legal terms as well as our Terms of Use:

  • Ownership Rights: NinjaOne owns and will continue to own all right, title, and interest in and to the script (including the copyright). NinjaOne is giving you a limited license to use the script in accordance with these legal terms.
  • Use Limitation: You may only use the script for your legitimate personal or internal business purposes, and you may not share the script with another party.
  • Republication Prohibition: Under no circumstances are you permitted to re-publish the script in any script library belonging to or under the control of any other software provider.
  • Warranty Disclaimer: The script is provided “as is” and “as available”, without warranty of any kind. NinjaOne makes no promise or guarantee that the script will be free from defects or that it will meet your specific needs or expectations.
  • Assumption of Risk: Your use of the script is at your own risk. You acknowledge that there are certain inherent risks in using the script, and you understand and assume each of those risks.
  • Waiver and Release: You will not hold NinjaOne responsible for any adverse or unintended consequences resulting from your use of the script, and you waive any legal or equitable rights or remedies you may have against NinjaOne relating to your use of the script.
  • EULA: If you are a NinjaOne customer, your use of the script is subject to the End User License Agreement applicable to you (EULA).