Windows 10 Deleting Locked .ttf files

command linefile-permissionswindows

I've got a few font files (.ttf) lying around from a directory I deleted, I've been trying to delete them but it's really not working, this is what I've tried so far and what the results were

Deleting in explorer:
Require Admin Permissions

Deleting in cmd
Access Denied

Deleting in explorer as admin
File is open in system

Deleting in cmd as admin
Access Denied

Killing explorer and deleting in cmd
Access Denied

Deleting with file assassin:
Corrupted File? I can't remove it, and notepad++ tells me the file doesn't exist, it is definitely different than the others, but I'm not sure how.

I really hate having these files stuck in my system, is there anything else that I should be trying to get rid of these files?

Thanks for your time.

Best Answer

Open the Fonts folder located at C:\Windows\Fonts Right-click the font you want to remove, and click Delete

If that doesn't work, you may have to edit the registry to remove the font references before deleting the .TTF files (on next reboot)

Registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts

See "Uninstalling a Font Manually Using Regedit" @ How to Reset Default System Font Settings (to Segoe UI) in Windows?

Related Question