Skip to main content
Question

UTC Clean Font Cache

  • November 6, 2017
  • 4 replies
  • 18 views

Forum|alt.badge.img+1

Has anyone been able to automate this so it can be put in Self Service as opposed to having to connect and put in Admin rights for a user?

4 replies

Forum|alt.badge.img+6
  • Contributor
  • November 6, 2017

I have this in self service, if memory serves, I think it is the command UTC uses.

Run Unix command 'atsutil databases -remove'

The I force a reboot.


Forum|alt.badge.img+13
  • Valued Contributor
  • November 6, 2017

Yep we run this and reboot.

#!/bin/sh
# Removes all user and system font caches
atsutil databases -remove
# Removes all user caches
atsutil databases -removeUser
# Stops the Font service
atsutil server -shutdown
# Starts the Font service
atsutil server -ping

donmontalvo
Forum|alt.badge.img+36
  • Hall of Fame
  • March 29, 2018

Forum|alt.badge.img+5

!/bin/bash

UTC=https://bin.extensis.com/UTC-6-1-6-M.zip #this will change when a new version comes out
TOOL=http://cs.us.extensis.com.s3.amazonaws.com/fm_uninstall/utc/utc-removal-tool.zip

script.

mkdir ~/tmp/ || exit
cd ~/tmp/ || exit
curl -O $TOOL || exit
unzip ~/tmp/utc-removal-tool.zip || exit
sh ~/tmp/UTC-Removal-Tool.command || exit
curl -s -O $UTC || exit #need to figure out how to always download the latest version.
unzip ~/tmp/UTC-6-1-6-M.zip
installer -pkg ~/tmp/"Universal Type Client 6.1.6.pkg" -target / || exit
rm -rf ~/tmp/ || exit
echo "UTC Removed and reinstalled"
exit