Trying to install a Font using the K2000 scripting post installation task.  Does anybody know the parameters or script I would need in order to have the .ttf Font install during a K2000 script deployment?
2 Comments   [ + ] Show Comments


  • Thank you both. I actually have made an MSI for the .ttf font, if I am placing it into Dell Kace as a post installation task is there a specific command I would use to run the MSI? I want to avoid dealing with the registry if at all possible. Thanks!
  • Would this command make sense if K2000 was running it as an quiet application installation?
    msiexec /i Font.msi /qn
Please log in to comment

Community Chosen Answer

I accomplish this by copying the .ttf into C:\Windows\Fonts and registering the font.  I believe this script will work for you:

1. Copy the .ttf
copy /y "fontfilename.ttf" C:\Windows\Fonts
2. Add the registry entry:
reg load HKLM\IMAGE C:\Windows\system32\config\software
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" /v "NameOfFont (TrueType)" /t REG_SZ /d "fontfilename.ttf" /f
reg unload HKLM\IMAGE
Answered 01/15/2015 by: nheyne
Red Belt

Please log in to comment


fonts are a pain to do from the command line, it is much easier to right click and choose install.
you want to search for "install fonts windows 7 command line"
Answered 01/15/2015 by: SMal.tmcc
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity