16 نوفمبر، 2018

Rebuild Font Cache in Windows 10

Font Cache works the same way as Icon Cache, and Windows operating system creates a cache for fonts to load them faster and to display them to the interface of the app, Explorer etc. If for some reason the font cache is corrupted then the fonts may not appear properly, or it starts displaying invalid font characters in Windows 10. To resolve this issue, you need to rebuild the font cache, and in this post, we will see how to do that.

Rebuild Font Cache in Windows 10

The font cache file is stored in the Windows folders: C:WindowsServiceProfilesLocalServiceAppDataLocalFontCache, If you are trying to access this folder then you won’t be able to do that directly as Windows protect this folder. Font’s are cached in more than one files in the above folder. Anyway, without wasting any time, let’s see How to Rebuild Font Cache in Windows 10 with the help of the below-listed tutorial.

Rebuild Font Cache in Windows 10

تأكد من إنشاء نقطة استعادة في حالة حدوث خطأ ما.

الطريقة الثالثة: إعادة إنشاء ذاكرة التخزين المؤقت للخطوط يدويًا في نظام التشغيل Windows 1

1. اضغط على مفتاح Windows + R ثم اكتب services.msc ثم اضغط على Enter.

services.msc windows | Rebuild Font Cache in Windows 10

2. قم بالتمرير لأسفل حتى تجد "Windows Font Cache service” in the services window.

ملحوظة: Press W key on the keyboard to locate the Windows Font Cache service.

3. Right-click on Window Font Cache Service ثم يختار خصائص.

Right-click on Window Font Cache Service then select Properties

4. Make sure to click on قلة النوم ثم اضبط نوع بدء التشغيل as معاق.

Make sure to set the Startup type as Disabled for Window Font Cache Service

5. انقر فوق "تطبيق"، متبوعًا بـ حسنا.

6. Do the same (Follow the steps 3 to 5) for Windows Presentation Foundation Font Cache 3.0.0.0.

Make sure to set the Startup type as Disabled for Windows Presentation Foundation Font Cache 3.0.0.0

7. Now navigate to the following folder by going to one folder at a time:

C:WindowsServiceProfilesLocalServiceAppDataLocal

ملحوظة: Do not copy and paste the above path as certain directories are protected by Windows. You need to manually double-click on each of the above folders and click اتبع الدورة to access the above folders.

Manually Rebuild Font Cache in Windows 10 | Rebuild Font Cache in Windows 10

8. Now once inside the Local folder, delete all the files with the name FontCache and .dat as the extension.

Delete all the files with the name FontCache and .dat as the extension

9. بعد ذلك، انقر نقرًا مزدوجًا فوق FontCache مجلد و delete all of its content.

Double-click on the FontCache folder and delete all of its content

10. You need to also delete the file FNTCACHE.DAT من الدليل التالي:

C: WindowsSystem32

Delete the file FNTCACHE.DAT from Windows System32 folder

11. Once done, reboot your PC to save changes.

12. After the reboot, make sure to start the following services and set their startup type as Automatic:

خدمة ذاكرة التخزين المؤقت لخطوط Windows
Windows Presentation Foundation Font Cache 3.0.0.0

Start Windows Font Cache Service and set its startup type as Automatic | Rebuild Font Cache in Windows 10

13. This will successfully Rebuild Font Cache in Windows 10.

If you still see the invalid characters after restarting, you need to repair your Windows 10 using DISM.

Method 2: Rebuild Font Cache in Windows 10 using the BAT file

1.Open Notepad then copy & paste the following:

@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%ServiceProfilesLocalService" folder and contents
icacls "%WinDir%ServiceProfilesLocalService" /grant "%UserName%":F /C /T /Q

:: Delete font cache
del /A /F /Q "%WinDir%ServiceProfilesLocalServiceAppDataLocalFontCache*FontCache*"

del /A /F /Q "%WinDir%System32FNTCACHE.DAT"

:: Enable and start "Windows Font Cache Service" service
sc config "FontCache" start=auto
sc start "FontCache"

2.Now from Notepad menu click on قم بتقديم ثم اضغط حفظ باسم.

Rebuild Font Cache in Windows 10 using the BAT file

3. من القائمة المنسدلة "حفظ كنوع"، حدد "جميع الملفات” then under File name type Rebuild_FontCache.bat (ملحق .bat مهم جدا).

From Save as type select 'All Files' then under File name type Rebuild_FontCache.bat & click Save

4. Make sure to navigate to desktop then click on حفظ.

5. انقر نقرًا مزدوجًا فوق Rebuild_FontCache.bat to run it and once done reboot your PC to save changes.

Double-click on Rebuild_FontCache.bat to run it

أوصى:

هذا كل شيء ، لقد تعلمت بنجاح How to Rebuild Font Cache in Windows 10 ولكن إذا كان لا يزال لديك أي أسئلة بخصوص هذا البرنامج التعليمي فلا تتردد في طرحها في قسم التعليقات.