添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Last week, our customer wanted to deploy multiple fonts to all their Windows devices with Intune. Is there a simple way to use fonts in Intune, they asked? Because there is no default option for deploying fonts to Intune devices, we had to suggest an easy method to install the fonts.

On Windows devices, there is a dedicated folder for fonts. Windows does come with a set of preinstalled fonts. 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 .

Install and Update Third Party Applications with Patch My PC
Patch My PC Sponsored AD

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

Broadly, there are three ways to install fonts on Windows devices with Intune.

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 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 with Intune should have one of these file extensions. In the screenshot below, we have picked up two custom fonts for deployment. In your case, it could be some other licensed fonts that need to be deployed.

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

Method 1: Use PowerShell Scripts to Deploy Fonts using Intune

Microsoft GitHub has numerous PowerShell scripts that can assist you in using Intune to deploy fonts. Before you use the scripts for font deployment, 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 remove particular fonts from 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 in Intune for Fonts Deployment

A better approach for deploying fonts with Intune is to create a Win32 app package and 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.

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 fonts and PowerShell scripts needed, let us go over how to deploy custom fonts to Intune managed devices.

Step 1: Create .IntuneWin File for Fonts

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.

On the App Information tab, click Select app package file . On the app package file pane, click the browse button. Then, select a fonts installation file with the extension .intunewin. The Win32 app details appear on the screen populated by Intune. 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 for Win32 App

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. 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 install or uninstall command is entered incorrectly.

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 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 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 – 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 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 for installing fonts with 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 extremely 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 very easy to package the fonts into an MSI installer file. Once we have created the fonts MSI installer, we will deploy it as a Line-of-Business app using 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 FontsFolder 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 fonts 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 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 Fonts 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 using Intune

While creating the Win32 app for font installation, we specified the PowerShell script to uninstall the fonts in Intune. That should make it easy to remove the custom fonts with Intune. To uninstall the fonts, deploy FontsUninstall.ps1 to the devices.

If you have deployed fonts as an MSI app, they can be uninstalled by going to Control Panel > Programs and Features . 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

Post navigation

One Comment

    Leave a Reply Cancel reply

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