Computer >> Hướng Dẫn Máy Tính >  >> Xử Lý Sự Cố >> Lỗi Windows

Cách khắc phục lỗi font hiển thị ký tự vuông/biểu tượng trên Windows 10 và 8

Tổng quan vấn đề

Một số người dùng gặp tình trạng font chữ hiển thị thành các ô vuông, ký tự lạ sau khi cài đặt font tùy chỉnh vào thư mục Font mặc định trên Windows 10/8.1.

Các nguyên nhân chính

  • Font không phù hợp được chọn làm mặc định – Font không dành cho hiển thị hệ thống.
  • Khóa Registry liên quan font bị hỏng – Không reset được qua Control Panel.
  • Font cache bị hỏng – Cần rebuild cache font.
  • Hỏng file hệ thống – Cần dùng SFC/DISM hoặc cài đặt lại Windows.

Phương pháp 1: Khôi phục cài đặt font mặc định qua GUI

  1. Win + R → gõ control.exe → Enter.
  2. Tìm "fonts" → chọn Fonts.
  3. Chọn Font settings ở menu trái.
  4. Nhấn Restore default font settings → Đợi hoàn tất → Khởi động lại.

Phương pháp 2: Reset font qua Registry Editor

Áp dụng khi không thể thao tác qua GUI hoặc cách 1 thất bại.

  1. Mở Notepad với quyền Admin (Win + R → notepad.exe → Ctrl + Shift + Enter).
  2. Dán đoạn mã registry sau vào Notepad:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
    "Segoe UI (TrueType)"="segoeui.ttf"
    "Segoe UI Black (TrueType)"="seguibl.ttf"
    "Segoe UI Black Italic (TrueType)"="seguibli.ttf"
    "Segoe UI Bold (TrueType)"="segoeuib.ttf"
    "Segoe UI Bold Italic (TrueType)"="segoeuiz.ttf"
    "Segoe UI Emoji (TrueType)"="seguiemj.ttf"
    "Segoe UI Historic (TrueType)"="seguihis.ttf"
    "Segoe UI Italic (TrueType)"="segoeuii.ttf"
    "Segoe UI Light (TrueType)"="segoeuil.ttf"
    "Segoe UI Light Italic (TrueType)"="seguili.ttf"
    "Segoe UI Semibold (TrueType)"="seguisb.ttf"
    "Segoe UI Semibold Italic (TrueType)"="seguisbi.ttf"
    "Segoe UI Semilight (TrueType)"="segoeuisl.ttf"
    "Segoe UI Semilight Italic (TrueType)"="seguisli.ttf"
    "Segoe UI Symbol (TrueType)"="seguisym.ttf"
    "Segoe MDL2 Assets (TrueType)"="segmdl2.ttf"
    "Segoe Print (TrueType)"="segoepr.ttf"
    "Segoe Print Bold (TrueType)"="segoeprb.ttf"
    "Segoe Script (TrueType)"="segoesc.ttf"
    "Segoe Script Bold (TrueType)"="segoescb.ttf"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
    "Segoe UI"=-
  3. Lưu file với đuôi .reg (Save as type: All Files).
  4. Chạy file .reg với quyền Admin → Yes → Khởi động lại.

Phương pháp 3: Rebuild font cache thủ công (Windows 10/8.1)

Font cache mặc định tại: C:\Windows\ServiceProfiles\LocalService\AppData\Local\FontCache

  1. Mở Services (Win + R → services.msc).
  2. Tìm Windows Font Cache Service → Properties → Stop → Startup type: Disabled → Apply.
  3. Làm tương tự với Windows Presentation Foundation Font Cache 3.0.0.0.
  4. Mở File Explorer, truy cập: C:\Windows\ServiceProfiles\LocalService\AppData\Local (nhấn Continue khi xin quyền).
  5. Vào thư mục FontCache → Ctrl + A → Delete tất cả.
  6. Quay lại thư mục Local → Xóa file FontCache3.0.0.0.dat.
  7. Truy cập C:\Windows\System32 → Xóa file FNTCACHE.DAT.
  8. Khởi động lại máy.
  9. Mở Services lại → Bật 2 dịch vụ trên về Automatic.

Phương pháp 4: Rebuild font cache qua file BAT (Nhanh hơn)

  1. Mở Notepad Admin (Win + R → notepad.exe → Ctrl + Shift + Enter).
  2. Dán script sau:
    @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. Lưu file với đuôi .bat (Save as type: All Files).
  4. Chạy file .bat với quyền Admin → Đợi hoàn tất → Khởi động lại.

Phương pháp 5: Chạy SFC và DISM

Nếu các cách trên không hiệu quả, có thể file hệ thống bị hỏng.

  1. Mở CMD Admin → Chạy: sfc /scannow → Đợi xong → Khởi động lại.
  2. Mở CMD Admin → Chạy lần lượt:
    DISM.exe /Online /Cleanup-image /Scanhealth
    DISM.exe /Online /Cleanup-image /Restorehealth
    (Yêu cầu kết nối Internet ổn định)
  3. Khởi động lại và kiểm tra.

Phương pháp 6: Repair Install hoặc Clean Install Windows

Nếu tất cả thất bại, cần cài đặt lại Windows:

  • Clean Install – Xóa sạch ổ cài Windows, dễ dàng nhưng mất dữ liệu nếu không backup.
  • Repair Install (In-place Upgrade) – Cần media cài đặt, giữ lại ứng dụng, file cá nhân, cài đặt người dùng.