Windows Update Disable

TairikuOkami Nov 25th, 2017 (edited) 1,426 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. rem
  2. rem
  3. rem
  4. rem
  6. rem Windows Update Manager -
  7. rem DISM /Online /Add-Package /PackagePath:%USERPROFILE%\Desktop\
  9. rem Option 1 - Disable auto-checking for updates (manual checking works, whenever YOU want, not Windows 10)
  10. takeown /f "%WINDIR%\System32\UsoClient.exe" /a
  11. icacls "%WINDIR%\System32\UsoClient.exe" /inheritance:r /grant:r Administrators:F /c
  12. icacls "%WINDIR%\System32\UsoClient.exe" /remove "Administrators" "Authenticated Users" "Users" "System"
  13. rem
  15. rem takeown /s %computername% /u %username% /f "%WINDIR%\System32\UsoClient.exe"
  16. rem icacls "%WINDIR%\System32\UsoClient.exe" /inheritance:r /grant:r %username%:(OI)(CI)F /q /c
  17. rem icacls "%WINDIR%\System32\UsoClient.exe" /remove %username% "Administrators" "Authenticated Users" "Users" "System"
  19. rem To Restore (when there is update/upgrade updating exe, otherwise it will fail)
  20. rem icacls "%WINDIR%\System32\UsoClient.exe" /reset
  22. rem Option 2 - remove SoftwareDistribution and create a nonexistent symlink, checking for updates will always fail
  23. rem taskkill /im TiWorker.exe /f
  24. rem net stop wuauserv /y
  25. rem rd "%WINDIR%\SoftwareDistribution" /s /q
  26. rem mklink /d "%WINDIR%\SoftwareDistribution" "X:\SoftwareDistribution"
  28. rem Option 3 - block svchost.exe in the firewall (outbound) - but it also blocks updating of certificates (daily)
  29. rem But you have to setup DNS servers first, disable DNS Client service, restart
  30. rem wmic nicconfig where DHCPEnabled=TRUE call SetDNSServerSearchOrder ("")
  31. rem reg add "HKLM\System\CurrentControlSet\Services\Dnscache" /v "Start" /t REG_DWORD /d "4" /f
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand