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
- Win + R → gõ control.exe → Enter.
- Tìm "fonts" → chọn Fonts.
- Chọn Font settings ở menu trái.
- 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.
- Mở Notepad với quyền Admin (Win + R → notepad.exe → Ctrl + Shift + Enter).
- 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"=-
- Lưu file với đuôi .reg (Save as type: All Files).
- 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
- Mở Services (Win + R → services.msc).
- Tìm Windows Font Cache Service → Properties → Stop → Startup type: Disabled → Apply.
- Làm tương tự với Windows Presentation Foundation Font Cache 3.0.0.0.
- Mở File Explorer, truy cập: C:\Windows\ServiceProfiles\LocalService\AppData\Local (nhấn Continue khi xin quyền).
- Vào thư mục FontCache → Ctrl + A → Delete tất cả.
- Quay lại thư mục Local → Xóa file FontCache3.0.0.0.dat.
- Truy cập C:\Windows\System32 → Xóa file FNTCACHE.DAT.
- Khởi động lại máy.
- 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)
- Mở Notepad Admin (Win + R → notepad.exe → Ctrl + Shift + Enter).
- 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"
- Lưu file với đuôi .bat (Save as type: All Files).
- 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.
- Mở CMD Admin → Chạy: sfc /scannow → Đợi xong → Khởi động lại.
- 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) - 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.