1. Home
  2. Windows

How to disable system restart on Windows 10

You can restart your system any time you want. It’s good for trouble-shooting odd problems. Of course, it’s not just the user that can restart your desktop. Windows 10 can, and will restart your system if it needs to. Windows Update will restart your system if it needs to and for a lot of people, this is annoying. The deferred updates feature and installing updates outside active hours isn’t enough. If you need to disable system restart, you can do so by editing the Windows registry and system tasks.

It’s kind of a long, tedious task but Reddit user¬†aveyo has a BAT file that can take care of it all.

Disable system restart

You can download the BAT file from here. If you, understandably, don’t want to run a script you just downloaded from the internet, you can open it in Notepad and take a look at it.

The script will modify the registry value here;

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\UpdateOrchestrator

It will also disable¬†WakeToRun for all tasks that can wake your system and initiate a restart. This is of course Windows Updates. Examine the script and even if you don’t know much about coding, you will be able to see what changes will be made.

You need to run the script with admin rights. Run it once, and system restart will be disabled. Run it a second time, and system restart will be enabled.

This will work but you ought to know that the changes it makes will be reset when you install a Windows update. If you install a major feature update you can bet your important files that it will reset these settings. If you install security updates, there’s a chance they might be reset.

If you choose to disable system restart, you need to be careful with your updates. This script will not block updates so they will still download and install however, some updates will install and require a system restart. If you don’t restart your system, the update might cause problems or, at the very least, it will block other updates from installing correctly. You need to be responsible with how you use the script.

It’s best used for a specific time period; i.e., when you don’t want your system restarting regardless of what the cause is e.g., when you’re downloading a really big file. After that, you should allow Windows 10 to restart your system when/if it needs to. As annoying as it may be, it is necessary.

If you don’t want to use a script, consider using Shutdown Blocker.

Leave a comment