Lỗi an unexpected error occurred the update was rolled back năm 2024

Các nguyên nhân phổ biến nhất dẫn đến lỗi "An Unexpected Error Occurred" khi mở cài đặt Ethernet là do bản cập nhật Windows hoặc thay đổi cấu hình của network adapter [bộ điều hợp mạng]. Bản cập nhật Windows có thể gây ra một số sự cố cho driver mạng, ngăn hệ thống kết nối với Internet. Tuy nhiên, nếu sự cố là do bạn đã thay đổi cấu hình của network adapter, thì việc reset lại khá dễ dàng.

Cách khắc phục sự cố "An Unexpected Error Occurred" trong Windows

Dù nguyên nhân là gì, một trong những bản sửa lỗi sau sẽ có thể giúp bạn kết nối mạng trở lại, cũng như lấy lại quyền truy cập vào thuộc tính Ethernet và không gặp phải lỗi "An Unexpected Error Occurred" nữa.

1. Cài đặt lại driver Ethernet

Nếu cấu hình driver đã bị thay đổi, bạn chỉ cần gỡ cài đặt và cài đặt lại driver để mọi thứ trở về mặc định. Điều này có thể sẽ giải quyết lỗi "An unexpected error occurred".

Nhấn Win + R và nhập devmgmt.msc để khởi chạy Device Manager. Mở rộng danh sách Network adapters và tìm kiếm Ethernet adapter của bạn. Trong hầu hết các trường hợp, từ ethernet sẽ xuất hiện trong tên. Nhấp chuột phải vào driver và chọn Uninstall device.

Cài đặt lại driver Ethernet

Chọn Uninstall đặt khi được nhắc xác nhận.

Khi thiết bị của bạn biến mất khỏi danh sách, hãy nhấp vào Action từ ribbon trên cùng và chọn Scan for hardware changes. Windows sẽ cài đặt lại thiết bị khi quét. Bạn cũng có thể khởi động lại PC và driver sẽ tự động cài đặt lại.

Truy cập lại cửa sổ Network Connections và xem liệu bạn có thể truy cập các thuộc tính của Ethernet adapter ngay bây giờ hay không. Nếu bạn không thể nhưng cửa sổ Device Manager đang mở, đừng đóng cửa sổ đó.

2. Cập nhật driver Ethernet

Khi ở trong cửa sổ Device Manager, hãy thử cập nhật driver. Ngay cả khi không gặp sự cố, bạn vẫn nên thực hiện việc cập nhật driver. Nếu driver có vấn đề về khả năng tương thích với Windows, bản cập nhật có thể khắc phục được sự cố này.

Cập nhật driver Ethernet

Nhấp chuột phải vào Ethernet adapter và chọn Update driver. Trình hướng dẫn cập nhật sẽ hỏi bạn có muốn Windows tự động tìm kiếm driver hay duyệt máy tính để tìm các file driver.

Khi bạn hoàn tất, hãy khởi động lại PC để xem lỗi "An unexpected error occurred" có biến mất hay không.

3. Sử dụng trình gỡ rối tích hợp

Windows có một nhóm trình khắc phục sự cố có thể giúp bạn giải quyết nhiều vấn đề chỉ với một cú nhấp chuột. Nếu các phương pháp trước đó không hiệu quả, đã đến lúc tìm tới một trong những trình gỡ rối này để xem liệu chúng có thể giúp ích gì cho bạn hay không.

Nhấn Win + I để khởi chạy ứng dụng Settings. Điều hướng đến Update & Security > Troubleshoot. Chọn Additional troubleshooters từ ngăn bên phải và điều này sẽ đưa bạn đến danh sách trình khắc phục sự cố. Tìm Network Adapter troubleshooter, nhấp vào nó và chọn Run the troubleshooter.

Sau khi khởi chạy trình khắc phục sự cố, bạn sẽ cần chọn adapter mà bạn muốn giải quyết vấn đề.

Sử dụng trình gỡ rối tích hợp

Nhấp vào Next khi bạn đã chọn được adapter và để trình khắc phục sự cố phát hiện vấn đề. nếu tìm thấy sự cố, nó sẽ cố gắng khắc phục tự động. Nếu công cụ tích hợp này không thể được khắc phục tự động, ít nhất bạn sẽ tìm ra vấn đề là gì.

Nếu cách này không có tác dụng, hãy chuyển sang phương án tiếp theo.

4. Vô hiệu hóa IPv6

Cách thông thường để vô hiệu hóa IPv6 có thể không khả dụng ở đây vì bạn không thể truy cập vào các thuộc tính của network adapter. May mắn thay, Windows có một giải pháp thay thế mà bạn có thể sử dụng để thao tác với cấu hình của nhiều thành phần hệ thống khác nhau.

PowerShell cho phép bạn cấu hình network adapter thông qua các cmdlet. Bạn có thể sử dụng PowerShell để tắt IPv6 cho một network adapter cụ thể mà không cần phải mở thuộc tính của network adapter đó.

Vô hiệu hóa IPv6 bằng Powershell

Thực hiện theo cách thứ 3 trong bài viết: Vô hiệu hóa IPv6 để khắc phục sự cố kết nối Internet trên máy tính Windows để làm việc này.

Thật khó để kiểm soát mạng khi không thể truy cập vào các thuộc tính của network adapter. Hy vọng rằng một trong những bản sửa lỗi này hữu ích với bạn và bây giờ bạn có thể cấu hình lại các thuộc tính adapter của mình như bình thường.

Nếu bạn đang cố gắng truy cập các thuộc tính mạng Ethernet do gặp sự cố với mạng gia đình, có nhiều cách khác để khắc phục mạng kém và lấy lại quyền kết nối trực tuyến.

If you can’t use the universal way to uninstall Windows updates due to An error has occurred, Not all of the updates were successfully uninstalled, you can try the methods mentioned in the MiniTool post to solve the issue.

On This Page :

An Error Has Occurred, Not All of the Updates Were Successfully Uninstalled

Windows updates always contain some bug fixes, improvements, and new features. However, Windows updates can also bring trouble to you. For example, the new update may slow down your computer, or the update may corrupt your VPN or network connection. To solve the issue, you can choose to uninstall the update.

However, you may encounter an error saying: An error has occurred. Not all of the updates were successfully uninstalled when you uninstall a Windows update. The following screenshot is an example:

To solve the issue, you can use another way to uninstall the Windows update. In this post, we will show you 3 ways you can try.

Tips:

Experience a faster system with MiniTool System Booster – your solution to effortless program uninstallation.

MiniTool System Booster TrialClick to Download100%Clean & Safe

Fix 1: Uninstall Windows Update Using DISM

To uninstall Windows updates using DISM, you can use these steps:

Step 1: Type cmd into Windows search, then right-click Command Prompt from the search result and select Run as administrator.

Step 2: Type dism /online /get-packages | clip into Command Prompt and press Enter.

Step 3: The output will be automatically copied to your clipboard. You need to open a Notepad and paste the output to it.

Step 4: Find the update you want to remove, then copy its package identity.

Step 5: Type the following command into Command Prompt and press Enter. In this step, you need to replace PACKAGE_ID with the package identity you just copy.

dism /Online /Remove-Package /PackageName:PACKAGE_ID

Step 6: Type Exit and press Enter to close Command Prompt.

After these steps, the target update is removed from your PC.

Fix 2: Uninstall Windows Updates Using Command Prompt

You can also use Command Prompt to uninstall Windows updates when you encounter an error has occurred, Not all of the updates were successfully uninstalled.

Step 1: Run Command Prompt as administrator.

Step 2: Run this command wmic qfe list brief /format:table in CMD.

Step 3: Find the update you want to uninstall and remember its KB number.

Step 4: Run WUSA /UNINSTALL /KB:NUMBER in CMD.

Step 5: A prompt will appear to ask you if you want to uninstall the update, you need to click Yes to continue.

Step 6: Restart your computer.

If an error has occurred, Not all of the updates were successfully uninstalled persists, you can make some changes in Registry Editor.

Step 1: Open Registry Editor on your Windows computer.

Step 2: Go to this path: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print.

Step 3: Create a new DWORD [32-bit] value and name it RPCAuthnLevelPrivacyEnabled.

Step 4: Open the value and change the value data to 0.

Step 5: Click OK to save the change.

Step 6: Restart your computer.

After these steps, you can go to uninstall the Windows update again and see if the error disappears.

What if a Windows Update Deleted Your Files?

If some of your files are missing after you install a new Windows update, you can use professional data recovery software like MiniTool Power Data Recovery to rescue them as long as they are not overwritten by new data.

MiniTool Power Data Recovery FreeClick to Download100%Clean & Safe

Bottom Line

Bothered by An error has occurred. Not all of the updates were successfully uninstalled when uninstalling Windows updates? You can try the methods mentioned in this post to help you out. Should you have other related issues, you can let us know in the comments.

About The Author

Position: Columnist

Stella has been working in MiniTool Software as an English Editor for more than 7 years. Her articles mainly cover the fields of data recovery including storage media data recovery and phone data recovery, YouTube videos download, partition management, and video conversions.

Chủ Đề