corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » How do I roll out a font using AD/batch file?


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author How do I roll out a font using AD/batch file?
pow
Premium Member

Avatar

Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
   15th Sep 08 at 12:33   View Garage View User's Profile U2U Member Reply With Quote

As above?

Bit stuck really, because I knwo you have to add a new registry entry for new fonts - can you do that via a batch file?

Other part of the batch file wouldbe to copy the font from one folder to the C:\WINDOWS\Fonts folder.
jamesw
Member

Registered: 28th Jun 02
Location: Station Town, County Durham
User status: Offline
15th Sep 08 at 15:30   View User's Profile U2U Member Reply With Quote

easy to batch it, but then its how are you going roll it out and check if the machine already has it? Example batch below

copy filename.ttf %windir%\fonts\
reg add "hklm\software\microsoft\windows nt\currentversion\fonts" /v FontNameHere /t REG_SZ /d filename.ttf

Are the users a member of the admins group? If not could be done by startup script on the PC, do the machines already have a startup script specified?

Alternativly you could actually run the batch from say your machine and use a "for /f tokens" loop to go through a list of machine names you give it and output results to a log (presumably some would be missed due to being turned off etc)

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
Batch file writing Skinz Geek Day 3 723
6th Jul 05 at 11:32
by loafofbrett
 
Autorun/Commands Dan Lewis Geek Day 2 430
20th Oct 06 at 13:18
by almost_me
 
Need to convert a batch file into VBScript Richie Geek Day 6 600
18th Oct 07 at 23:05
by Richie
 
Batch File help Dan Lewis Geek Day 6 246
23rd Nov 07 at 09:40
by Dan Lewis
 
Batch File Gurus pow Geek Day 8 140
5th Jun 08 at 10:51
by pow
 

Corsa Sport » Message Board » Off Day » Geek Day » How do I roll out a font using AD/batch file? 28 database queries in 0.3196750 seconds