หลายครั้งเราใช้ System Restore แก้ปัญหา ส่วนใหญ่แก้ได้ภายในนาที แต่บ้างครั้ง System Restore ล้มเหลวและแสดง Error

System Restore Failed While Restoring the Directory from the Restore Point – 0x80070091, 0x800703f9, 80070002
- System Restore did not complete successfully. Your computer's system files and settings were not changed.
- Details: System Restore failed while restoring the directory from the restore point.
- Source: AppxStaging
- Destination: %ProgramFiles%\WindowsApps
- An unspecified error occurred during System Restore. (0x80070091)
Error Code อาจเป็น 0x800703f9 หรือ 80070002
บทความนี้แนะนำวิธีแก้
System Restore ล้มเหลวใน Windows
หากเจอ Error System Restore failed while restoring, copying or mounting the directory from the restore point บน Windows 11/10 บทความนี้แนะนำวิธีแก้
มี 2 วิธีแก้หลักสำหรับ Windows 10 (Windows 8.1/8 ใช้ได้ด้วยการปรับเล็กน้อย)
Error บ่งชี้ปัญหาอยู่ที่โฟลเดอร์ WindowsApps ที่เก็บ Data และ Installation Files ของ Apps ทั้งหมด โพสต์บน Answers ระบุว่าสามารถแก้ได้โดย Rename WindowsApps Folder แต่ปัญหาคือไม่สามารถ Rename ได้เหมือนโฟลเดอร์ทั่วไป เพราะมี Data ของ Apps ที่ติดตั้ง วิธี 2 ข้อนี้ช่วย Rename WindowsApps Folder เพื่อแก้ Failed System Restore Operation บน Windows 11/10
เกี่ยวข้อง: System restore failed while copying, restoring or mounting the Registry
1] Rename Folder ใน Safe Mode
Safe Mode ช่วยแก้ปัญหาได้ดี Boot Windows 10 เข้า Safe Mode เปิด Settings (Win+I) ไป Update & Security > Recovery ภายใต้ Advanced Startup กด Restart Now

กดปุ่มนั้นจะ Boot เข้า Advanced Startup Options

เพื่อไปหน้าจอนี้ Restart แล้วกด Troubleshoot > Advanced Options > Startup Settings > Restart กด 4 เพื่อ Restart เข้า Safe Mode
เข้า Safe Mode แล้ว เปิด Command Prompt Admin รันคำสั่งทีละบรรทัด:
cd C:\Program Files takeown /f WindowsApps /r /d Y icacls WindowsApps /grant "%USERDOMAIN%\%USERNAME%":(F) /t attrib WindowsApps -h rename WindowsApps WindowsApps.old
Reboot PC ตรวจสอบ System Restore ทำงานหรือไม่
Errors เกี่ยวข้อง:
- System Restore failed to replace the file, Error Code 0x80070780
- System Restore failed to extract the file, Error Code 0x80071160
2] จาก WinRE (Windows Recovery Environment)
รัน Command Prompt บน WinRE ดูว่าช่วยได้ไหม ไป Settings > Update & Security > Recovery กด Restart Now ภายใต้ Advanced Startup
Restart แล้วจะอยู่ที่ Advanced Startup Options ไป Troubleshoot > Advanced Options จะได้หน้าจอ:

คลิก Command Prompt อาจขอ Admin Password รันคำสั่ง:
cd C:\Program Files attrib WindowsApps -h rename WindowsApps WindowsAppsOld
Reboot ตรวจสอบ System Restore
PS: มีข้อเสนออื่นช่วยแก้ System Restore Not Working บน Windows 11/10/8/7
