⚡ The one-click way to disable auto updates for good, without leaving leftover stuff running in the background.
Warning
Before running this script, ensure that Windows is fully updated and not currently installing or downloading updates! Interrupting an update could result in breaking your Windows installation!
Clone or Download:
git clone https://github.com/tsgrgo/windows-update-disabler.git
or download it as a ZIP file and extract it.Check for Active Updates:
Run the Script:
disable updates.bat
. This will disable automatic Windows updates.Re-enable Updates (Optional):
enable updates.bat
. This is a complete inverse function of disable updates.bat
and will undo all the changes it did.Regular updates are recommended for security. To update manually:
Enable Updates:
enable updates.bat
to re-enable Windows Update.Perform Updates:
Disable Updates Again:
disable updates.bat
again to disable automatic updates.Some applications, like Microsoft Store, depend on the Windows Update service. To temporarily enable the service:
Enable Update Service:
use update service.bat
to re-enable the Windows Update Service.Use Dependent Applications:
Disable Update Service Again:
disable updates.bat
to disable the update service again.The script performs the following actions to disable automatic updates:
Some of the services and tasks involved are protected from user accounts, and they require elevated system privileges to be modified. PsExec allows the script to run commands with the necessary permissions to bypass these restrictions.
PsExec is part of the official Sysinternals suite from Microsoft. More info: https://docs.microsoft.com/en-us/sysinternals/downloads/psexec