Disable Windows Update Patch Script

Apr 24, 2024 - 15:28
Apr 24, 2024 - 15:31
 116
Disable Windows Update Patch Script
setlocal EnableDelayedExpansion
color 17
cls
set /p "continue=Press ENTER to start the process..."

echo Disabling OS Upgrade and Automatic Updates...

set wuKeyPath=HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
set auKeyPath=HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
set driverKeyPath=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DriverSearching

reg add "%wuKeyPath%" /v DisableOSUpgrade /t REG_DWORD /d 1 /f
reg add "%wuKeyPath%" /v SetDisableUXWUAccess /t REG_DWORD /d 1 /f

reg add "%auKeyPath%" /v NoAutoUpdate /t REG_DWORD /d 1 /f
reg add "%auKeyPath%" /v AUOptions /t REG_DWORD /d 2 /f
reg add "%auKeyPath%" /v ScheduledInstallDay /t REG_DWORD /d 0 /f
reg add "%auKeyPath%" /v ScheduledInstallTime /t REG_DWORD /d 3 /f

reg add "%driverKeyPath%" /v SearchOrderConfig /t REG_DWORD /d 0 /f

echo OS upgrades, Automatic Updates, and AutoInstall Drivers have been disabled.
pause

Download Files

Cảm xúc của bạn?

like

dislike

love

funny

angry

sad

wow