ปัญหา: ไม่สามารถลบ Temporary Files ผ่าน Settings > System > Storage > C: > Temporary files > Remove files ได้ (Settings Corrupt) ไฟล์ Temp สะสม >16GB (Old Windows, Program Temp files, ฯล฿)

วิธีแก้ไข Unable to Delete Temporary Files ใน Windows 10
ข้อแนะนำ: สร้าง Restore Point ก่อนเริ่มต้น
วิธีที่ 1: ใช้ Disk Cleanup แบบดั้งเดิม
- This PC > คลิกขวา C: > Properties > Disk Cleanup
- รอคำนวณ > คลิก Clean up system files
- ติ๊ก ทั้งหมด (สำคัญ: Previous Windows Installation(s) และ Temporary Windows Installation files) > OK > รอเสร็จ > Reboot
วิธีที่ 2: ใช้ CCleaner ลบ Temporary Files
- ติดตั้ง CCleaner > Options > Advanced > ติ๊ก "Only delete files in Windows Temp folder older than 24 hours" > Reboot
วิธีที่ 3: ลบ Temporary Files ด้วยตนเอง (Manual)
หมายเหตุ: ต้องเปิด Show hidden files/folders และยกเลิก Hide protected system files
- Windows Key + R > temp Enter > Ctrl+A > Shift+Del (Permanent delete)
- Windows Key + R > %temp% Enter > Ctrl+A > Shift+Del
- Windows Key + R > prefetch Enter > Ctrl+A > Shift+Del
- Reboot
วิธีที่ 4: ใช้ Unlocker ลบไฟล์ที่ Access Denied
ติดตั้ง Unlocker > ใช้ลบไฟล์ Temp ที่ลบไม่ได้/Access Denied
วิธีที่ 5: ลบ SoftwareDistribution Folder
- Right-click Windows Button > Command Prompt (Admin)
- รัน:
net stop bits net stop wuauserv
- ไปที่ C:\Windows\ > หาโฟลเดอร์ SoftwareDistribution > Copy ไป Desktop Backup > เข้าไปในโฟลเดอร์ > ลบไฟล์ทั้งหมดภายใน (อย่าลบโฟลเดอร์ตัวมัน)
- Reboot
วิธีที่ 6: ใช้ WinDirStat (Windows Directory Statistics)
- ติดตั้ง WinDirStat > รัน > เลือก Drive C: > OK (รอสแกน 5-10 นาที)
- ดูบล็อกสีเทา (Hover ดูรายละเอียด) > ลบเฉพาะบล็อกที่ระบุว่า Temp (ระวัง: อย่าลบอะไรที่ไม่เข้าใจ)
- Reboot
บทความแนะนำเพิ่มเติม
- แก้ไข Pin to Start Menu Missing ใน Windows 10
- แก้ไข Windows Update Error 0x80246002
- แก้ไข Pin to Taskbar Missing ใน Windows 10
- แก้ไข Monitor Randomly Turns OFF/ON
เรียบร้อยแล้ว คุณได้ แก้ไข Unable to Delete Temporary Files ใน Windows 10 แล้ว หากยังมีคำถาม สามารถถามได้ในส่วนความคิดเห็น