Computer >> Hướng Dẫn Máy Tính >  >> Xử Lý Sự Cố >> Lỗi Windows

Xuất/Nhập Liên Kết Mặc Định Của App (Default App Associations) Windows 10

Windows 10 hay reset file associations về mặc định Microsoft sau khi upgrade build. Để bảo toàn tùy chỉnh (ví dụ .txt mở bằng Notepad), có thể Export ra file XML rồi Import lại khi cần.

Quản lý Default App Associations

Tạo điểm khôi phục trước.

Phương pháp 1: Export associations hiện tại

  1. Win + X → Command Prompt (Admin).
  2. Chạy: dism /online /Export-DefaultAppAssociations:"%UserProfile%\Desktop\DefaultAppAssociations.xml"
  3. File XML xuất hiện trên Desktop → backup lại nơi an toàn.

Phương pháp 2: Import cho user hiện tại hoặc user mới

  1. Đăng nhập user cần import.
  2. Copy file DefaultAppAssociations.xml lên Desktop user đó.
  3. CMD Admin → dism /online /Import-DefaultAppAssociations:"%UserProfile%\Desktop\DefaultAppAssociations.xml"
  4. Xong → Khởi động lại.

Phương pháp 3: Xóa hoàn toàn custom associations

  1. CMD Admin → Dism.exe /Online /Remove-DefaultAppAssociations
  2. Khởi động lại → về mặc định Microsoft.

Rất hữu ích khi cài đặt hàng loạt máy hoặc sau upgrade Windows!