Sunday, July 19, 2015

Setting Apple Software Update (SUS) to get updates from Apple

Use the following command to force your Mac to use Apple for software updates:

sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate CatalogURL
 

Monday, July 6, 2015

Remotely Disconnect A Session From the Command Line: Windows Server

  1. Go to the Command prompt
  2. Type "qwinsta" for a list of logged in users
  3. Locate the "ID" for the account you want to disconnect
  4. Type "rwinsta [ID number]"
  5. Run "qwinsta" again to ensure that the user was disconnected

Tuesday, May 12, 2015

Preview and Adobe CC Applications Crashing on Launch: OS 10.10 Yosemite

We received a report from an office that 9 out of 10 brand-new MBPs with default Apple Yosemite builds were experiencing crashes when attempting to open documents in Preview.  Additionally, after installing Adobe CC 2014 none of the Creative Suite apps would launch.

Looking at the console log we found that Quicklook was crashing and re-spawning several times a second:


Expanding the line item we saw that Quicklook was unable to set its current working directory:


It turns out that a symlink to /private/tmp was missing.  We navigated to the root directory and recreated it using the following command:

sudo ln -fs /private/tmp /tmp

After a restart we saw that  Quickview crashes had stopped and we were able to open both Preview and Adobe CC applications.

Thursday, March 12, 2015

Items can't be copied to a Mac because there is not enough free space, even when disk information shows plenty of free space

When attempting to copy 50GB of data onto a Mac Air that was reporting 210GB of space available the copy failed on an error "not enough free space available".

The root cause was Time Machine backups utilizing the local drive.  Even though the person never used Time Machine it was still enabled and apparently backing up to the local HDD.  Turning off Time Machine freed up the space and we were able to copy the data successfully.

Looking under  System Information/System Report/Storage we saw the backups taking up a massive amount of space; only 4kb was left available.

You can also disable Time Machine from the command line:

sudo tmutil disablelocal