Computer >> Hướng Dẫn Máy Tính >  >> Phần Mềm >> Phần Mềm

Khắc phục lỗi 'Something didn't go as planned' cập nhật Windows 11 nhanh chóng

Windows hiển thị thông báo "Something didn't go as planned. No need to worry—undoing changes." (Có sự cố không mong muốn. Đừng lo — đang hoàn tác thay đổi.) khi gặp trở ngại cập nhật hệ điều hành. Hỏng file hệ thống và can thiệp phần mềm xung đột là nguyên nhân.

May mắn thay, lỗi Windows Update này khá dễ khắc phục. Đợi máy khởi động, thực hiện các bước troubleshooting dưới đây.

Chạy Windows Update Troubleshooter

Chạy trình khắc phục sự cố Windows Update nên là hành động đầu tiên sửa lỗi Windows Update. Troubleshooter chẩn đoán và giải quyết vấn đề gây lỗi "Something didn't go as planned."

  1. Mở Windows Settings, chọn System thanh bên, chọn Troubleshoot (Khắc phục sự cố).
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng
  1. Chọn Other troubleshooters (Trình khắc phục sự cố khác) mục "Options".
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng
  1. Chọn nút Run bên cạnh "Windows Update".
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng

Microsoft khuyên khởi động lại máy khi troubleshooter hoàn thành chẩn đoán và áp dụng sửa chữa.

Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng

Bạn cũng chạy lại troubleshooter khi PC bật lại để kiểm tra lỗi thêm. Thử cài lại cập nhật sau khi chạy lại Windows Update troubleshooter.

Chạy System File Checker (SFC)

System File Checker (SFC) sửa chữa hoặc khôi phục file hệ thống hỏng ngắt quá trình Windows Update. Kết nối Wi-Fi, làm theo bước dưới chạy quét SFC.

  1. Click chuột phải logo Windows thanh tác vụ, chọn Terminal (Admin).
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng
  1. Gõ sfc /scannow trong console, nhấn Enter.
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng

Đợi 10-15 phút kết quả quét. Cài lại cập nhật nếu nhận thông báo "Windows Resource Protection found corrupt files and successfully repaired them." (Bảo vệ tài nguyên Windows tìm thấy file hỏng và sửa thành công.)

Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng

"Windows Resource Protection doesn't find any integrity violations." (Không tìm thấy vi phạm toàn vẹn) nghĩa là PC không file hệ thống hỏng — làm bước troubleshooting tiếp theo nếu nhận thông báo này.

Đặt lại (Reset) các thành phần Windows Update

Các thành phần Windows Update là file và dịch vụ giúp máy phát hiện, tải, cài đặt cập nhật Windows và app. Làm theo bước dưới đặt lại thủ công thành phần Windows Update.

  1. Mở menu Start, gõ cmd thanh tìm kiếm, chọn Run as administrator dưới Command Prompt.
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng
  1. Chạy các lệnh sau liên tiếp trong console Command Prompt.
net stop wuauserv
net stop bits
net stop cryptsvc

Các lệnh dừng dịch vụ Windows Update, Background Intelligent Transfer Service, và Cryptographic services.

  1. Tiếp theo, gõ hoặc dán cd /d %windir%\system32 vào console, nhấn Enter.
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng
  1. Chạy các lệnh sau để đăng ký lại (reregister) file DLL BITS và Windows Update trong Windows Registry.
regsvr32.exe atl.dll
regsvr32.exe urlmon.dll
regsvr32.exe mshtml.dll
regsvr32.exe shdocvw.dll
regsvr32.exe browseui.dll
regsvr32.exe jscript.dll
regsvr32.exe vbscript.dll
regsvr32.exe scrrun.dll
regsvr32.exe msxml.dll
regsvr32.exe msxml3.dll
regsvr32.exe msxml6.dll
regsvr32.exe actxprxy.dll
regsvr32.exe softpub.dll
regsvr32.exe wintrust.dll
regsvr32.exe dssenh.dll
regsvr32.exe rsaenh.dll
regsvr32.exe gpkcsp.dll
regsvr32.exe sccbase.dll
regsvr32.exe slbcsp.dll
regsvr32.exe cryptdlg.dll
regsvr32.exe oleaut32.dll
regsvr32.exe ole32.dll
regsvr32.exe shell32.dll
regsvr32.exe initpki.dll
regsvr32.exe wuapi.dll
regsvr32.exe wuaueng.dll
regsvr32.exe wuaueng1.dll
regsvr32.exe wucltui.dll
regsvr32.exe wups.dll
regsvr32.exe wups2.dll
regsvr32.exe wuweb.dll
regsvr32.exe qmgr.dll
regsvr32.exe qmgrprxy.dll
regsvr32.exe wucltux.dll
regsvr32.exe muweb.dll
regsvr32.exe wuwebv.dll
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng

Bạn nhận thông báo thành công pop-up sau mỗi lệnh. Bước tiếp theo đặt lại Windows Socket (Winsock). Sửa vấn đề ngăn thiết bị kết nối internet hoặc tải Windows Updates.

  1. Gõ hoặc dán netsh winsock reset trong Command Prompt, nhấn Enter.
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng

Khởi động lại máy khi thấy thông báo "Successfully reset the Winsock Catalog", thử cài Windows Update.

Xóa bộ nhớ đệm (Cache) Windows Update

File trong thư mục SoftwareDistribution giúp máy cập nhật hệ điều hành. Windows tự động tải file từ server Microsoft để thực thi cài đặt Windows Update nhanh chóng.

Bạn gặp lỗi Windows Update nếu file cache SoftwareDistribution bị hỏng. Xóa file cache Windows Update nếu lỗi "Something didn't go as planned" vẫn tồn tại.

Khuyên dừng dịch vụ Windows Update trước khi xóa file.

  1. Nhấn Windows+R, gõ services.msc vào hộp Run, chọn OK.
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng
  1. Click chuột phải Windows Update, chọn Stop (Dừng).
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng
  1. Nhấn Windows+E mở File Explorer.
  2. Dán C:\Windows\SoftwareDistribution vào thanh điều hướng, nhấn Enter.
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng
  1. Xóa tất cả file và thư mục con trong SoftwareDistribution hoặc di chuyển chúng sang vị trí khác.
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng
  1. Khởi động lại dịch vụ Windows Update, thử cài lại cập nhật. Quay lại Windows Services Manager, click chuột phải Windows Update, chọn Start.
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng

Cài đặt thủ công gói cập nhật (Update Package File)

Microsoft Windows Update Catalog là kho chứa/cơ sở dữ liệu tất cả Windows Updates. Nếu không cài cập nhật qua Windows Settings, tải và cài thủ công từ Microsoft Update Catalog.

  1. Vào Settings, chọn Windows Update thanh bên, kiểm tra tên cập nhật. Tên Windows Update bắt đầu bằng "KB", đôi khi trong ngoặc đơn.
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng
  1. Vào trang web Microsoft Update Catalog, gõ tên cập nhật ô tìm kiếm, nhấn Search.
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng

Nếu có 2 phiên bản cập nhật, tải phiên bản có ngày "Last Updated" mới nhất.

  1. Chọn link download lưu file gói Windows Update vào máy.
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng

Double-click file, làm theo hướng dẫn màn hình cài Windows Update.

Cập nhật Windows trong trạng thái Clean Boot

Thực hiện clean boot khởi động Windows không có chương trình khởi động và driver không thiết yếu. Trạng thái chẩn đoán tương tự boot Windows vào Safe Mode. Môi trường clean boot tạm ngưng phần mềm/dịch vụ có thể xung đột với cập nhật phần mềm/app.

  1. Mở menu Start, gõ msconfig thanh tìm kiếm, chọn Run as administrator mở System Configuration với quyền admin.
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng
  1. Chuyển tab Services, tích Hide all Microsoft services (Ẩn tất cả dịch vụ Microsoft), chọn Disable all (Vô hiệu hóa tất cả).
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng
  1. Mở tab Startup, chọn Open Task Manager.
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng

Phím tắt Ctrl+Shift+Esc cũng mở Task Manager. Chọn "Startup apps" thanh bên, làm bước tiếp theo.

Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng
  1. Kiểm tra cột "Status", vô hiệu hóa tất cả app khởi động enabled. Click chuột phải tất cả app khởi động enabled, chọn Disable.
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng
  1. Đóng Task Manager, quay lại tab Startup System Configuration, chọn OK.
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng
  1. Chọn Restart vào môi trường clean boot, cài lại Windows Update khi PC reboot.
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng

Đặt lại máy thoát clean boot khi cài thành công.

  1. Mở tab General System Configuration, chọn Normal startup.
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng
  1. Chuyển tab Services, bỏ tích Hide all Microsoft services, chọn Enable all (Bật tất cả).
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng
  1. Mở tab Startup, chọn Open Task Manager, bật lại chương trình khởi động đã tắt bước 4.
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng
  1. Click chuột phải ứng dụng, chọn Enable.
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng
  1. Đóng Task Manager, chọn OK đóng System Configuration.
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng
  1. Chọn Restart lưu thay đổi, thoát clean boot.
Khắc phục lỗi  Something didn t go as planned  cập nhật Windows 11 nhanh chóng

Gỡ cài đặt phần mềm bảo mật thứ ba

Ứng dụng bảo mật thứ ba can thiệp quá trình cập nhật OS trong Windows. Gỡ cài đặt app bảo mật thứ ba (antivirus, firewall, anti-malware, app dọn dẹp, v.v.) trên PC, cài lại cập nhật.

Gỡ Malwarebytes giải quyết lỗi Windows Update cho một số người dùng Windows 11 trên diễn đàn Microsoft Community.

Trước khi gỡ ứng dụng, đảm bảo biết cách cài lại và có product key. Cũng xác minh tương thích với Windows Update mới bạn áp dụng.

Đặt lại (Reset) Windows nếu mọi thứ vẫn không đi theo kế hoạch

Đặt lại Windows hoặc cài đặt sạch (clean reinstall) Windows 11 giải quyết vấn đề nếu tất cả troubleshooting thất bại. Liên hệ Windows Support nếu lỗi cài đặt vẫn tiếp diễn.