Similarly to the icon cache, Windows creates a cache for fonts to load them faster and display the user interface of apps, documents and other controls faster. When it is corrupted, fonts may not appear properly, or some fonts might be missing in the font list available for certain apps. In this article, we will see how to rebuild the font cache.
The font cache is a special file in the folder %WinDir%\ServiceProfiles\LocalService\AppData\Local\FontCache. This folder is protected by default so if you directly attempt to access this path, Windows will give you an error. Fonts are cached in a number of files in this folder. If for some reason, your fonts are corrupted and not displaying properly, you may need to remove these files in order to rebuild the font cache. Here is how it can be done.
Before proceeding, ensure that your user account has administrative privileges. Now, follow the instructions below.
To rebuild the font cache in Windows 10, do the following.
- Press Win + R shortcut keys on the keyboard to open the Run dialog. Type services.msc in the Run box.
- The Services console will be opened.
- Find the Windows Font Cache service in the list.
- Click on the stop button on the toolbar.
Tip: See the following detailed guide on how to start, stop or restart a service in Windows 10.
- Open This PC in File Explorer.
- Go to the following folder by navigating one folder at a time. Do not copy paste the path directly as certain folders are protected and you may need to press the Continue button to access them:
- Delete the contents of that folder.
- Delete the file %WinDir%\System32\FNTCACHE.DAT.
- Now, you can start the Windows Font Cache service which you previously stopped.
- Restart Windows 10.
Note: If you have stopped the service but still cannot delete the files, here is a workaround.
- Download ExecTI.
- Use ExecTI to run cmd.exe as TrustedInstaller.
- In the command prompt opened as trusted installer, type or copy-paste the following command:
del /A /F /Q "%WinDir%\ServiceProfiles\LocalService\AppData\Local\FontCache\*FontCache*"
This should resolve the issue.
Tip: You can use the following command to stop and start the Windows Font Cache service.
net stop FontCache net start FontCache
On Windows 7 and Windows 8.1, the Font Cache files are located directly in the following folder:
There is no separate FontCache directory like Windows 10. In this case, be careful to not delete the other folders. Delete only the *.DAT files related to the font cache.
Note: If your fonts are still corrupted and displaying invalid characters after resetting the cache, the installed fonts in C:\Windows\Fonts themselves may be damaged. To restore the default fonts that ship with Windows, run the following command from an elevated command prompt:
Let Windows restore the original font files. If the font files in your Component Store are corrupted, refer to the following article to learn how to use DISM to repair them: How to Fix Windows 10 using DISM