Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การแก้ไขปัญหา >> ข้อผิดพลาด Windows

แก้ไข: There is Insufficient Memory or Disk Space ใน Word

ผู้ใช้หลายคนพบข้อผิดพลาด 'There is Insufficient Memory or Disk Space' ทันทีที่เปิด Word หรือ Excel เกิดกับทุกประเภทเอกสาร ยืนยันพบใน Office 2010, 2013, 2016

แก้ไข: There is Insufficient Memory or Disk Space ใน Word

สาเหตุของข้อผิดพลาด 'There is insufficient memory or disk space' ใน Microsoft Word

จากการสืบสวนรายงานผู้ใช้และวิธีแก้ พบสาเหตุหลักดังนี้:

  • ไฟล์ Normal.dotm เสียหาย — ทำให้โหลด default font styles ไม่ได้ แก้ได้โดยบังคับให้ Windows สร้าง .dotm ใหม่
  • การติดตั้ง Office เสียหาย/ไม่สมบูรณ์ — อาจจากการสแกนไวรัสทำให้ไฟล์หาย แก้ได้โดย Repair Office ผ่าน Programs and Features
  • สิทธิ์ไม่เพียงพอบนโฟลเดอร์ Fonts — โฟลเดอร์ fonts ไม่มี permission ที่จำเป็น แก้ได้โดยสร้าง Policy ผ่าน Registry หรือใช้ PowerShell ให้สิทธิ์
  • Font cache เสียหาย — ไฟล์ font บางตัวที่เอกสารใช้เสียหาย แก้ได้โดยสร้าง .bat ไฟล์ล้าง font cache
  • Add-in ก่อให้เกิดข้อผิดพลาด — มี Word/Excel add-in บางตัวก่อให้เกิดปัญหา แก้ได้โดยระบุและลบ add-in ตัวนั้น

ลองวิธีแก้ด้านล่างตามลำดับจากมีประสิทธิภาพมากไปน้อย

วิธีที่ 1: เปลี่ยนชื่อไฟล์ Normal.dotm

ผู้ใช้หลายคนแก้ได้ถาวรโดยไปที่โฟลเดอร์ Microsoft Office Template ใน Roaming เปลี่ยนชื่อ Normal.dotm เป็น Normal.dotm.old

การทำนี้จะบังคับให้ Word/Excel สร้าง Normal.dotm ใหม่ครั้งหน้าที่เปิดโปรแกรม แก้ปัญหาได้

Normal.dotm template จะเปิดทุกครั้งที่เริ่ม Word — มี default styles และการปรับแต่งที่กำหนดรูปลักษณ์พื้นฐานของเอกสาร Normal.dotm ที่เสียหายก่อให้เกิดข้อผิดพลาดนี้

ขั้นตอน:

  1. ปิดโปรแกรม Microsoft Office ทุกตัว
  2. เปิด File Explorer ไปที่:
    C:\Users\*YourUser*\AppData\Roaming\Microsoft\Templates
    หมายเหตุ: หา AppData ไม่เจอ ไปแท็บ View ติ๊ก Hidden Items
  3. ในโฟลเดอร์ Templates แท็บ View ติ๊ก File Name Extensions
  4. คลิกขวา Normal.dotm > Rename เพิ่ม .old ท้ายไฟล์ (ดีกว่าลบ เพราะกลับมาได้หากต้องการ)แก้ไข: There is Insufficient Memory or Disk Space ใน Word
  5. เปิดโปรแกรมที่เคยผิดพลาด ทดสอบ

หายังไม่ได้ ให้ลองวิธีถัดไป

วิธีที่ 2: Repair การติดตั้ง Office

บางคนรายงานว่าปัญหาเกิดจากการติดตั้ง Office เสียหาย/ไม่สมบูรณ์ ลอง Repair ก่อน

ขั้นตอน:

  1. กด Windows + R พิมพ์ appwiz.cpl Enter เปิด Programs and Featuresแก้ไข: There is Insufficient Memory or Disk Space ใน Word
  2. หา Microsoft Office คลิกขวา Changeแก้ไข: There is Insufficient Memory or Disk Space ใน Word
  3. เลือก Quick Repair คลิก Repair ยืนยันอีกครั้งแก้ไข: There is Insufficient Memory or Disk Space ใน Word
  4. เสร็จแล้ว รีสตาร์ท ทดสอบ

หายังไม่ได้ ให้ลองวิธีถัดไป

วิธีที่ 3: สร้าง Policy SaveZoneInformation ผ่าน Registry Editor

บางคนแก้ได้โดยสร้าง Policy ชื่อ SaveZoneInformation ใน Registry หลังบังคับนโยบายนี้ เปิดไฟล์ .doc attachment ได้ปกติ

ขั้นตอน:

  1. กด Windows + R พิมพ์ regedit Enter เปิด Registry Editor คลิก Yes ที่ UAC
  2. ไปที่:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
    (วางในแถบที่อยู่กด Enter ได้)
  3. คลิกขวา Policies > New > Key ตั้งชื่อ Attachments หมายเหตุ: Attachments ต้องเป็น subkey ของ Policies
  4. เลือก Attachments key ด้านขวา คลิกขวาพื้นที่ว่าง > New > Dword (32-bit) value
  5. ตั้งชื่อ SaveZoneInformation Enter
  6. ดับเบิลคลิก SaveZoneInformation ตั้งค่าเป็น 1
  7. ปิด Registry Editor เปิดโปรแกรมที่เคยผิด ทดสอบแก้ไข: There is Insufficient Memory or Disk Space ใน Word

หายังไม่ได้ ให้ลองวิธีถัดไป

วิธีที่ 4: ลบ Word / Excel Add-ins

บางคนพบว่า Add-in ก่อให้เกิดข้อผิดพลาดนี้ ต้องระบุและลบ add-in ตัวที่เป็นสาเหตุ

หมายเหตุ: ใน Word add-in ที่รายงานบ่อยคือ Instant Messaging Contacts

ขั้นตอนปิด Add-in (เหมือนกันทั้ง Word และ Excel):

  1. เปิดโปรแกรมที่ผิด (Word/Excel) อย่าเปิดไฟล์ ไป File > Options
  2. เลือก Add-ins ซ้าย ด้านขวาเลื่อนลง
  3. เลือก Excel / Word Add-ins (ข้าง Manage) คลิก Go
  4. ยกติ๊กทุก Add-in จนหมด คลิก OK
  5. ทำซ้ำขั้นตอน 2 กลับไปที่ Add-ins
  6. ครั้งนี้เลือก COM Add-ins จาก Manage คลิก Go
  7. ยกติ๊กทุก Add-in คลิก OK
  8. รีสตาร์ทโปรแกรม เปิดไฟล์ที่เคยผิด ทดสอบ
  9. หาผิดพลาดหาย ให้เปิด Add-in ทีละตัว จนพบตัวทำให้ผิด
  10. พบแล้ว กลับไปเมนู Add-in เลือกตัวนั้น คลิก Removeแก้ไข: There is Insufficient Memory or Disk Space ใน Word

วิธีที่ 5: ตั้งค่าสิทธิ์ที่จำเป็น

ปัญหานี้อาจเกิดจากโฟลเดอร์ C:\windows\fonts ไม่มี permission ให้เข้าถึง/แก้ไขฟอนต์ที่ Word/Excel ใช้ บั๊กที่พบหลักใน Windows 10 Creators Update

แก้ได้โดยรันคำสั่งใน PowerShell ที่เปิดด้วยสิทธิ์ Admin:

  1. กด Windows + R พิมพ์ powershell กด Ctrl + Shift + Enter เปิด PowerShell ขึ้นสิทธิ์ Admin คลิก Yes ที่ UACแก้ไข: There is Insufficient Memory or Disk Space ใน Word
  2. วางคำสั่งต่อไปนี้ ทีละคำสั่ง กด Enter:
    Get-acl C:\Windows\fonts\arial.ttf | Set-Acl -path c:\windows\fonts\*.*
    Get-acl C:\Windows\fonts\arial.ttf | Set-Acl -path c:\windows\fonts
  3. รันสองคำสั่งเสร็จ รีสตาร์ท ทดสอบ

หายังไม่ได้ ให้ลองวิธีถัดไป

วิธีที่ 6: Rebuild Font Cache บน Windows 10

บางคนที่เปิด Word จาก SharePoint sync ด้วย OneDrive แก้ได้ต่อเมื่อล้าง Font Cache และรีบูท

Font Cache คือชุดไฟล์ที่ Windows ใช้จัดการ/แสดงฟอนต์ที่ติดตั้งอยู่ การเสียหายอาจทำให้ฟอนต์บางตัวทำงานผิด ก่อให้ข้อผิดพลาดเมื่อ Word/Excel ใช้ฟอนต์เหล่านั้น

แก้ได้ง่ายโดยสร้างและรัน .bat ไฟล์ rebuild font cache:

  1. กด Windows + R พิมพ์ notepad Enter เปิด Notepadแก้ไข: There is Insufficient Memory or Disk Space ใน Word
  2. วางโค้ดนี้ใน Notepad:
    @echo off :: Stop and disable "Windows Font Cache Service" service :FontCache sc stop "FontCache" sc config "FontCache" start=disabled sc query FontCache | findstr /I /C:"STOPPED" if not %errorlevel%==0 (goto FontCache) :: Grant access rights to current user for "%WinDir%\ServiceProfiles\LocalService" folder and contents icacls "%WinDir%\ServiceProfiles\LocalService" /grant "%UserName%":F /C /T /Q :: Delete font cache del /A /F /Q "%WinDir%\ServiceProfiles\LocalService\AppData\Local\FontCache\*FontCache*" del /A /F /Q "%WinDir%\System32\FNTCACHE.DAT" :: Enable and start "Windows Font Cache Service" service sc config "FontCache" start=auto sc start "FontCache"
  3. File > Save as ตั้งชื่ออะไรก็ได้ แต่ต้อง副檔名 .batแก้ไข: There is Insufficient Memory or Disk Space ใน Word
  4. คลิกขวา .bat ไฟล์ที่สร้าง > Run as administratorแก้ไข: There is Insufficient Memory or Disk Space ใน Word
  5. เสร็จแล้ว รีสตาร์ท ทดสอบ