Fully Automated: DeployStudio Dual Boot

I was recently tasked with deploying dual-boot Macs to all new staff.  Naturally, I wanted this to be as automated as possible so it was repeatable and consistent.  I already knew how to use an answer file to fully-automate the Windows side of the deployment.  And I also knew how to fully automate the Mac side of things.

I did need to learn how to make Windows 10 into a deployable .pkg, which was the final piece needed to automate the entire dual-boot deployment process. Continue reading “Fully Automated: DeployStudio Dual Boot”

Batch Download All Of GarageBand’s Loops, Jingles, And Sound Effects

GarageBand has a lot of cool loops and sound effects.  If you are a systems administrator, you might be tasked with deploying these sounds and loops so you don’t need to download it onto each computer when GarageBand opens up.  Or maybe you just want to have these effects for your own personal movies or songs. Continue reading “Batch Download All Of GarageBand’s Loops, Jingles, And Sound Effects”

How To Image A Computer With Windows 10 Using dism

If you want to image a lot of computers with a clean Windows 10 image, Microsoft  has lots of built-in tools to help do this, but it’s easy to get lost and overwhelmed with their documentation.  To alleviate that headache, I will explain step-by-step how to:

  • create and use an Unattended.xml file that will:
    • skip the initial setup screens
    • create a local admin account
    • activate Windows with a product key
    • (optionally) configure other Window settings
  • capture a deployable Windows 10 .wim file using sysprep
  • deploy the image to multiple computers using the dism command line tool and WinPE
  • (optionally) add drivers to the .wim file

Continue reading “How To Image A Computer With Windows 10 Using dism”

OS X Accessibility Command Line Tool Available On Homebrew

I’m happy to announce that tccutil.py is now available on Homebrew.  A tool for modifying access to assistive devices from the command line.  You can install it like this:

brew install tccutil

The real tccutil (designed by Apple’s engineers), found in /usr/bin, only has one feature: to reset the services (tccutil: Usage: tccutil reset SERVICE).  From a system administrator’s perspective, this is very restricting. Continue reading “OS X Accessibility Command Line Tool Available On Homebrew”

Bash Script: Fix Paused Printers In OS X

You need an administrator password to un-pause a printer in OS X.  It is possible to add a user to the lpadmin group.

sudo dseditgroup -n /Local/Default -o edit -a username lpadmin

This will give them rights to the printer, but if your users aren’t admins of their machines, this might not be something you want to open up.  This is the case for the school I work at.  My solution was to create a LaunchDaemon that would automatically detect and un-pause paused printers. Continue reading “Bash Script: Fix Paused Printers In OS X”

Twin Cities Mac Admins Presentation: Under Cover Of Shell (Scripting)

On April 23 at JAMF headquarters in downtown Minneapolis, I will be presenting at the April MSP Mac Admins Meetup.  My presentation will cover real-life examples of how scripting can be used.  You don’t need to know a single line of code to enjoy this presentation, but it might pique your interest to learn some! Continue reading “Twin Cities Mac Admins Presentation: Under Cover Of Shell (Scripting)”

Python Script: pmset–Set Energy Saver Settings For Multiple Computers At Once

If you have 1,000 computers and don’t want them all to power on at the same time, but rather come on at different times, you can use a simple Python script to do so.  I use this in an educational setting where each lab needs a different power setting so that they don’t all power on at once and crash the server when they all try to contact it at once.  It is also a little easier on the power grid. Continue reading “Python Script: pmset–Set Energy Saver Settings For Multiple Computers At Once”