Computer >> Hướng Dẫn Máy Tính >  >> Hệ Thống >> Windows 10

Khắc phục lỗi 0x80073CFA: Không gỡ được App dùng Remove-AppxPackage trên Windows 10

Từ Windows 10 1703 (Creators Update), một số ứng dụng universal tích hợp mới xuất hiện trong hệ thống và bạn không thể gỡ chúng theo thủ tục tiêu chuẩn. Ví dụ, khi cố gỡ ứng dụng universal tích hợp dùng cmdlet Remove-AppxPackage, xuất hiện lỗi: "HRESULT 0x80073CFA Removal failed". Bài này xem xét thủ thuật cho phép ép gỡ bất kỳ ứng dụng tích hợp nào trong Windows 10.

Giả sử bạn gặp lỗi khi thử gỡ ứng dụng universal tích hợp:

Remove-AppxPackage: Deployment failed with HRESULT: 0x80073CFA, Removal failed. Please contact your software vendor.
(Exception from HRESULT: 0x80073CFA)
error 0x80070032: AppX Deployment Remove operation on package
Microsoft.XboxGameCallableUI_1000.16299.15.0_neutral_neutral_c5as4n4uizeyw from:
C:\Windows\SystemApps\Microsoft.XboxGameCallableUI_c5as4n4uizeyw failed. This app is part of Windows and cannot be uninstalled on a per-user basis. An administrator can attempt to remove the app from the computer using Turn Windows Features on or off. However, it may not be possible to uninstall the app.
NOTE: For additional information, look for [ActivityId] b2516df1-c2fa-2201-f028-1af9ae2ba901 in the Event Log or use
the command line Get-AppxLog -ActivityID b2516df1-c2fa-2201-f028-1af9ae2ba901
At line:1 char:1
+ Remove-AppxPackage Microsoft.XboxGameCallableUI_1000.16299.15.0_neutr …
+ ~~
+ CategoryInfo : WriteError: (Microsoft.XboxG…l_c5as4n4uizeyw:String) [Remove-AppxPackage], IOException
+ FullyQualifiedErrorId : DeploymentError, Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand

Khắc phục lỗi 0x80073CFA: Không gỡ được App dùng Remove-AppxPackage trên Windows 10

Quan trọng. Trước khi gỡ ứng dụng Windows 10 universal bằng phương pháp dưới đây, khuyên mạnh nên tạo điểm khôi phục hoặc backup image.

Để gỡ ứng dụng Windows 10, bạn cần hai công cụ miễn phí:

  • Psexec của Sysinternals;
  • DB Browser for SQLite.
  1. Tải pstools.zip, giải nén vào C:\PS rồi cài (hoặc tải bản portable) DB Browser for SQLite;
  2. Dùng psexec chạy command prompt tương tác dưới Local System: psexec.exe -i -s -d cmd.exeKhắc phục lỗi 0x80073CFA: Không gỡ được App dùng Remove-AppxPackage trên Windows 10
  3. Trong cửa sổ tiếp theo chạy dưới SYSTEM file thực thi C:\Program Files\DB Browser for SQLite\DB Browser for SQLite.exe hoặc SQLiteDatabaseBrowserPortable.exe;
  4. Sau đó click Open Database trong cửa sổ DB Browser và mở file: %ProgramData%\Microsoft\Windows\AppRepository\StateRepository-Machine.srd;
    Khắc phục lỗi 0x80073CFA: Không gỡ được App dùng Remove-AppxPackage trên Windows 10
  5. Chuyển tab Browse Data và chọn bảng Package;
  6. Tìm tên ứng dụng muốn gỡ ở cột PackageFullName. (Ví dụ: Microsoft.XboxGameCallableUI_c5as4n4uizeyw.) Đổi giá trị cột IsInbox từ 1 thành 0 cho ứng dụng này; Khắc phục lỗi 0x80073CFA: Không gỡ được App dùng Remove-AppxPackage trên Windows 10
  7. Lưu thay đổi bằng File→Write changes (hoặc nhấn CTRL+S);
  8. Sau đó thử gỡ ứng dụng từ PowerShell:

Remove-AppxPackage Microsoft.XboxGameCallableUI_1000.16299.15.0_neutral_neutral_c5as4n4uizeyw
Nó sẽ gỡ thành công không báo lỗi hay cảnh báo.
Khắc phục lỗi 0x80073CFA: Không gỡ được App dùng Remove-AppxPackage trên Windows 10

Sau khi tìm kiếm web, tôi thấy cờ IsInbox cho ứng dụng tích hợp đã xuất hiện trong cơ sở dữ liệu cục bộ ứng dụng Windows từ Windows 10 Anniversary update (1607). Khi cố gỡ ứng dụng tích hợp có cờ IsInbox bật, lỗi 0x80073CFA xuất hiện.