How to Clear Font Cache and Rebuild Font Cache in Windows 11

bardimin pic

Written by Bardimin

On September 24, 2022
Home » Blogs » Windows » Troubleshooting » How to Clear Font Cache and Rebuild Font Cache in Windows 11

A corrupted font can cause font rendering problems and slow down your .

When 11 starts, it will load fonts in the Font Cache. This allows the operating system to load fonts faster and improves the user experience.

Without a good font , has to do a lot of work in real-time to display fonts. And this thing will use numerous system resources.

The font cache can be corrupted, causing fonts to become garbled, display incorrectly, or display incorrect characters. In addition, when installing a new font or upgrading an old font, the same file may be damaged.

To fix font cache corruption, clear the old font cache and restart the to create a new font cache.

How to clear and rebuild the font cache

  1. Open the “Services” of . You can open it through the search, click the Start button, and type “services” in the search box.
open serices
  1. Then in the Services window, swipe down the list of services and find “Windows Font Cache Service“.
  2. Right-click the service and select the “Stop” option to turn off the service.
  3. Then open File Explorer and go to the C:\Windows\ServiceProfiles\LocalService\AppData\Local\FontCache“.
service font cache

If you cannot open the , right-click the “C:\Windows\ServiceProfiles\LocalService” folder and select “Properties“. Then, on the “” tab, add the Username that you used to get access.

  1. Delete all the contents of the folder.
  2. Restart the service by right-clicking and selecting the “Start” option. This will rebuild the font cache.
  3. Restart your computer.

How to clear and rebuild the font cache with BAT files

  1. Copy the following code into “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"

  1. Save with the name “Rebuild_Font_Cache.bat”.
  2. Then on the “BAT” file, right-click and run as administrator.
  3. When finished, restart your computer.

Latest Articles

The sequence of Windows boot processes from zero to ready

The sequence of Windows boot processes from zero to ready

Have you ever wondered how exactly the Windows boot process happens? What processes happen in the background when you press the power button until Windows is ready for you? If yes, then you are in the right place. In this article, Bardimin will explain how all these...

Redirect and Block URLs with HOSTS File on Windows

Redirect and Block URLs with HOSTS File on Windows

Redirect and Block URLs you can easily on Windows. Just by adding the IP of a website, you can redirect or block it. Of course, this is very useful to limit the access of your employees or children from accessing websites that you do not allow. Your Windows PC has...

How to Create Fake Files of Any Size in Windows

How to Create Fake Files of Any Size in Windows

Do you need a file with a size of 10 MB, 100 MB, 1 GB or 1 TB to test? Follow the following article to create one instantly. You don't need to download files or waste time searching for large files, you can create them easily. Sometimes you need large files quickly to...

10 Causes of Windows PC crashes you should know

10 Causes of Windows PC crashes you should know

A fatal error will cause the system to become unstable or busy. Your Windows PC will often display the Blue Screen of Death (BSOD). Do you experience it often? A computer that often crashes is quite annoying for all users, especially when you are doing important work...