Skip to content
Follow
Windows

How to Block Untrusted Fonts in Windows 11

Richard
Written by
Richard
Feb 10, 2026 Updated Oct 5, 2026 5 min read
How to Block Untrusted Fonts in Windows 11
How to Block Untrusted Fonts in Windows 11

Untrusted font blocking is a Windows 11 security feature that stops malicious font files from running hidden code on your PC. Font parsing has been a route for attackers in the past, because a booby-trapped font can run code with high privileges. The feature stops fonts from loading unless they come from the trusted system font location.

Advertisement

You can set it to block untrusted fonts outright, or to only log attempts so you can see what would be affected first. Either way, it limits the damage from fake font files downloaded from the internet.

⚡ Quick Answer

Open Local Group Policy Editor (gpedit.msc) and navigate to Computer Configuration Administrative Templates System Mitigation Options. Double-click Untrusted Font Blocking, select Enabled to block unsafe fonts, then click OK and restart your PC. Windows 11 Home users must use Registry Editor instead to set 🗝️HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\MitigationOptions MitigationOptions-FontBocking to 1.

Advertisement

What Are Fonts and Untrusted Fonts?

Fonts define how text looks on screen. Windows treats a font as untrusted when it does not come from the official Windows fonts directory. These files often come from unverified third-party websites, bundled downloads, or email attachments.

Loading unverified typefaces from outside locations can affect system stability. It can also open a security hole, because font files are parsed by Windows components that run with high privileges.

Windows local group policy editor showing font blocking
Windows untrusted font blocking local group policy editor

Why Block Untrusted Fonts?

Attackers sometimes hide harmful code inside font files so it runs when the font is loaded. Windows 11 includes a built-in protection called Blocking Untrusted Fonts. It checks where a font is coming from and intercepts untrusted files before they execute.

How to Control Untrusted Fonts in 🪟 Windows 11

You can block unsafe typefaces, or you can just log when apps try to load them. The settings work like this:

Advertisement
  • On – Blocks unsafe fonts from loading outside the trusted font folder and records these events.
  • Audit – Does not block fonts but keeps a log of apps that use untrusted fonts.
  • Exclude apps – Lets you allow certain apps to use untrusted fonts, even if blocking is on.
📝Good to KnowIf you are not sure what depends on fonts stored outside the Windows fonts folder, start with Audit.

Run it for a while, check the log, then switch to On. Some design, publishing or portable apps load fonts from their own folders, and blocking can make text display wrongly in them.

Method 1Use the Local Group Policy Editor

The Local Group Policy Editor is the easiest method, but it is only included in Windows 11 Pro, Enterprise and Education. Windows 11 Home does not have it, so use the Registry Editor method further down instead. You need to be signed in as an administrator.

  1. Press Windows key + R, type gpedit.msc, and press Enter. The Local Group Policy Editor opens. (If you don't know how to open it, see this guide: How to open Local Group Policy Editor)
  2. In the left pane, go to: Computer Configuration > Administrative Templates > System > Mitigation Options The path runs through Computer Configuration Administrative Templates System Mitigation Options
  3. In the right pane, find and double-click Untrusted Font Blocking. A settings window opens for that policy.
  4. Choose one of these options:
    • Not Configured (default) – No fonts are blocked.
    • Enabled – Blocks untrusted fonts and logs events.
    • Disabled – Same as Not Configured, no fonts are blocked.
  5. Click OK to save your changes and close the window. The policy now shows its new state in the right pane.
  6. Restart your PC so the setting applies everywhere.

To undo the change, open the same policy again and set it back to Not Configured.

Group Policy Editor Options for Untrusted Font Blocking
Windows untrusted font blocking local group policy editor options

Method 2Use the Windows Registry Editor

⚠️WarningUse the Registry Editor if you run Windows 11 Home, which has no Group Policy Editor.

It also works on Pro. Editing the registry needs administrator rights, and a wrong change can cause problems. Before you start, back up the registry: in Registry Editor, choose File Export and save a copy.

Advertisement
  1. ⚠️ Requires admin privileges – Press Windows key + R, type regedit, and press Enter. Click Yes if User Account Control asks for permission. The Registry Editor opens. (If you need help, see: How to open Windows Registry Editor)
  2. In Registry Editor, go to this folder: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\MitigationOptions
  3. If you don't see the MitigationOptions folder, right-click Windows NT, select New > Key, and name it MitigationOptions. The new folder (key) should appear in the left pane.
  4. Select the MitigationOptions folder, then right-click an empty area on the right side and select New > String Value. A new value appears in the right pane with its name highlighted.
  5. Name this new value: MitigationOptions_FontBlocking
  6. Double-click the new value to edit it. Set the base to Hexadecimal and enter one of these values:
    • 1000000000000 – Turn on blocking.
    • 2000000000000 – Turn off blocking.
    • 3000000000000 – Audit only (log events, don't block).
  7. Click OK and close the Registry Editor.
  8. Restart your computer for the changes to take effect.

To undo the change, open the value again and enter the "turn off blocking" value from the list above, then restart.

Registry Editor showing Font Blocking value data
Windows untrusted font blocking registry editor value data

Summary

  • Blocking untrusted fonts helps protect your Windows 11 PC from harmful files.
  • You can control this setting using either the Local Group Policy Editor (Pro and Enterprise) or the Registry Editor (Home and Pro).
  • Choose to block, audit, or allow untrusted fonts based on your needs. Auditing first is the safer way to find out what would break.
  • Remember to restart your PC after making changes.
  • If you want to learn more about fonts on Windows 11, check out this easy guide on how to install fonts in Windows 11.

Blocking untrusted fonts on Windows 11 helps protect your PC from harmful files by stopping unsafe typefaces from loading into memory. You can turn on this security feature using either the Local Group Policy Editor or the Registry Editor, depending on your Windows edition. Remember to restart your computer after you finish making changes.

Leave a comment below to share feedback or ask questions about the configuration process.

Have a question about this guide?

Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.

Tags: #Windows 11

Did this guide fix your problem?

Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *