Solved

Windows 2000 Auto install fonts

Posted on 2004-10-20
4
168 Views
Last Modified: 2013-12-03
I have 20~30 fonts that do come standard with Windows that I want all of users to have. I have tried running a startup script that copies these to the C:\WINNT\FONTS folder, but this doesn't seem to work.

Is there a way to automate the install of these fonts?

Howard
0
Comment
Question by:hgj1357
  • 3
4 Comments
 
LVL 16

Expert Comment

by:robrandon
ID: 12361722
0
 
LVL 2

Author Comment

by:hgj1357
ID: 12361921
Is there a way I can (ha ha I mean you can) modify this script file to install ALL fonts within a folder?

Sorry about stingy 50 points, I thought this would be easy.

Howard

---------------------------------------------------------
Set WSHShell = CreateObject("WScript.Shell")
set FSO = CreateObject("Scripting.FileSystemObject")

sFontName = "Sample.TTF"
sFontDescription = "Sample Font (TrueType)"

FSO.Copyfile "O:\Fonts\" + sFontName, "c:\winnt\fonts\" + sFontName
WSHShell.RegWrite "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts\" + sFontDescription, sFontName
-----------------------------------------------------------
0
 
LVL 16

Accepted Solution

by:
robrandon earned 50 total points
ID: 12362852
Sorry.  I'm just learning how to do vs and don't want to screw anything up for you.  Maybe post a link to this question in the vbscripting area.

0
 
LVL 16

Expert Comment

by:robrandon
ID: 12362859
vs=vb
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now