I'm trying to crank out a handful of fonts to a few hundred workstations. My batch file seems to work as expected; it copies the fonts to the workstation, and registers them without complaint. However, the fonts are still not usable until the user opens their fonts folder, which is exactly what I'm trying to avoid - any user interaction whatsoever.

Can someone tell me what I'm missing? Here's my bat file

PsExec \\<WORKSTATION> -u <> -p <> xcopy /y \\server\share\folderwithfonts\*.* c:\windows\fonts

REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Fonts" /v "font name (TrueType)" /t REG_SZ /d "%windir%\fonts\fontname.ttf" /f

How can I get these fonts registered without requiring any action on the part of the user?
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


No problem....just reboot the computers. [:D]

Seriously, this is a problem I've had in the past and I believe a compiled the fonts into an MSI using Wise Package Studio and ran the MSI using the /quiet parameter. If you don't have any way to create an MSI file, you can look at the link below for a vbscript solution.

Answered 09/30/2008 by: MicrosoftBob
Blue Belt

Please log in to comment