หากเจอข้อความ The system registry contains invalid file paths ตอนอัปเกรดจาก Windows 7/8/8.1 เป็น Windows 10 หรือ Windows 10 เป็น 11 บทความนี้มีวิธีแก้
ข้อความเต็ม:
The system registry contains invalid file paths. Installation cannot proceed. This system image was applied without guaranteeing that drive-letter assignments would match across computers.

คลิก OK แล้วจะ Restart และแสดง:
Any changes made to the computer will be undone…
หลังจากนานมาก Restart อีกครั้ง จะพบ Windows เดิมกลับมา
The system registry contains invalid file paths
ลองวิธีแก้ 3 ข้อ (ไม่เรียงลำดับ):
- ลบ Drive Letter ของ System Reserved Partition
- ลบ Entry บางอย่างใน System Variables
- Clean Install Windows 11/10
1. ลบ Drive Letter ของ System Reserved Partition

กด Windows Key + R พิมพ์ diskmgmt.msc Enter เปิด Disk Management
คลิกขวา System Reserved Partition ใน-pane ล่าง เลือก Change Drive Letter and Paths
คลิก Remove button
ปิด Disk Management Restart PC
บูทเสร็จ ลองอัปเกรดใหม่ ดูผ่านหรือไม่ ไม่ได้ลองข้อถัดไป
2. ลบ Entry ใน System Variables

ใน Windows 7/8/8.1:
- เรียก Run Dialog
- พิมพ์ control system Enter เปิด System Control Panel
- ซ้ายมือเลือก Advanced System Settings
- คลิก Environment Variables
- Under System Variables คลิก Path
- ลบ Entry ทั้งหมด ยกเว้น พาธ 2 นี้:
C:\Windows\system32
C:\Windows\Powershell
เสร็จแล้ว Restart ลองอัปเกรดใหม่ ดูแก้ได้ไหม ไม่ได้ลองข้อถัดไป
3. Clean Install Windows 11/10
ข้อผิดพลาดนี้มักเจอตอนใช้ Update Assistant หรือรัน Setup จาก Mounted ISO
ลอง Clean Install Windows 11/10 แทน ดูผ่านได้ไหม
หวังว่าช่วยได้!
