Solved "Windows Font Viewer" does not work!


atinfo

Active member
Member
VIP
Local time
1:41 PM
Posts
147
OS
Win 11 Enterprise
Hi forum,

Font file formats (OTF, TTF) are un-associated (SS below):

fSS.png

By double click on "fontview.exe" the message below appears (SS):

ss.png

Microsoft Defender is on, no third-party AV is installed on Windows, "FontExpert" app is installed (and I had no such a problem before that). I did restart "Windows Font Cache" Service but nothing!
 

My Computer

System One

  • OS
    Win 11 Enterprise
    Computer type
    Laptop
    CPU
    i7
    Hard Drives
    SSD

Berton

Well-known member
Member
VIP
Local time
3:11 AM
Posts
559
Location
Wyoming
OS
Win11 Pro RTM x64
I get the same on both Win11 Pro RTM and Win10 Pro RTM. The file does exist in C:\:Windows\System32 and other subfolders of C:\Windows.
 

My Computers

System One System Two

  • OS
    Win11 Pro RTM x64
    Computer type
    Laptop
    Manufacturer/Model
    Dell Vostro 3400
    CPU
    Intel Core i5
    Memory
    8GB
    Hard Drives
    256GB SSD NVMe
  • Operating System
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Vostro 5890
    CPU
    Intel Core i5
    Memory
    8GB [16GB on order]
    Monitor(s) Displays
    21"
    Hard Drives
    512GB SSD NVMe
    Browser
    Firefox, Edge
    Antivirus
    Windows Defender/Microsoft Security

glasskuter

Well-known member
Power User
VIP
Local time
4:11 AM
Posts
1,535
Location
The Lone Star State of Texas
OS
Windows 11 Pro 21H2 22000.675
The file exists in my system32 folder but is not executable. Same error as you.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 21H2 22000.675
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900
    Memory
    32 gb
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 m.2 2230-256+1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
  • Operating System
    Windows 10 Pro 21H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 9020
    CPU
    i7-4770
    Memory
    24 gb
    Screen Resolution
    2560x1440
    Hard Drives
    256 gb Toshiba BG4 M.2 NVE SSB and 1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    standard
    Mouse
    Logitech wireless
    Keyboard
    Logitech wired
    Antivirus
    Defender+MWB Premium

atinfo

Active member
Member
VIP
Thread Starter
Local time
1:41 PM
Posts
147
OS
Win 11 Enterprise
I think one of Putin's missiles has collided with the "System32" folder. I didn't have this problem the week before the intrusion :woozy: ...
 

My Computer

System One

  • OS
    Win 11 Enterprise
    Computer type
    Laptop
    CPU
    i7
    Hard Drives
    SSD

Berton

Well-known member
Member
VIP
Local time
3:11 AM
Posts
559
Location
Wyoming
OS
Win11 Pro RTM x64
Which Version and Build of Win11 do you have? Windows Key + R, type winver. This is mine:

1646662898910.png

Sometimes things get 'fixed' with the latest update.
 

My Computers

System One System Two

  • OS
    Win11 Pro RTM x64
    Computer type
    Laptop
    Manufacturer/Model
    Dell Vostro 3400
    CPU
    Intel Core i5
    Memory
    8GB
    Hard Drives
    256GB SSD NVMe
  • Operating System
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Vostro 5890
    CPU
    Intel Core i5
    Memory
    8GB [16GB on order]
    Monitor(s) Displays
    21"
    Hard Drives
    512GB SSD NVMe
    Browser
    Firefox, Edge
    Antivirus
    Windows Defender/Microsoft Security

atinfo

Active member
Member
VIP
Thread Starter
Local time
1:41 PM
Posts
147
OS
Win 11 Enterprise
Stable 👉 winVer.png
 

My Computer

System One

  • OS
    Win 11 Enterprise
    Computer type
    Laptop
    CPU
    i7
    Hard Drives
    SSD

Fabler2

Well-known member
Power User
VIP
Local time
10:11 AM
Posts
1,422
OS
Win 11 Pro & Dev.
Same error running the fontviewer.exe but works fine in Settings,

2022-03-07 14_50_47-Settings.png
 

My Computers

System One System Two

  • OS
    Win 11 Pro & Dev.
    Computer type
    Laptop
    Manufacturer/Model
    ASUS VivoBook
    CPU
    AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx
    Motherboard
    ASUSTeK COMPUTER INC. X509DA (FP5)
    Memory
    12GB
    Graphics Card(s)
    RX Vega 10 Graphics
    Monitor(s) Displays
    Generic PnP Monitor (1920x1080@60Hz)
    Screen Resolution
    1920x1080@60Hz
    Hard Drives
    INTEL SSD 660p 512GB NVMe
    Internet Speed
    25 Mbps
    Browser
    Edge
    Antivirus
    Defender
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    ACER
    CPU
    AMD Ryzen 7 5800H / 3.2 GHz
    Motherboard
    CZ Scala_CAS (FP6)
    Memory
    16 GB (2 x 8 GB) DDR4 SDRAM 3200 MHz
    Graphics card(s)
    NVIDIA GeForce RTX 3060 6 GB GDDR6 SDRAM
    Sound Card
    Realtek Audio. NVIDIA High Definition Audio
    Monitor(s) Displays
    15.6" LED backlight 1920 x 1080 (Full HD) 144 Hz
    Screen Resolution
    1920 x 1080 (Full HD)
    Hard Drives
    1.024 TB SSD M.2 2280 - Samsung
    PSU
    180 Watt, 19.5 V
    Mouse
    Logitech
    Internet Speed
    25 Mbps
    Browser
    Edge
    Antivirus
    Defender

Brink

Administrator
Staff member
MVP
Local time
4:11 AM
Posts
3,636
OS
Windows 11 Pro for Workstations
Hello @atinfo, :)

It sounds like something may have messed up the default apps association for your .otf and .ttf file types. You could see if resetting them below may help.

 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 980 PRO M.2,
    1TB Samsung 970 EVO Plus M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Motorola MB8611 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S20 Ultra 5G phone
  • Operating System
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1
    CPU
    i7-1065G7 3.9 GHz
    Memory
    16 GB LPDDR4-3200
    Graphics card(s)
    Intel Iris Plus
    Sound Card
    Intel SST
    Monitor(s) Displays
    13.3" 4K UWVA AMOLED multitouch
    Screen Resolution
    3840 x 2160
    Hard Drives
    512 GB PCIe NVMe M.2 SSD
    Browser
    Google Chrome
    Antivirus
    Windows Defender and Malwarebytes Premium

atinfo

Active member
Member
VIP
Thread Starter
Local time
1:41 PM
Posts
147
OS
Win 11 Enterprise
It didn't work (applied Registry keys). I have no OTF or TTF file type extension in Default App settings.

ss1.png


ss2.png
 

My Computer

System One

  • OS
    Win 11 Enterprise
    Computer type
    Laptop
    CPU
    i7
    Hard Drives
    SSD

Brink

Administrator
Staff member
MVP
Local time
4:11 AM
Posts
3,636
OS
Windows 11 Pro for Workstations
It didn't work (applied Registry keys). I have no OTF or TTF file type extension in Default App settings.

In that case, see if the REG file below may help. It restores the default registry entries for otffile that is referenced by OTF files.

Code:
Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\otffile]

[HKEY_CLASSES_ROOT\otffile]
@="OpenType Font file"
"FriendlyTypeName"="@shell32.dll,-10149"
"Treatment"=dword:00000000
"TypeOverlay"=""

[HKEY_CLASSES_ROOT\otffile\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
  00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,66,00,6f,00,\
  6e,00,74,00,65,00,78,00,74,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,34,00,31,\
  00,39,00,00,00

[HKEY_CLASSES_ROOT\otffile\shell]

[HKEY_CLASSES_ROOT\otffile\shell\preview]

[HKEY_CLASSES_ROOT\otffile\shell\preview\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
  00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,66,00,6f,00,\
  6e,00,74,00,76,00,69,00,65,00,77,00,2e,00,65,00,78,00,65,00,20,00,25,00,31,\
  00,00,00

[HKEY_CLASSES_ROOT\otffile\shell\print]

[HKEY_CLASSES_ROOT\otffile\shell\print\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
  00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,66,00,6f,00,\
  6e,00,74,00,76,00,69,00,65,00,77,00,2e,00,65,00,78,00,65,00,20,00,2f,00,70,\
  00,20,00,25,00,31,00,00,00

[HKEY_CLASSES_ROOT\otffile\shellex]

[HKEY_CLASSES_ROOT\otffile\shellex\ContextMenuHandlers]

[HKEY_CLASSES_ROOT\otffile\shellex\ContextMenuHandlers\InstallFont]
@="{1a184871-359e-4f67-aad9-5b9905d62232}"

[HKEY_CLASSES_ROOT\otffile\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{8a7cae0e-5951-49cb-bf20-ab3fa1e44b01}"

[HKEY_CLASSES_ROOT\otffile\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
@="{B8BE1E19-B9E4-4ebb-B7F6-A8FE1B3871E0}"
 

Attachments

  • otffile.reg
    3.4 KB · Views: 1

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 980 PRO M.2,
    1TB Samsung 970 EVO Plus M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Motorola MB8611 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S20 Ultra 5G phone
  • Operating System
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1
    CPU
    i7-1065G7 3.9 GHz
    Memory
    16 GB LPDDR4-3200
    Graphics card(s)
    Intel Iris Plus
    Sound Card
    Intel SST
    Monitor(s) Displays
    13.3" 4K UWVA AMOLED multitouch
    Screen Resolution
    3840 x 2160
    Hard Drives
    512 GB PCIe NVMe M.2 SSD
    Browser
    Google Chrome
    Antivirus
    Windows Defender and Malwarebytes Premium

atinfo

Active member
Member
VIP
Thread Starter
Local time
1:41 PM
Posts
147
OS
Win 11 Enterprise
Many thanks @Brink :thumbsup:

Your Registry key worked (link below). Do you have such a key for TrueType (TTF) fonts, too?
 

My Computer

System One

  • OS
    Win 11 Enterprise
    Computer type
    Laptop
    CPU
    i7
    Hard Drives
    SSD

Brink

Administrator
Staff member
MVP
Local time
4:11 AM
Posts
3,636
OS
Windows 11 Pro for Workstations
Great news. :party:

Here you go for TTF:
 

Attachments

  • ttffile.reg
    3.4 KB · Views: 1

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 980 PRO M.2,
    1TB Samsung 970 EVO Plus M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Motorola MB8611 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S20 Ultra 5G phone
  • Operating System
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1
    CPU
    i7-1065G7 3.9 GHz
    Memory
    16 GB LPDDR4-3200
    Graphics card(s)
    Intel Iris Plus
    Sound Card
    Intel SST
    Monitor(s) Displays
    13.3" 4K UWVA AMOLED multitouch
    Screen Resolution
    3840 x 2160
    Hard Drives
    512 GB PCIe NVMe M.2 SSD
    Browser
    Google Chrome
    Antivirus
    Windows Defender and Malwarebytes Premium

Alex__ASSR

Member
Member
Local time
6:11 AM
Posts
81
Location
Brazil
OS
Windows 11, Pro for Workstations, 21H2 (22000.652)
the font viewer does not open by itself running directly without having a font file, click on a font and you will see it working.

the same happens here if you try to open it directly without a font file.

1648151973777.png
 

My Computer

System One

  • OS
    Windows 11, Pro for Workstations, 21H2 (22000.652)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    AMD Ryzen 5 3400G 3.7GHz (4.2GHz Turbo)
    Motherboard
    Asus Prime B450M Gaming/BR Chipset B450 AMD AM4 mATX DDR4 - BIOS 3604
    Memory
    DDR4 OLOy Owl Black, 8GB, 3200MHZ, (x2)
    Graphics Card(s)
    Colorful GeForce GTX 1650 Super
    Sound Card
    -
    Monitor(s) Displays
    LG 22EA53(Digital)
    Screen Resolution
    1920x1080
    Hard Drives
    SSD: 120GB, Sata III, Leitura 560MBs e Gravação 540MBs
    HD: Seagate Barracuda 1TB, Sata III, 7200RPM, 64MB
    PSU
    Corsair ATX CV550 550W, 80 Plus Bronze, PFC Ativo
    Case
    Wheel Jack, Mid Tower, Vidro Temperado, Black
    Cooling
    default
    Keyboard
    common
    Mouse
    commom
    Internet Speed
    600mb
    Browser
    Opera
    Antivirus
    Windows Defender

atinfo

Active member
Member
VIP
Thread Starter
Local time
1:41 PM
Posts
147
OS
Win 11 Enterprise
Many many thanks @Brink :party:

I had a headache! Finally solved! :thumbsup:
 

My Computer

System One

  • OS
    Win 11 Enterprise
    Computer type
    Laptop
    CPU
    i7
    Hard Drives
    SSD

Brink

Administrator
Staff member
MVP
Local time
4:11 AM
Posts
3,636
OS
Windows 11 Pro for Workstations
:shawn: (y)
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 980 PRO M.2,
    1TB Samsung 970 EVO Plus M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Motorola MB8611 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S20 Ultra 5G phone
  • Operating System
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1
    CPU
    i7-1065G7 3.9 GHz
    Memory
    16 GB LPDDR4-3200
    Graphics card(s)
    Intel Iris Plus
    Sound Card
    Intel SST
    Monitor(s) Displays
    13.3" 4K UWVA AMOLED multitouch
    Screen Resolution
    3840 x 2160
    Hard Drives
    512 GB PCIe NVMe M.2 SSD
    Browser
    Google Chrome
    Antivirus
    Windows Defender and Malwarebytes Premium
Top Bottom