3 Methods to Deploy Fonts using Intune on Windows Devices

Prajwal Desai
Posted by Prajwal Desai
Deploy Fonts using Intune

In this article, we’ll explore multiple methods to deploy fonts on Windows 10 and Windows 11 devices via Intune. The fonts can be installed on Windows devices via Intune using methods such as PowerShell scripts, a Win32 app, and the Master Packager tool.

Last week, our customer wanted to deploy multiple licensed fonts to all their Windows devices with Intune. Because there is no default option for installing fonts via Intune on Windows devices, we needed to suggest a simple method for fonts deployment.

On Windows devices, there is a dedicated folder for fonts. Both Windows computers and Mac devices come with a set of preinstalled fonts. On Windows, when you install a custom font, it is installed in the C:\Windows\fonts directory. In addition, the font information is added to the following registry path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Fonts.

On Windows devices, if you right-click a custom font and select Install, the font gets installed in no time. This is called manual installation of fonts. Users cannot perform manual font installation in organizations because it is restricted. However, if your Windows devices are managed by Intune, you can automate the font installation using different techniques.

Ways to install fonts on Windows devices using Intune

The font deployment process in Intune can be accomplished using the following methods.

  1. PowerShell Script: You can use PowerShell scripts to install and uninstall fonts on Windows devices through Intune. The same PowerShell scripts help you to deploy fonts with Configuration Manager.
  2. Intune Win32 App: With this method, you package the fonts into a Win32 app and then deploy it with Intune along with PowerShell scripts. Many people prefer the Win32 app font deployment method because it offers detection rules, more thorough troubleshooting options, and delivery optimization. Learn more about using Win32 apps in Intune.
  3. Master Packager Tool: This tool can create and edit Microsoft Windows Installer (MSI) files for free. You can package and build the fonts into an MSI file and deploy it as a LOB MSI package using Intune.

Each of the above methods has a common thing: they install the fonts in the C:\Windows\Fonts directory and update the information in the following registry path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Fonts.

In this guide, we will go over all the methods mentioned above and walk you through the font deployment process with Microsoft Intune.

Prepare the Font Files for Deployment

Before you think of deploying fonts using Intune, you should have the font files ready with you. Most organizations are licensed to use specific fonts, and these fonts are the ones that you are required to deploy. In this example, we have a set of Windows fonts that we have chosen for deployment.

Windows font types primarily consist of .TTF and .OTF files. The custom fonts that you wish to deploy to your Windows devices should have one of these file extensions. In the screenshot below, we have selected two custom fonts for deployment. There is no limit to the number of fonts that you can distribute through Intune. In your case, it could be some other licensed fonts that need to be deployed or even Google fonts.

Download the Font Files for Deployment
Download the Font Files for Deployment

Method 1: Use a PowerShell Script to deploy fonts using Intune

Microsoft GitHub has numerous PowerShell scripts that can assist you in using Intune to deploy fonts for Windows devices. Before you use these scripts, you’ll need to edit the script and specify the source path of the font files. The source path is nothing but the location of the fonts that you wish to deploy.

You can use PowerShell scripts to install or uninstall specific fonts on Windows devices. The majority of these scripts should work, but you should test them to ensure they meet your needs.

For example, the below PowerShell script lets you deploy fonts using Intune. The PowerShell script reads both .TTF and .OTF files from the Fonts source directory, installs each of them in the C:\Windows\Fonts directory, and updates the registry for new fonts. As for deploying this script, you can refer to the guide on deploying PowerShell scripts using Intune.

You can download the PowerShell script to install fonts from GitHub.

Use PowerShell Scripts to Deploy Fonts using Intune
Use PowerShell Scripts to Deploy Fonts using Intune

Method 2: Create Win32 App for Fonts Deployment

A better way to deploy fonts is to create a Win32 app package that includes the required fonts and then deploy it to Windows devices. The .Intunewin file will contain the fonts that you intend to deploy along with the necessary PowerShell scripts.

Before you can add a Win32 app to Microsoft Intune, you must prepare the app by using the Microsoft Win32 Content Prep Tool. The tool converts application installation files into the .intunewin format.

In the following example, we will package the following files into a .intunewin file.

  1. Fonts: This folder contains the fonts that you want to deploy.
  2. FontsInstall.ps1: This script installs the fonts on Windows devices.
  3. FontsUninstall.ps1: This script removes the installed fonts from Windows devices.
  4. DetectionCheck.ps1: This script detects if the fonts are already present on the clients.

Note: The below PowerShell scripts were written for the customer who wanted us to install fonts using Intune. As mentioned earlier, if you require those PowerShell scripts, you can get similar ones from GitHub or other trusted sources. Most of the PS scripts that you download from GitHub should help you with font installation. Thoroughly test those scripts before deploying them in your organization. If you find it difficult to get those scripts, please let us know in the comments section, and we’ll assist you.

Deploy Fonts using Intune
Deploy Fonts using Intune

Now that you have gathered the necessary fonts and PowerShell scripts, let us look at how to deploy custom fonts to Intune-managed devices.

Step 1: Create .IntuneWin File

In this step, we will use the Microsoft Win32 content prep tool to package font files into the .intunewin file. This resulting font package will be a .intunewin file that will be distributed using Intune.

On your Windows PC, launch the command prompt as administrator and change the path to the folder that contains the Win32 content prep tool. Run the command IntuneWinAppUtil.exe.

When you enter the above command, you need to input the details.

  • Please specify the source folder: Specify the folder that contains font files.
  • Please specify the setup file: Specify the PS script file for font installation.
  • Specify the output folder: The Win32 Content Prep tool will place the final .intunewin file in this folder. In this example, the output folder is C:\Temp.
  • Do you want to specify catalog folder: Type N.
Create IntuneWin File for Fonts
Create IntuneWin File for Fonts

Wait for a few minutes while the Win32 Content Prep Tool runs and prepares the installfonts.intunewin app for you.

Create .IntuneWin File for Fonts
Create .IntuneWin File for Fonts

Step 2: Add the Fonts Package to Intune as Win32 App

In this step, we will upload the fonts .intunewin file (Win32 App) to Intune. Use the following steps to upload the Win32 app to Intune:

  • Sign in to the Microsoft Intune admin center.
  • Select Apps > WindowsAdd.
  • On the Select app type pane, under the Other app types, select Windows app (Win32).
Add the Fonts to Intune as Win32 App
Add the Fonts to Intune as Win32 App

On the App Information tab, click on Select app package file. On the app package file pane, click the browse button. Then, select the fontsinstall.intunewin file. When you’re finished, select OK in the App package file pane.

Add the Fonts to Intune as Win32 App
Add the Fonts to Intune as Win32 App

Step 3: Configure App Information

On the App Information tab, make sure you have selected the correct Win32 app for deployment. Enter the app name as “Install Fonts using Intune.” You can add a brief description of this Win32 app by clicking Edit Description.

Enter the publisher information and the category to which this app belongs. You may choose to display this as a featured app in the company portal by turning that slider to Yes. Specify other optional details about the app and when you are done, click Next.

Configure App Information for Win32 App
Configure App Information for Win32 App

Step 4: Specify Program Information

In this step, we’ll specify important information about the Win32 app that contains the fonts to be deployed. These are critical details that you must supply before you deploy fonts using Intune. Note that fonts deployment in Intune will fail with error 0x80070002 if the installation or uninstall command is entered incorrectly.

  • Install Command: %windir%\sysnative\windowspowershell\v1.0\powershell.exe -ExecutionPolicy Bypass -file .\fontsinstall.ps1
  • Uninstall Command: %windir%\sysnative\windowspowershell\v1.0\powershell.exe -ExecutionPolicy Bypass -file .\fontsuninstall.ps1
  • Installation time required (mins): 20 minutes
  • Allow available uninstall: Yes
  • Install behavior: System
  • Device restart behavior: No specific action

When done, click on Review+Save.

Configure Program Information - Fonts Deployment using Intune
Configure Program Information – Fonts Deployment using Intune

Step 4: Configure Requirements for Deploying Fonts

On the Requirements page, specify the requirements that Windows devices must meet before the Fonts Win32 app is installed. We have configured the following requirements for the app:

  • Operating system architecture: Select the OS architecture as 64-bit.
  • Minimum operating system: Select the minimum operating system, Windows 10 22H2.

If you want to configure additional requirement rules, you can do so by clicking the +Add option. Click Next.

Configure Requirements for Fonts Installation
Configure Requirements for Fonts Installation

Step 6: Configure Detection Rules

While performing fonts deployment on Windows devices via Intune, a detection rule is essential. The detection rules are very similar to what we have in Configuration Manager for applications. The Win32 app installation is entirely determined by the rules that you specify here.

Add the detection rule by specifying the following:

  • Rules format: Use a custom detection script
  • Script file: Click on the browse icon and select the font detection script.
  • Run script as 32-bit process on 64-bit clients: No
  • Enforce signature check and run script silently: No.
Configure Detection Rules for Fonts deployment using Intune
Configure Detection Rules for Fonts deployment using Intune

You can specify app dependencies where the applications must be installed before fonts can be installed. Any Win32 app dependency needs to also be a Win32 app. It doesn’t support depending on other app types, such as single MSI LOB apps or Microsoft Store apps. Click Next.

Dependencies for Fonts Installation in Intune
Dependencies for Fonts Installation in Intune

Step 7: Font Package Assignments

In this step, you must assign the font package to Windows devices. On the Assignments tab, you can select the RequiredAvailable for enrolled devices, or Uninstall group assignments for the app. The options are explained below.

  • Required: The Win32 app is installed on devices in the selected groups.
  • Available for enrolled devices: Users install the Win32 app from the company portal app.
  • Uninstall: The Win32 app is uninstalled from devices in the selected groups.

After you select your groups, you can also configure End user notificationsAvailability, and Installation deadline for Win32 apps.

Click Next.

Assign font packages to windows devices
Assign font packages to windows devices

Step 8: Review + Create

On the Review+Create tab, go through the values and settings that you entered for the Win32 app, consisting of fonts. Verify that you configured the app information correctly. Select Create to add the Win32 app to Intune. We have successfully added fonts from the Win32 app to Intune.

Deploy Fonts using Intune
Deploy Fonts using Intune

Step 9: Monitor the Fonts Deployment using Intune

Once you have installed fonts as a Win32 app on your Windows devices, you can track their deployment status and installation progress in the Intune admin center. Intune provides detailed reports and logs, allowing you to troubleshoot any deployment issues and ensure a successful app installation. Learn how to collect Intune logs from Windows devices.

When you create a Win32 app in Intune using the above steps, you must wait until the app is uploaded to Intune. To monitor the progress of Win32 app installation on Windows devices, go to the Microsoft Intune admin center > Apps > Windows > Install Fonts Win32 app and select Overview.

If the installation of fonts is delayed or not happening, you can perform Intune policy sync on Windows devices. This will force Windows devices to check with Intune for the latest policies.

Step 10: End User Experience: Check Fonts Installation

After the Windows devices within the assigned groups receive the Fonts Install Win32 app, the fonts are installed on the computers. There are several ways to check if the new fonts are installed on Windows devices, which we will discuss in the following section. For now, to confirm if the fonts are installed by Intune on the Windows PC, go to the C:\Windows\Fonts directory. In the search box, type the name of the font that we installed, and now you should see these fonts in the list as installed.

The custom fonts that we uploaded to Intune as a Win32 app are both installed on the device, as shown in the screenshot below. This confirms that you can deploy fonts as a Win32 app using Intune on Windows devices.

End User Experience - Fonts Installation
End User Experience – Fonts Installation

Method 3: Use Master Packager to Install Fonts using Intune [MSI Installer]

In this method, we will use the Master Packager tool to create an MSI installer that installs fonts on our Windows devices via Intune. This is a relatively new tool, but it is extremely useful for administrators who package applications. Using this tool will save you time because the process of packing fonts into .msi files is quick and simple. So let’s get started.

Download and Install Master Packager

Download and install the Master Package tool from their homepage. The community edition (free version) of the tool can create MSI installers and is sufficient for most of the tasks. However, if you like the tool, you can go ahead and purchase the professional edition (paid version) to enjoy additional features.

Installing the Master Packager application is simple and straightforward. Double-click the installer and follow the wizard to install the tool. Once the master packager is installed, launch the application.

Download Master Packager Tool
Download Master Packager Tool

Create Fonts MSI Package

In this section, we will demonstrate the steps to create a .MSI installer containing custom fonts. Master Packager makes it effortless to package the fonts into an MSI installer file. Once the fonts MSI installer has been created, it will be deployed as a Line-of-Business app via Intune.

Launch the Master Packager tool and select New MSI.

Use Master Packager to Install Fonts using Intune
Use Master Packager to Install Fonts using Intune

Before you add the fonts to the MSI installer package, save the installer to a known location. In the screenshot below, we are going to specify the installer name as InstallFonts.msi.

Use Master Packager to Install Fonts using Intune
Use Master Packager to Install Fonts using Intune

On the General Information tab, specify the product name, product version and other basic details about the font package. Next, in the left pane, select Files. This is where you add the fonts to the MSI package and build the installer.

In the Files section, go to [TARGETDIR] > WindowsFolder > FontsFolder. Browse to the folder where you have saved your custom fonts and drag the custom font files into the FontsFolder. On the Select CAB File window, select Build Now.

Note: In case you would like to add additional fonts to the MSI package, you can edit the installer and add it.

Use Master Packager to Install Fonts using Intune
Use Master Packager to Install Fonts using Intune

The Fonts Folder now shows the fonts that you have added to the MSI package.

Use Master Packager to Install Fonts using Intune
Use Master Packager to Install Fonts using Intune

To save the above configuration, click File > Save. That’s it; the Fonts MSI package is ready for deployment. In the next step, we will distribute the fonts MSI package as an LOB app through Intune.

Use Master Packager to Install Fonts using Intune
Use Master Packager to Install Fonts using Intune

Deploy Fonts as LOB app in Intune

In this step, we will deploy the font MSI package using Intune. As this is an .msi installer, we will upload the installer as an LOB app in Intune and deploy it to Windows 10 and Windows 11 devices.

In our previous guide, we covered the steps for deploying MSI applications using Intune. We’ll use the same procedure to deploy fonts MSI app using Intune.

In the Intune admin center, go to Apps > Windows and select Add. Select the app type as a line-of-business app.

Deploy Fonts as LOB app in Intune
Deploy Fonts as LOB app in Intune

Click on Select app package file, click Browse and select the InstallFonts.msi file. The font package details are presented on the screen. Click OK.

Deploy Fonts as LOB app in Intune
Deploy Fonts as LOB app in Intune

On the App Information tab, enter some basic details about the application, such as name, description, publisher, developer, etc. Additionally, you may specify a logo for this application, which will appear in the company portal for users. Click Next.

Deploy Fonts using Intune as LOB app
Deploy Fonts using Intune as LOB app

Assign the application to Entra ID device groups. You can choose to assign the app as Required or Available for enrolled devices. In the below example, we have assigned the app to a device group as Required. Click Next.

Deploy Fonts using Intune as LOB app
Deploy Fonts using Intune as LOB app

Review all the app settings and click on Create. The MSI application is now uploaded to Intune for deployment.

Deploy Fonts using Intune as LOB app
Deploy Fonts using Intune as LOB app

Monitor Fonts Deployment in Intune

You can monitor the Fonts MSI application deployment in the Intune admin center. Under Apps > Windows, select the InstallFonts MSI app and go to the Overview tab. Here you can see the total number of devices on which the fonts have been installed successfully.

Monitor Fonts Deployment in Intune
Monitor Fonts Deployment in Intune

How to Verify Font Installation on Windows Devices

No matter what method you have selected for installing fonts using Intune, there are multiple ways to confirm if the font installation was successful. The majority of these methods necessitate manual verification, which can be done on a few devices to confirm the deployment.

Verify font installation from C:\Windows\Fonts location

When you deploy fonts using Intune on Windows devices, they are installed in the C:\Windows\Fonts directory. To verify if the custom fonts have been installed via Intune, go to the C:\Windows\Fonts directory and check for the fonts.

Verify font installation from C:\Windows\Fonts location
Verify font installation from C:\Windows\Fonts location

Check the font installation using Registry

For advanced users, the registry contains the list of fonts that are installed on the computer. Run the regedit.exe command on a Windows computer to launch the registry editor. Browse to the following registry path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts. Here, you can find all the fonts that are installed on the PC.

Check the font installation using Registry
Check the font installation using Registry

Verify the Fonts Installation using Notepad

When you install custom fonts on a Windows computer, you can use those fonts in the Notepad application. To confirm if the fonts are installed via Intune, open the Notepad application on a Windows computer. Go to Edit > Font, and under Font Settings, click the drop-down to choose a font. Here, you should find all the custom fonts installed on the computer.

Verify the Fonts Installation using Notepad
Verify the Fonts Installation using Notepad

Verify Custom Fonts Installation using Microsoft Word

If you are running Microsoft 365 apps or Office 2021 on your computer, launch the Microsoft Word app. If the font has been installed by Intune, it should appear in Microsoft Word when you select Fonts.

Verify Custom Fonts Installation using Microsoft Word
Verify Custom Fonts Installation using Microsoft Word

How to Uninstall Fonts with Intune

To uninstall the fonts from the devices, go to the Win32 Fonts deployment app in the Intune admin center and select Properties. Remove the devices from the Required section and add them to the Uninstall section. Select Review+Save. The uninstallation of fonts will begin on the devices once they sync with Intune.

If you have deployed fonts as an MSI app, they can be uninstalled by going to Control Panel > Programs and Features. This will require administrator privileges because you’re uninstalling an app from the system. From the list of apps, select the InstallFonts app and click Uninstall. The fonts will be uninstalled from the Windows PC.

Uninstall Fonts using Intune
Uninstall Fonts using Intune
Share This Article
Prajwal Desai
Posted by Prajwal Desai
Follow:
Prajwal Desai is a Microsoft MVP in Intune and SCCM. He writes articles on SCCM, Intune, Windows 365, Windows Server, Windows 11, WordPress and other topics, with the goal of providing people with useful information.
5 Comments