Windows 10: Rebuild Font Cache in Windows 10  

Page 1 of 2 12 LastLast
    Rebuild Font Cache in Windows 10

    Rebuild Font Cache in Windows 10

    How to Rebuild Font Cache in Windows 10
    Published by Category: Performance & Maintenance
    10 Oct 2018
    Designer Media Ltd

    Published by

    Brink's Avatar

    Posts: 33,178

    Show Printable Version 

    How to Rebuild Font Cache in Windows 10

    The font cache is a file or set of files used by Windows to manage and display the fonts that are installed on your PC. Sometimes the font cache may become corrupted and cause fonts to be garbled or not appear properly. To fix the font cache corruption, you will need to delete the old font cache and restart the computer afterwards to rebuild a new font cache.

    This tutorial will show you how to rebuild the font cache to repair it in Windows 10.

    You must be signed in as an administrator to be able to rebuild the font cache.

    Here's How:

    1. Click/tap on the download button below to download the Rebuild_Font_Cache.bat file.


    Note   Note
    Here is the contents of the .bat file for reference:

    @echo off
    :: Stop and disable "Windows Font Cache Service" service
    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"

    2. Save the .bat file to your desktop.

    3. Unblock the .bat file.

    4. Right click or press and hold on the .bat file, and click/tap on Run as administrator.

    5. An elevated command prompt will now open, run the commands in the .bat file to delete the font cache, and close.

    6. When finished, restart the computer to rebuild a new font cache.

    That's it,

  1.    20 Mar 2017 #1

    Hi Shawn,

    In the %WinDir%\ServiceProfiles\LocalService\AppData\Local\FontCache folder, under normal operation there are 4 files:


    Once you stop the service by running: sc stop "FontCache", the open files (signified with ~ in the beginning of the filename), become normal files and you have:

    Thus, when the delete command is run, it fails to delete the files starting with ~ since there are no such files.

    Should the delete command in the script be:
    del /A /F /Q "%WinDir%\ServiceProfiles\LocalService\AppData\Local\FontCache\*FontCache*"

    or leave it as is
    del /A /F /Q "%WinDir%\ServiceProfiles\LocalService\AppData\Local\FontCache\~FontCache*"
    as we shouldn't touch those files?

    Awaiting your prompt, as always response :)

    BR. Dimitri
    Last edited by ddelo; 20 Mar 2017 at 07:03.
      My ComputerSystem Spec

  2. Brink's Avatar
    Posts : 33,178
    64-bit Windows 10 Pro build 18262
    Thread Starter
       20 Mar 2017 #2

    Hello @Dimitri, :)

    I like *FontCache* better than ~FontCache as well. I also added a check in the .bat to verify if the service has stopped before continuing.
      My ComputersSystem Spec

  3.    29 May 2017 #3

    Hi Shawn,

    I tried your script on our windows 10 machine... it deleted the FNTCACHE.DAT file in the windows32 folder but not the other ones in the other location. There was no complaint by the system that I could see.


      My ComputerSystem Spec

  4. Brink's Avatar
    Posts : 33,178
    64-bit Windows 10 Pro build 18262
    Thread Starter
       29 May 2017 #4

    Hello Jeffrey, and welcome to Ten Forums. :)

    That's ok. It's normal for it to not be able to delete some of the font caches that are currently in use. Plus, some of them get recreated fresh almost immediately after being deleted.
      My ComputersSystem Spec

  5.    19 Jun 2017 #5

    Hi Shawn,

    My SSD crashed on me when I started for the first time after my holidays.
    Everything else was okay, but my fonts were not working properly. The Windows Fonts folder was showing only a handful on fonts even though many more were installed.
    When I used your *.bat (Thanks a lot for creating it, btw!!) & do the restart everything seems back to normal: all the fonts show up in the Fonts folder & are displayed correctly in Indesign/Word.
    But when I restart another time, it's back to the old problem: only a handful show up in the folder, and the others are not displyed correctly in Indesign.
    Any idea what I could do to stop this behaviour?

    thanks a lot from Germany,
    Last edited by roger1313; 19 Jun 2017 at 07:36.
      My ComputerSystem Spec

  6. Posts : 4
    Windows 10 Home
       19 Jul 2017 #6

    Worked, then failed to display fonts on next boot-up


    Your .bat 'fix' worked wonderfully yesterday - made all my installed fonts accessible in the Word 2007 drop-down list. but this morning after booting up, everything is back to "There is insufficient memory or disk space.Word cannot display the requested font".

    What is weird is that Excel 2007 (installed from the same Office 2007 diskette) can access all the fonts and has never given me this error message. I just added to an existing Excel workbook with no problem changing fonts or text size. WHY just Word? This situation started for me two days ago, and never occurred before then. I tried the 'rename the .dotm files to old* and my HP printer is using the same drivers it always has used.

    Where do we go from here?
      My ComputerSystem Spec

  7. Brink's Avatar
    Posts : 33,178
    64-bit Windows 10 Pro build 18262
    Thread Starter
       19 Jul 2017 #7

    Hello J, and welcome to Ten Forums. :)

    Are you low on disk space?

    Did you disable the page file, or set the page file too low by chance?
      My ComputersSystem Spec

  8. Posts : 4
    Windows 10 Home
       19 Jul 2017 #8

    1TB hard drive only 1/4 full, and have not made any changes to page file setting. I did find out that Office 365 was installed 7/16/17, and I just removed that - it seems that my challenge started then!! That must have been Microsoft forcing it onto my PC, as I did nothing to install it!! Still working to get my Office 2007 set up again, as it seems to be needing something.......
      My ComputerSystem Spec

  9. Brink's Avatar
    Posts : 33,178
    64-bit Windows 10 Pro build 18262
    Thread Starter
       19 Jul 2017 #9

    It could be an issue with Office 2007 being installed on Windows 10. Office 2007 has not been tested or officially supported by Windows 10.

    Which versions of Office work with Windows 10? - Office Support
      My ComputersSystem Spec

Page 1 of 2 12 LastLast

Tutorial Categories

Rebuild Font Cache in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Xbox Windows Phone

Related Threads
Customization Rebuild Icon Cache in Windows 10 in Tutorials
How to Rebuild the Icon Cache in Windows 10 The icons that display for files in Windows are saved in an icon cache so they can be displayed quickly instead of having to manually scan and slowly load them each time. The icon cache can...
Issue: Cannot open settings app in Windows 10 - corrupt ImmersiveControlPanel repair/rebuild: What fixed my settings app incase of "TL-DR": Folder Location: C:\Windows\ImmersiveControlPanel\ Running cmd as admin: From C:\cd Windows...
Hi there not particularly W10 specific but I know loads of people use VLC. If you are getting message please wait while font cache is re-built when you have / want subtitles then this method will disable this message and will speed up the...
I have tried clear type, doing the reinstallation of the font packages, but none of them worked and I still have blurry font in games and it makes it hard to read. IF anyone can upload their font folders I would appreciate it. Because Mine are...
Windows 10 Upgrade / Rebuild Issue in Installation and Upgrade
Hi, I upgraded to Windows 10 on my Windows 8.1 device. After I upgraded I came across an issue with a driver (or similar) which meant that my machine was unable to boot into Windows. The only options were for me to rebuild the machine and...

Tags for this Thread

Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 10:35.
Find Us