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

Khắc phục lỗi "Desktop Refers to a Location That Is Unavailable" trên Windows 10/11

Sửa lỗi "Desktop Refers to A Location That Is Unavailable": Nếu khi khởi động máy xuất hiện thông báo "C:\Windows\system32\config\systemprofile\desktop refers to a location that is unavailable", điều này cho thấy vị trí thư mục Desktop bị sai. Màn hình Desktop sẽ trống trơn, các biểu tượng biến mất, và hộp thoại lỗi hiện ra:

C:\Windows\system32\config\systemprofile\Desktop refers to a location that is unavailable. It could be on a hard drive on this computer, or on a network. Check to make sure that the disk is properly inserted, or that you are connected to the Internet or your network, and then try again. If it still cannot be located, the information might have been moved to a different location.

Nguyên nhân có thể do: hệ thống crash đột ngột, hồ sơ người dùng bị hỏng, cập nhật Windows lỗi... Dưới đây là các cách khắc phục.

Sửa lỗi "Desktop Refers to A Location That Is Unavailable"

Tạo điểm khôi phục hệ thống trước khi thực hiện.

Phương pháp 1: Khôi phục vị trí mặc định cho thư mục Desktop

  1. Win + R > gõ C:\users\%username% > Enter.
  2. Chuột phải thư mục Desktop > Properties.
  3. Chuyển tab Location > nhấn Restore Default.
  4. Apply > OK > Khởi động lại máy.

Phương pháp 2: Sửa Registry

Nếu cách 1 thất bại:

  1. Win + R > regedit.
  2. Điều hướng: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
  3. Chọn User Shell Folders, bên phải double-click Desktop.
  4. Đặt giá trị (Value data) là:
    %USERPROFILE%\Desktop
    HOẶC
    C:\Users\%USERNAME%\Desktop
  5. OK > Đóng Registry > Khởi động lại máy.

Phương pháp 3: Sao chép thư mục Desktop về vị trí hệ thống

  1. Win + R > C:\users\%username% > Enter.
  2. Kiểm tra xem có 2 thư mục Desktop không (một rỗng, một chứa dữ liệu).
  3. Nếu có, xóa thư mục Desktop rỗng.
  4. Copy thư mục Desktop chứa dữ liệu > dán vào: C:\Windows\system32\config\systemprofile\ (cấp quyền Continue khi hỏi).
  5. Khởi động lại máy.

Phương pháp 4: Khôi phục hệ thống (System Restore)

  1. Win + R > sysdm.cpl > Tab System Protection > System Restore.
  2. Chọn điểm khôi phục phù hợp > Làm theo hướng dẫn > Khởi động lại.

Phương pháp 5: Tạo tài khoản người dùng mới

  1. Win + I > Accounts > Family & other users > Add someone else to this PC.
  2. Chọn I don't have this person's sign-in information > Add a user without a Microsoft account.
  3. Tạo user/pass mới > Next.
  4. Đăng nhập tài khoản mới > Mở File Explorer > View > Options > Tab View > tích Show hidden files, folders, and drives > bỏ tích Hide protected operating system files > Apply/OK.
  5. Đi đến C:\Users\TÊN_TÀI_KHOẢN_CŨ (ổ cài Windows).
  6. Chọn tất cả file/thư mục TRỪ 3 file hệ thống: Ntuser.dat, Ntuser.dat.log, Ntuser.ini.
  7. Copy chúng > Win + R > C:\users\%username% (thư mục tài khoản mới) > Paste.
  8. Khởi động lại máy.

Bài viết liên quan:

  • Sửa lỗi Unable to Set Default Printer Error 0x00000709
  • Sửa lỗi Microphone Not Working on Windows 10
  • Gỡ bỏ Candy Crush Soda Saga khỏi Windows 10
  • Sửa lỗi WiFi không tự động kết nối Windows 10

Bạn đã khắc phục thành công lỗi Desktop Refers to A Location That Is Unavailable. Hãy bình luận nếu cần hỗ trợ!