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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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.
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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 :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.