Windows Thread, Installing/Copying Fonts from Login Script in Technical; Hi Guys,
Somebody has asked me to install a new font on the machines in the IT Rooms called "Mr ...
-
27th April 2006, 01:09 PM #1
- Rep Power
- 17
Installing/Copying Fonts from Login Script
Hi Guys,
Somebody has asked me to install a new font on the machines in the IT Rooms called "Mr Robo Funk" to allow them to create basic animations of a Robot Dancing.
I put the font in the Netlogon folder of the server and added a line in the logon script to copy the file to C:\Windows\Fonts automatically so I don't have to go around every PC! This works fine when a admin logs into the computers, but when the pupils log on, the file is copied across as they don't have permission to write to the C:\Windows\fonts folder (Or any other on the C Drive)
Is there an easy way around this so the font can be installed quickly and easily by login/startup script and permission not being a problem?
Regards,
Matt
-
-
IDG Tech News
-
27th April 2006, 01:11 PM #2 Re: Installing/Copying Fonts from Login Script
can't you run it as a startup script? It will then do the copy as system (I think).
-
-
27th April 2006, 01:18 PM #3
- Rep Power
- 0
Re: Installing/Copying Fonts from Login Script

Originally Posted by
DMcCoy can't you run it as a startup script? It will then do the copy as system (I think).
Yeah but you will have to make the computer accounts part of domain users group or else they won't be able to access the share.
Another alternative might be to roll your own MSI.
-
-
27th April 2006, 01:28 PM #4 Re: Installing/Copying Fonts from Login Script
just create a new share with read permissions for domain computers.
-
-
27th April 2006, 01:54 PM #5 Re: Installing/Copying Fonts from Login Script
Ok here is what i had to do to get font installation to work:
Create a bat file that like this:
Code:
copy \\server\Font\fontfile_.TTF %systemroot%\fonts
regedit /s \\server\font\instfont.reg
The above will copy the copy the font to the font folder and run a install reg file. As far as i know when it comes to using a startup scripts and network share you need only make sure that the system account has permissions to that share, you only have a problem when going cross domains.. then you can create a mapped drive during startup or something like that.
The reg file is below:
Code:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
"The name of the Font (TrueType)"="fontfile_.TTF"
The above reg file is used to ensure that your new font is visible ie if you load up word or something and look in the fonts available its there.
Hope that helps.
-
-
27th April 2006, 02:13 PM #6
- Rep Power
- 17
Re: Installing/Copying Fonts from Login Script
Thanks... will give that ago.
@DMcCoy... When the pupils logon... they are able to see the folder where the font is OK, as that folder has the correct permissions, it's just they don't have the permissions to copy it into the Font's folder on the local Hard Drive.
I thought startup scripts were 'spose to work regardless of who logs in, but when I created the startup script with the command in it, it seem to run after somebody had logged in with the same results.
Is the startup script 'spose to run before you get the Logon Box?
Regards,
Matt
-
-
27th April 2006, 02:18 PM #7 Re: Installing/Copying Fonts from Login Script
By the way my script runs as computer startup script and not a user startup script.
-
-
27th April 2006, 02:58 PM #8 Re: Installing/Copying Fonts from Login Script

Originally Posted by
mattpant Thanks... will give that ago.
@DMcCoy... When the pupils logon... they are able to see the folder where the font is OK, as that folder has the correct permissions, it's just they don't have the permissions to copy it into the Font's folder on the local Hard Drive.
I thought startup scripts were 'spose to work regardless of who logs in, but when I created the startup script with the command in it, it seem to run after somebody had logged in with the same results.
Is the startup script 'spose to run before you get the Logon Box?
Regards,
Matt
You need to run it from the computer section of the policy.
-
-
27th April 2006, 02:58 PM #9 Re: Installing/Copying Fonts from Login Script
If your trying access a share from a startup script you need to allow domain computers access.
If your trying to access a share from a login script you need to allow domain users access.
If your trying to access a share from both a startup and a login script then you need to allow authenticated users instead.
-
-
27th April 2006, 09:05 PM #10 Re: Installing/Copying Fonts from Login Script
Why not add all the fonts you want to an msi and deploy that to the computers?
Ben
-
-
11th August 2011, 09:24 PM #11
- Rep Power
- 0
Installing fonts automated.
just put all the fonts you want to install per script into a folder on a accessible share.
then you just launch this short simple vbscript:
install font script
There are many versions out but most of them don't work with windows 7 anymore or you would have to alter the script.
Pretty clean solution...
Cheers
-
SHARE: 
Similar Threads
-
Replies: 19
Last Post: 19th February 2012, 02:17 PM
-
By Jackd in forum Windows
Replies: 2
Last Post: 24th December 2009, 01:59 PM
-
By gshaw in forum Windows
Replies: 11
Last Post: 10th June 2009, 06:47 PM
-
Replies: 4
Last Post: 23rd November 2006, 09:33 PM
-
By SpuffMonkey in forum Windows
Replies: 55
Last Post: 4th February 2006, 09:27 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules