Deployment Image Servicing and Management (DISM) là công cụ dòng lệnh dùng để dịch vụ và sửa chữa hình ảnh Windows. DISM có thể dịch vụ file ảnh Windows (.wim) hoặc ổ cứng ảo (.vhd/.vhdx). Lệnh DISM phổ biến nhất:
DISM /Online /Cleanup-Image /RestoreHealth
Một số người dùng báo gặp lỗi DISM error 0x800f081f sau khi chạy lệnh trên, thông báo:
Error 0x800f081f, The source files could be found. Use the "Source" option to specify the location of the files that are required to restore the feature.
Lỗi này cho thấy DISM không thể sửa máy tính vì file cần thiết để sửa hình ảnh Windows bị thiếu ở nguồn. Hãy xem ngay cách khắc phục lỗi DISM 0x800f081f trên Windows 10.
Khắc phục lỗi DISM 0x800f081f trong Windows 10
Cách 1: Chạy lệnh DISM Cleanup
- Mở Command Prompt (tìm cmd, nhấn Enter).
- Nhập lệnh:
dism.exe /online /Cleanup-Image /StartComponentCleanup
sfc /scannow - Sau khi xong, chạy:
Dism /Online /Cleanup-Image /restoreHealth - Kiểm tra, nếu chưa khắc phục được thì tiếp cách 2.
Cách 2: Chỉ định đúng nguồn DISM (Chi tiết)
- Tải Windows 10 ISO bằng Media Creation Tool.
- Chạy MediaCreationTool.exe, chấp nhận điều khoản, chọn "Create installation media for another PC" → Next.
- Ngôn ngữ, phiên bản, kiến trúc sẽ tự chọn theo máy, hoặc bỏ chọn "Use the recommended options for this PC" để tùy chỉnh.
- Chọn ISO file → Next.
- Chọn vị trí lưu → Save.
- Sau khi tải xong, chuột phải file ISO → Mount (cần Virtual CloneDrive hoặc Daemon Tools).
- Mở ISO đã mount, vào thư mục sources.
- Chuột phải install.esd → Copy → Paste vào ổ C:.
- Nhấn Windows + X → Command Prompt (Admin).
- Gõ cd\ → Enter để về gốc ổ C:.
- Chạy lệnh:
dism /Get-WimInfo /WimFile:install.esd - Sẽ hiển thị danh sách Index. Ghi nhớ số Index tương ứng phiên bản Windows của bạn (ví dụ Windows 10 Education là Index 6).
- Chạy lệnh xuất file install.wim (thay IndexNumber bằng số Index thực tế):
dism /export-image /SourceImageFile:install.esd /SourceIndex:IndexNumber /DestinationImageFile:install.wim /Compress:max /CheckIntegrity - Ví dụ (Index 5):
dism /export-image /SourceImageFile:install.esd /SourceIndex:5 /DestinationImageFile:install.wim /Compress:max /CheckIntegrity - Sau khi xong, file install.wim sẽ xuất hiện trên ổ C:.
- Mở lại Command Prompt (Admin), chạy lần lượt:
DISM /Online /Cleanup-Image /StartComponentCleanup
DISM /Online /Cleanup-Image /AnalyzeComponentStore - Chạy lệnh RestoreHealth với nguồn file Windows:
DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:c:\install.wim:1 /LimitAccess - Chạy System File Checker hoàn tất:
Sfc /Scannow
Bài viết liên quan:
- Cách khôi phục file NTBackup BKF trên Windows 10
- Khắc phục Task Host Window ngăn chặn tắt máy trên Windows 10
- Cách tạo USB cài Windows 10 bootable
- Khắc phục lỗi trễ con trỏ chuột trên Windows 10
Bạn đã khắc phục thành công Lỗi DISM 0x800f081f trên Windows 10. Nếu còn câu hỏi, hãy bình luận bên dưới.