How to deploy fonts using Configuration Manager 2012 R2

In this post we will see steps on how to deploy fonts using Configuration Manager 2012 R2. If you have been tasked with deploying fonts using SCCM this post should help you. A font is a set of printable or displayable text characters in a specific style and size.

One of the most popular outline font software programs on today’s computers is TrueType fonts. TrueType fonts come with both Windows and Macintosh operating systems. Normally if you want to install a font the easiest way is to double-click on a font file to open the font preview and select ‘Install‘. But if you want to deploy the same font on multiple computers, we have to make use of script that does the job.

When you deploy a script (SCCM Package) to install the font, the user that is logged on to the computer will not be able to use or see these new fonts until they log out and log in back. If you run this script on a standalone computer the fonts are installed and can be seen used by users. The strange thing is when SCCM deploys the same package and runs the same script the fonts gets installed correctly but they appear to be missing. After a log off and login the fonts can be seen.

How to deploy fonts using Configuration Manager

Download the install_fonts script from here. It’s a text file, so download and save it to a folder. Next, change the extension of the file from .txt to .vbs. Copy the script file and font to a shared folder. The font that I be deploying is Marlboro font which is available free for Download.

How to deploy fonts using Configuration Manager 2012 R2

Open the script file with notepad or any editor, set the font source path to the location where the font is located. You just need to specify the path up to the folder where the font is present. Save and close the file.

How to deploy fonts using Configuration Manager 2012 R2

In Configuration Manager console, choose Software Library. In the Software Library workspace, expand Application Management, and then choose Packages. Right click Packages and click Create Package. Specify the Name, Source folder and click Next.

How to deploy fonts using Configuration Manager 2012 R2

Choose the Program Type as Standard Program. Click Next.

How to deploy fonts using Configuration Manager 2012 R2

Specify the Name for the standard program, enter the Command line as cscript.exe filename.vbs. Choose the program to run whether or not a user is logged on. click Next.

How to deploy fonts using Configuration Manager 2012 R2

Click Next.

How to deploy fonts using Configuration Manager 2012 R2

The package has been created successfully. Click Close.

How to deploy fonts using Configuration Manager 2012 R2

After the package is created, click on the package and at the bottom pane, click the Programs tab. Right click the Program and click Properties. On the General tab, choose After running option to Configuration Manager logs user off. As I mentioned in the beginning of the post that when the script installs new font, until the user logs out and logs in back the font is not seen. Click Apply and OK.

How to deploy fonts using Configuration Manager 2012 R2

Right click on the package and Distribute the content to the DP. Once the content is available with the DP, right click the package and click Deploy. Deploy the package to the desired collection. Choose the deployment purpose as Available or Required.

Since a log off is required after we deploy this package, I will be deploying this package as Available. A log off notification will be seen by user when the software is is installed from the Software Center. After you deploy the package, wait for few minutes, the package will be available for install in the software center. To install the software click Install Selected.

How to deploy fonts using Configuration Manager 2012 R2

After the software is installed, the status is now Pending Logoff. To log off click on Logoff.

How to deploy fonts using Configuration Manager 2012 R2

After the user logs in, on the client computer, launch the Control Panel, click on Fonts and in the search bar type the font name. You can see that the font Marlboro Regular is in list of fonts.

How to deploy fonts using Configuration Manager 2012 R2

On the client computer open execmgr.log file for troubleshooting the deployment. In the below screenshot we see that the Marlboro font has been installed successfully.

How to deploy fonts using Configuration Manager 2012 R2

So how do you verify whether the font is available for use ?. Open Ms Word or notepad, look for changing the default fonts and you will see the installed font under Fonts.

How to deploy fonts using Configuration Manager 2012 R2

You might also like

Leave a Reply

29 Comment threads
33 Thread replies
Most reacted comment
Hottest comment thread
newest oldest most voted
Dwayne Gaeke

Prajwal, I think that something has been removed from your posted script.
I see an “install” called out, but no routine for it to reference?
What am I missing, here?
Thank you!!

David Drew

Thanks Prajwal, your script works great in SCCM to copy the font to the correct folder, but it appears that it does not register the font, even after a reboot. I found a similar article that I believe describes this issue: “There’s something magical about the fonts folder viewed through Windows Explorer. If you copy them in from within that instance of Windows via explorer it will actually “install” them create the necessary registry structure automatically. My experience is that If you copy them across the network (e.g. to \\machinename\c$\windows\fonts) from another instance of Windows or copy them in with… Read more »


Thanks Prajwal, you always teach me something new!


Can you rewrite the script because it seems not work with windows 10 1809.
Thanks a lot.


it would be much appreciated if you would send the script to my inbox?


“Copy the script file”
Where from?
I can’t find any link on this page or the text to copy the script… Am I missing something (Quite probable!)
Appreciate the work, this page is a great resource for all SCCM admins šŸ™‚


would you be able to post the script as text?


can you write your script on the comment part. i cant download it


Hello we also have troubles installing fonts. This is since Windows 10 1809 build, on a Windows 10 1803 we have no problems.
I also use .vbs script to install the script in c:windowsfonts but after the script end I can’t see the fonts in the fonts directory. When I open wordpad I see te font, I can select it but nothing changes. I still have Arial as font.
weird problem this is.


Hello all, did anyone of you found solution how to deploy fonts with sccm? this solution is not working. if you manually run install then is OK,


This link possibly explains the script not working when run by SYSTEM via SCCM.


Hi Prajwal,
The link is not working the file is not available? Would you mind sharing it again please?


I’m running this script, and looking in execmgr.log file it executes properly but looking in the fonts directory I cannot see the font.

If I run the script manually it works. Any suggestions?


same here

Abdulrehman Altaf

Thanks Prajwal Desai. Create installation package through visual studio All you have to do is to follow these simple instructions: Open Visual Studio and start a new installer project. Then carry out the following steps: Right click on the File System on Target Machine, Add Special Folder > Fonts Folder: Once you have created the Fonts folder then place your font file there: This will ensure that the installer places the font file into the Fonts folder within Windows, however, you need to also register the font. To register the font, you have to go to the Properties for each… Read more »

Mirza Irfan

Hi Prajwal,
Excellent work, your script worked like magic for me. with the help of this script i deployed multiple fonts on over 3000 machines. Many Thanks again


SMarten – you can set that up with SCCM too, just use scheduled deployments. You can set it to run regularly with that. And then, you can just set it to “no” on ‘users can run it independently of assignments’ and you’re golden.


I have an environment where we have to periodically add new client supplied fonts. I wrote a script that looks in an common folder where staff could add fonts for distribution and would install the font if the file wasn’t already on the machine. I want to move this to SCCM as we have since removed local admin rights. I like Prajwal’s having it available in Software Center for On Demand, but I would also like to have the script automatically run silently in the background on a schedule. How can I arrange that?

Chris Lane

It’s a lot easier in powershell. Just create a cmd file with this command powershell.exe -executionpolicy bypass -file “.\installfonts.ps1” #installfonts.ps1 ######################################################################### # INSTALL WINDOWS FONTS ######################################################################### # Assumes all font files are in the current directory and/or subfolders $invocation = (Get-Variable MyInvocation).Value $directorypath = Split-Path $invocation.MyCommand.Path $FONTS = 0x14 $objShell = New-Object -ComObject Shell.Application $objFolder = $objShell.Namespace($FONTS) # Search for valid Font File Extensions that can be installed in this manner $Fontslist = Get-ChildItem -path $directorypath -Recurse -Include *.ttf,*.otf,*.pfm # now copy each file foreach($FontFile in $FontsList) { # Ignore if Font File already exists in C:\Windows\Fonts If (!(Test-Path (“$($objFolder.Self.Path)\$($FontFile.Name)”))){… Read more »


Hi Prajwal, it appears the download limit is reached, or the file is not available?
Would you mind sharing it again please?

Thanks in advance

Sanjay Lodh

Hi Prajwal,
Only Font file is there in Zip ,No VBScript .
Thanks in advance.


Thumbs up
yes it is available right now tx bro :}


Hello the script is not available could you please upload it again and re assign the link to all readers of your blog ?
or if you can share it with me on ( [email protected] )
awaiting your response highly appreciated šŸ™‚


Hi Prajwal,

can you kindly provide the vbs script as the Dropbox link is not available anymore?

Much appreciated!

Siddharth Venkatachalam

comment image Hello Prajwal,
When I run the script it says Error Object required

Ali Janghorban

Hi Prajwal. I want to install many fonts with this script. but not work !!!

Jason S

Thank you Prajwal for this script! It works great with computers that do not have the font that I am deploying. However, I am deploying 30 fonts to around 500 machines that already have some of the fonts installed. When the script tries to install some of the fonts that are installed I’m getting the following pop up that is causing the deployment to time out: “Install Font. The ‘fontname’ font is already installed. Do you want to replace it?” I have made the script silent by using options //B and //Nologo, but is there text I can add to… Read more »

Chris Taylor





Any updated script for this? This is my issue right now as SCCM will stay on “installing” since its waiting for input since some of the fonts may already be installed. I tested this manually which shows the prompt, mainly on Aller Bold and Aller Light fonts. Most fonts if already installed will get the message “This Font is already installed:” from the script output, but we need something added to the script to skip these Aller font messages or else SCCM will wait for input since they act differently for some reason.


Add to the command Install the / q option. “Install /q” for unattended mode

Jason S

Hi Prajwal, thank you for this script! It works perfectly with computers that do not have the fonts that I am deploying. The issue I am having is I am deploying 31 fonts to almost 500 computers that already have some of the fonts installed. I’m able suppress the script prompts with //B and //Nologo options, but I’m getting the Windows prompt “Install Font. The ‘fontname’ font is already installed. Do you want to replace it. |Yes|No|”. Is there text I can add to the script to either suppress the Windows prompt or have Yes as the auto answer?


Add to command Install option / q for unattended mode. “Install /q”


This script works if you have read access to that share with your computeraccounts, without those, it will fail. SCCM package will anyways copy whole source directory to a local cache, why to do that twice? What if you dont have access to SMB share but only http?

Best way is to change strFontSourcePath to point to the directory where this script is executed from, after that, SCCM will download everything to the local cache and do the installation from there.

Something like:
strFontSourcePath = objFso.GetParentFolderName(WScript.ScriptFullName)


Hi Prajwal, I want to change the “\sccmsourcesinstall” path to the path the script is running from (in batch it’s “%~dp0”). How can I do this in your vbs?


Its not working. If i run the script as it is it works but not via SCCM?

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. AcceptRead More