Install a font set using GPO

Hi Experts,

I'm looking to install a font set across our network, I would like to use GPO to do this, but am unsure as to how to go about it. Looking online I've found that you can use a start up script, but I've never written one, also, it would be more ideal to install the fonts on the fly, rather than at start up. We're using windows server 2008 and xp client machines with two vista machines.

Any help will be appreciated. Thanks!
Who is Participating?
AbqBillConnect With a Mentor Commented:
IIRC, simply copying the fonts to the 'fonts' folder won't work for non-administrators. Again, IIRC, the copied fonts won't 'appear' and become available until an administrator (i.e., a member of Administrators) logs on and opens the 'fonts' folder in Explorer. If you simply copy the fonts to the 'fonts' folder and a non-administrator logs on, the fonts will not be available -- an administrator has to log on and open the 'fonts' folder. My solution to this problem in the past was to create an MSI installer that installs and registers the fonts. This works nicely with GPOs. Bill.
You just have to copy the font file to the folder %systemroot%\Fonts (or, remotely, \\computername\admin$\Fonts).

To do it with a startup script, open a GPO, browse to the node Computer Configuration\Windows Settings\Scripts\Startup, and click Show Files.  A new window will open.  Copy the font files into this folder, then create a new text file with a .cmd extension.  Edit it in Notepad and enter a command such as
xcopy *.ttf "%systemroot%\fonts\" /C /H /R /Y

This would copy all .ttf files to C:\WINDOWS\Fonts, overwriting existing files with the same names.

Save the file, click Add in the Startup Properties window, and browse to the .cmd script you created.  It will then run under the local System account at startup on all affected computers.

To copy fonts on the fly you could, for example, create a list of computer names and then run a command like this:
for /F %G in (computerlist.txt) do xcopy *.ttl "\\%G\admin$\fonts\"

Replace both instances of %G with %%G if running it in a batch script.

The advantage of a startup script is that you don't have to worry about which computers are powered up and available on the network at any given time.
ZoooinkAuthor Commented:
Yup, MSI installer worked perfectly, all machines are now updated, didn't know about that, will be having lots of fun with MSIs and GPOs I think :)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.