Registry Editor (regedit) không mở, bị crash khi đang dùng, hoặc báo Registry Editor has stopped working. Bài viết đưa ra các giải pháp sửa lỗi.
Nguyên nhân
- File Registry hoặc file hệ thống liên quan bị hỏng.
- Độ dài khóa Registry vượt quá 255 byte khiến regedit tìm kiếm vô tận → crash khi hủy tìm kiếm.
3 giải pháp chính
- Chạy SFC và DISM
- Thay thế Registry Editor
- Dùng Registry Editor bên thứ 3
1. Chạy SFC và DISM
Mở Command Prompt (Admin) → chạy lần lượt:
sfc /scannow
Đợi hoàn tất → restart. Nếu chưa khắc phục, chạy DISM:
Dism /Online /Cleanup-Image /CheckHealth Dism /Online /Cleanup-Image /ScanHealth Dism /Online /Cleanup-Image /RestoreHealth
2. Thay thế regedit.exe bằng bản sao từ Windows.old
Cách này hiệu quả nếu regedit.exe bị hỏng:
- Mở CMD (Admin) → chạy:
takeown /f "C:\Windows\regedit.exe" icacls "C:\Windows\regedit.exe" /grant "%username%":F
- Mở File Explorer →
C:\Windows→ tìm regedit.exe → đổi tên thành regeditOLD.exe. - Copy regedit.exe từ
C:\Windows.old\Windows(nếu có) hoặc từ máy khỏe cùng version → dán vàoC:\Windows. - Restart máy.
Mẹo: Có thể dùng reg.exe dòng lệnh hoặc công cụ RegOwnit để chỉnh Registry không cần regedit.
3. Dùng Registry Editor bên thứ 3
Nếu vẫn lỗi, thử RegCool – Registry Editor miễn phí, nhẹ, chạy tốt trên Windows.