Archive | Apple RSS feed for this section

Delete icloud account from mac

22 Aug

Had an old mac which I couldn’t log into with a couple of accounts.

Lots of different scenarios around icloud acccounts but mine was I need to gain access to the mac and delete the old icloud account from the mac.

Enter recovery mode, I was using a windows keyboard so (Windows key +R)

Open Terminal and type “resetpassword”

Reset passwords for all of the accounts one of which had admin access

Logged in with reset account opened system preferences and reset icloud account password to local for the mac

Can now delete the account



Set default homepage – Safari OSX

21 Aug

If you change the defaults on in English.lproj, the settings will be migrated into new user accounts. At least it worked for me.

sudo defaults write /System/Library/User\ Template/English.lproj/Library/Preferences/ AlwaysRestoreSessionAtLaunch -bool false

sudo defaults write /System/Library/User\ Template/English.lproj/Library/Preferences/ NewWindowBehavior -integer 0

sudo defaults write /System/Library/User\ Template/English.lproj/Library/Preferences/ HomePage -string “”

I was copying the from my admin account to the “/System/Library/User Template/English.lproj/Library/Preferences”, and that didn’t work because the keys above were gone… already migrated to whatever secret location Apple has moved them to. Adding them manually into the plist appears to work.

Original content/thread –

Apple ID “Greyed Out”

15 May

  1. Go to the app listed in the App Store as needing an update (usually in the /Applications folder).
  2. Right click the app then click “Show Package Contents”.
  3. Go into the “Contents” folder, then into the “_MASReceipt” folder.
  4. Delete the “receipt” file (you may need to enter a local administrator username and password).


Apple Configurator 2 Workflow

28 Apr

My Workflow:


1) Restore/Update a device

2) Prepare your device to a supervised state

3) Install any or all applications that you need for your backup

4) Apply application settings within the apps themselves if needed

5) Apply desired settings and restrictions as needed

6) Back up your supervised device

7) Build your blueprint (in no particular order): Modify device name and wallpaper as desired, add apps, add profiling, and set your blueprint to restore from the backup that you created.


Applying a blueprint that has supervised backup incorporated into it to an unsupervised device will make all subsequent devices supervised, with all of your settings intact.  During the process to apply the blueprint you’ll be prompted to restore and supervise devices.


Keep in mind that you can only create one backup from a specific device.  If you need to make a different backup you’ll need to grab a different device to do it. Good news is that you can apply a backup to a different device, modify the backup on that second device, and save it as another backup.

Munki Setup

22 Apr

If you haven’t yet used Munki its an excellent open source tool for software/profile deployment

Below is quick guide on how to get up and running on Yosemite Server, full credit to the awesome Github community and OSXDominion along with my own notes 🙂


Setting Up Munki With OS X Yosemite Server

There are many ways to set up Munki, since it’s just a webserver. TheDemonstration Setup is a great way to get started, but doesn’t list the steps for setting up OS X Server. A lot of new Munki admins (or generally new Munki admins) may have an OS X Server they have access to, but not other web servers, so a guide to getting started with the latest version of OS X Server (as of writing time, that’s Server 4, on Mac OS 10.10.2 Yosemite) may be helpful.

This is all assuming you’ve got set up and running.

If the Websites service in is running, turn it off first.

The first steps are to create the Munki repo in the location that Server 4 uses to store website data:
mkdir /Library/Server/Web/Data/Sites/Default/repo
mkdir /Library/Server/Web/Data/Sites/Default/repo/catalogs
mkdir /Library/Server/Web/Data/Sites/Default/repo/pkgs
mkdir /Library/Server/Web/Data/Sites/Default/repo/pkgsinfo
mkdir /Library/Server/Web/Data/Sites/Default/repo/manifests

Change permissions to make sure it’s accessible:
chmod -R a+rX /Library/Server/Web/Data/Sites/Default/repo

In the Websites pane, edit the “Server Website” (port 80) settings:
Next to “Redirects”, click “Edit…”, and remove the only redirect (which automatically redirects port 80 to port 443 traffic). It should look like this:
Screen Shot 2015-02-18 at 8.42.17 AM

Next, click “Edit Advanced Settings” and check the box for “Allow folder listing” (just for now – it’s easier to visually test this way):
Screen Shot 2015-02-18 at 8.42.13 AM

Turn the Websites service on.

Open up Safari, navigate to:

You should see a page like this:
Screen Shot 2015-02-18 at 8.37.41 AM

If you can get to this point, you’ve done the website setup work. Now you can go to the next section:

Once you’ve populated the repo, you can set up a new manifest called “test_munki_client”. Follow the instructions exactly:

Go through the Client Configuration section:
Here, you need to do two things on your OS X client.

If you are testing this on the OS X Server itself (i.e. you are only using one machine total), do this:
sudo defaults write /Library/Preferences/ManagedInstalls SoftwareRepoURL "http://localhost/repo"
sudo defaults write /Library/Preferences/ManagedInstalls ClientIdentifier "test_munki_client"

If you are testing Munki on a different client machine from the server, do this:
sudo defaults write /Library/Preferences/ManagedInstalls SoftwareRepoURL "http://ip_or_domain_name_of_server/repo"
sudo defaults write /Library/Preferences/ManagedInstalls ClientIdentifier "test_munki_client"

And then finally you can check to see if Munki behaves as you’d expect:
sudo /usr/local/munki/managedsoftwareupdate -vv

Populating the repo

We now have a working Munki repo – but it’s completely empty and not useful at all. So let’s start to populate the repo.

We’re going to use some tools distributed with munki to import packages into our new Munki repo. Download the current munki installation package at

Install the Munki tools by mounting the disk image and double-clicking the Installer package and installing like any other package. A restart is required after installation.

The tools you’ll use as an administrator are available from the command-line, and are installed in /usr/local/munki. This location is not in the standard search path, so you’ll need to either add this directory to your search paths, or be sure to type the full path when invoking these tools.

The tool we will use to import packages into the munki repo is called munkiimport. We need to configure it before we can use it – telling it where to find our repo, among other things.

bash-3.2$ /usr/local/munki/munkiimport –configure
Path to munki repo (example: /Volumes/repo): /Users/Shared/munki_repo
Repo fileshare URL (example: afp://
pkginfo extension (Example: .plist):
pkginfo editor (examples: /usr/bin/vi or
Default catalog to use (example: testing): testing
We are first asked for the path to the Munki repo, and since we set one up at /Users/Shared/munki_repo, that’s what we enter.

Next, we are asked for a repo fileshare URL. This is used when the repo is hosted on a remote file server, and this would typically be an afp:// or smb:// URL specifying the share. Since we’re hosting the repo on the local machine, we’ll leave this blank.

We are then asked to specify an extension to append to the name of pkginfo files. Some admins prefer “.plist”, some prefer “.pkginfo”. Personally, I just leave it blank – Munki doesn’t care.

Next, you are asked for an editor to use for the pkginfo files. If you like command-line editors, you can specify /usr/bin/vi or /usr/bin/emacs for example. If you, like me, prefer GUI text editors, you can specify a GUI text editor application by name (but be sure to include the “.app” extension). I picked, but you could choose,, or even

Finally, you are asked for the default catalog new packages/pkginfo should be added to. We’ll use a “testing” catalog for this.

Further reading here

Binding Macs to AD – Troubleshooting

21 Apr



Index Network Drive – Spotlight Mac

20 Apr

Nice article which still works for El Capitan

iBooks Frozen

19 Apr

If iBooks is stuck open on the title page or any other page, go to the iTunes App and download any free book and click on READ. The book that is stuck open will close and the free book you downloaded will open in iBooks


Hide user accounts OSX

6 Apr

Sometimes you dont want those pesky accounts showing on the login page 🙂


Further reading;




Using cloud storage to sync your home folder between your Mac’s

12 Feb