Solved

Windows 2000 Auto install fonts

Posted on 2004-10-20
4
171 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Font looking "off" in power point 28 102
special fonts on html page. 4 109
Bold Courier in RichEditControl 6 107
Universal fonts 2 156
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…
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
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 quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

832 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