tắt hoàn toàn update win 10
Bạn có thể tạo file .bat để tắt hầu hết các thành phần Windows Update. Tuy nhiên, lưu ý rằng Windows 10 có thể tự bật lại một số dịch vụ sau các bản cập nhật lớn, nên không có cách nào đảm bảo "tắt hoàn toàn vĩnh viễn" chỉ bằng một file .bat.
File Disable_Windows_Update.bat
Chạy bằng quyền Administrator.
@echo off title Disable Windows Update echo Stopping Windows Update services... net stop wuauserv /y net stop UsoSvc /y net stop WaaSMedicSvc /y net stop bits /y net stop dosvc /y echo Disabling services... sc config wuauserv start= disabled sc config UsoSvc start= disabled sc config WaaSMedicSvc start= disabled sc config bits start= disabled sc config dosvc start= disabled echo Disabling scheduled tasks... schtasks /Change /TN "\Microsoft\Windows\WindowsUpdate\Scheduled Start" /Disable schtasks /Change /TN "\Microsoft\Windows\UpdateOrchestrator\Schedule Scan" /Disable schtasks /Change /TN "\Microsoft\Windows\UpdateOrchestrator\USO_UxBroker_Display" /Disable schtasks /Change /TN "\Microsoft\Windows\UpdateOrchestrator\Reboot" /Disable echo. echo Windows Update has been disabled. pause
Nếu muốn bật lại
Tạo file Enable_Windows_Update.bat
@echo off title Enable Windows Update sc config wuauserv start= auto sc config UsoSvc start= auto sc config WaaSMedicSvc start= demand sc config bits start= delayed-auto sc config dosvc start= auto net start bits net start dosvc net start wuauserv net start UsoSvc schtasks /Change /TN "\Microsoft\Windows\WindowsUpdate\Scheduled Start" /Enable schtasks /Change /TN "\Microsoft\Windows\UpdateOrchestrator\Schedule Scan" /Enable schtasks /Change /TN "\Microsoft\Windows\UpdateOrchestrator\USO_UxBroker_Display" /Enable schtasks /Change /TN "\Microsoft\Windows\UpdateOrchestrator\Reboot" /Enable echo Windows Update enabled. pause
Lưu ý
- Chạy các file này bằng Run as administrator.
-
Một số dịch vụ như WaaSMedicSvc (Windows Update Medic Service) được Windows bảo vệ. Trên nhiều phiên bản Windows 10,
sc confighoặcnet stopcó thể không tác động được đến dịch vụ này do cơ chế bảo vệ của hệ điều hành. - Việc tắt Windows Update trong thời gian dài có thể khiến máy bỏ lỡ các bản vá bảo mật quan trọng.
Nếu mục tiêu của bạn là máy không bao giờ tự tải và cài cập nhật, có thể kết hợp thêm Group Policy hoặc chỉnh Registry để hạn chế cập nhật tự động, thay vì chỉ dừng dịch vụ.

