+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 19
Windows 7 Thread, Installation of fonts without admin rights in Technical; Is there a way to allow staff to install fonts without admin rights? Or, more correctly, is there a standard/simple ...
  1. #1

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,877
    Thank Post
    518
    Thanked 2,486 Times in 1,928 Posts
    Blog Entries
    24
    Rep Power
    838

    Installation of fonts without admin rights

    Is there a way to allow staff to install fonts without admin rights?

    Or, more correctly, is there a standard/simple way to allow staff to install fonts without admin rights?

  2. #2

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,877
    Thank Post
    518
    Thanked 2,486 Times in 1,928 Posts
    Blog Entries
    24
    Rep Power
    838
    No-one had this issue?!

  3. #3
    SovietRussia's Avatar
    Join Date
    Mar 2013
    Location
    Powys, Wales
    Posts
    642
    Thank Post
    70
    Thanked 145 Times in 111 Posts
    Rep Power
    47
    We have this issue, we just don't install new fonts

    Or if they really need a font, I go and type the local admin details in UAC prompt.

    EDIT: Here seems a really good guide! - http://www.bohack.com/2011/04/allowi...-in-windows-7/
    Last edited by SovietRussia; 10th September 2013 at 09:44 AM.

  4. #4

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,877
    Thank Post
    518
    Thanked 2,486 Times in 1,928 Posts
    Blog Entries
    24
    Rep Power
    838
    Put it this way - I either need to enable staff to install fonts without admin privs, or they get given local admin privs.

  5. #5

    Theblacksheep's Avatar
    Join Date
    Feb 2008
    Location
    In a house.
    Posts
    1,935
    Thank Post
    138
    Thanked 290 Times in 210 Posts
    Rep Power
    193
    By default its not possible on windows7 without admin rights. We chuck some extra fonts in the build.

    There's a couple of programs you can use to get around it...
    windows - Using custom fonts without administrator rights? - Super User

  6. #6

    Join Date
    Feb 2013
    Posts
    47
    Thank Post
    11
    Thanked 8 Times in 6 Posts
    Rep Power
    6
    Not sure if it will be much use to you, but I found this thread very useful when working out how to put fonts across the network.

    Script To Install Fonts To Workstations

  7. #7

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,877
    Thank Post
    518
    Thanked 2,486 Times in 1,928 Posts
    Blog Entries
    24
    Rep Power
    838
    Looks like a solution to this will be:

    Create a folder in their H drive called Fonts.
    Have an application/ps script that runs on login which iterates through those fonts and registers them.
    Add an icon to the desktop which they can click to run the application there and then, rather than logging out and in when they add a new font.

    However, it all depends on the time it takes to process such a thing.

    The details at that site @SovietRussia posted don't work. It still prompts for UAC.
    Last edited by localzuk; 10th September 2013 at 09:58 AM.

  8. #8

    sonofsanta's Avatar
    Join Date
    Dec 2009
    Location
    Lincolnshire, UK
    Posts
    5,003
    Thank Post
    874
    Thanked 1,458 Times in 1,002 Posts
    Blog Entries
    47
    Rep Power
    644
    We had a look at this at the end of the holidays once we'd finished our jobs list (I know!) and kept hitting brick walls after every stage. At the moment we get users to email us fonts and we push them out via GPP (file & reg entry) but that's a faff, slow, and usually overkill as it's often just one PC that needs the font for one student, not every machine on site.

    So if you do get that script working, post it up so I can have a crack with it as well

  9. #9
    SovietRussia's Avatar
    Join Date
    Mar 2013
    Location
    Powys, Wales
    Posts
    642
    Thank Post
    70
    Thanked 145 Times in 111 Posts
    Rep Power
    47
    Oh fair enough, I just googled and got that.

    Like @Theblacksheep said, we usually put extra fonts in our Image before deployment. But the idea you had about batch script should work fine.

  10. #10
    SovietRussia's Avatar
    Join Date
    Mar 2013
    Location
    Powys, Wales
    Posts
    642
    Thank Post
    70
    Thanked 145 Times in 111 Posts
    Rep Power
    47
    Possible script:

    "Paste the following code in notepad and save it as "ADD_Fonts.cmd"
    place the cmd file inside the folder of the fonts you want to install and run it or
    add the source folder as a parameter. for example "ADD_fonts.cmd" C:\Folder 1\Folder 2\"

    Code:
     @echo OFF
    TITLE Adding Fonts..
    REM Filename: ADD_Fonts.cmd
    REM Script to ADD TrueType and OpenType Fonts for Windows
    REM By Islam Adel
    REM 2012-01-16
    
    
    REM How to use:
    REM Place the batch file inside the folder of the font files OR:
    REM Optional Add source folder as parameter with ending backslash and dont use quotes, spaces are allowed
    REM example "ADD_fonts.cmd" C:\Folder 1\Folder 2\
    
    
    IF NOT "%*"=="" SET SRC=%*
    ECHO.
    ECHO Adding Fonts..
    ECHO.
    FOR /F %%i in ('dir /b "%SRC%*.*tf"') DO CALL :FONT %%i
    REM OPTIONAL REBOOT
    REM shutdown -r -f -t 10 -c "Reboot required for Fonts installation"
    ECHO.
    ECHO Done!
    PAUSE
    EXIT
    
    
    :FONT
    ECHO.
    REM ECHO FILE=%~f1
    SET FFILE=%~n1%~x1
    SET FNAME=%~n1
    SET FNAME=%FNAME:-= %
    IF "%~x1"==".otf" SET FTYPE=(OpenType)
    IF "%~x1"==".ttf" SET FTYPE=(TrueType)
    
    
    ECHO FILE=%FFILE%
    ECHO NAME=%FNAME%
    ECHO TYPE=%FTYPE%
    
    
    COPY /Y "%SRC%%~n1%~x1" "%SystemRoot%\Fonts\"
    reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" /v "%FNAME% %FTYPE%" /t REG_SZ /d "%FFILE%" /f
    GOTO :EOF

  11. #11

    sparkeh's Avatar
    Join Date
    May 2007
    Posts
    6,804
    Thank Post
    1,298
    Thanked 1,659 Times in 1,112 Posts
    Blog Entries
    22
    Rep Power
    507
    Hmm have an idea but not sure if it works but worth a try? @localzuk I think you use SCCM right? Can you create a package to install a font and advertise it for users to install? I *think* it will run under the right context to install without UAC?

  12. #12


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,064
    Thank Post
    232
    Thanked 2,717 Times in 2,005 Posts
    Rep Power
    795
    Quote Originally Posted by sparkeh View Post
    Can you create a package to install a font and advertise it for users to install? I *think* it will run under the right context to install without UAC?
    Yeah. That should work. Create an 'Application' for fontreg, place all of the fonts in the same folder and then deploy. Simples!

  13. #13

    Join Date
    Mar 2011
    Location
    Bournemouth
    Posts
    280
    Thank Post
    16
    Thanked 74 Times in 64 Posts
    Rep Power
    22
    We use Visual Studio to create an install package msi which just installs the fonts and deploy it via sccm. Can you do something similar nwith your fonts?

  14. #14

    sonofsanta's Avatar
    Join Date
    Dec 2009
    Location
    Lincolnshire, UK
    Posts
    5,003
    Thank Post
    874
    Thanked 1,458 Times in 1,002 Posts
    Blog Entries
    47
    Rep Power
    644
    Well FWIW you can do it with Group Policy Preferences by copying the file to C:\Windows\Fonts and creating a registry key in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts (REG_SZ, Value Name=font name to display, Value Data=filename).

    Our problem is that this involves us and is time consuming for us and the user, who must restart their PC. I had hoped to just let them drag & drop into the Fonts folder but permissions don't allow, so a script they can run to trigger the install would gbe the next most convenient method.

    I don't know if OP is after a solution for the same reasons I am, if it's just about installing fonts then GPP is the least effort to set up (and the easiest to add to - no repackaging or creating new MSIs every time one new font is added) but it's still not the most convenient.

  15. #15

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,877
    Thank Post
    518
    Thanked 2,486 Times in 1,928 Posts
    Blog Entries
    24
    Rep Power
    838
    Problem is the regularity with which staff want new fonts installing. Ie. Its constant.

    So, I'm using the following script.

    Code:
    $FONTS = 0x14$Path="c:\rWindows\temp\fonts"
    $objShell = New-Object -ComObject Shell.Application
    $objFolder = $objShell.Namespace($FONTS)
    New-Item $Path -type directory
    Copy-Item "\\storage\public\fonts\*.ttf" $Path
    $Fontdir = dir $Path
    foreach($File in $Fontdir) {
      $objFolder.CopyHere($File.fullname)
    }
    remove-item $Path -recurse
    That way, they just stick .ttf files in a folder and away they go.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 21st October 2010, 03:49 PM
  2. Installing programs without admin rights!
    By HTCIT in forum Windows 7
    Replies: 3
    Last Post: 11th June 2010, 10:24 AM
  3. Replies: 11
    Last Post: 20th February 2008, 10:14 AM
  4. Replies: 4
    Last Post: 25th April 2007, 11:22 AM
  5. Connection Fails Without Admin Rights
    By MrDylan in forum ICT KS3 SATS Tests
    Replies: 8
    Last Post: 12th May 2006, 12:23 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
  •