Leon Chung

SCCM State Migration Point

Hello! It's been awhile. Doing many things at work now-a-days. Here's something I've been working on in SCCM. We are migrating folks from Windows 7 to Windows 10 (it works with 8 and 8.1 as well), but we have to switch folks to UEFI & Secure Boot & enable TPM for BitLocker encryption. The newer SCCM CB has a tool that allows you to do this without reformatting the drive to UEFI/GPT but ...

SCCM State Migration Point USMT

Leon Chung

SCCM testdbupgrade

When you are trying to run setup /testdbupgrade and you get an error asking for a native client (because you're running the command outside of your DB site or just doesn't have this particular cli that SCCM db test is looking for), you should grab the sqlncli.msi from Microsoft. Or you can grab it from running setup to get that as a prereq download ($SCCMInstallISORoot\SMSSETUP\BIN\X64\SetupDL.exe). Also, if you're having ...

SCCM sql

Leon Chung

SCCM Task Sequence Missing Package

If you work in with SCCM imaging, you've probably seen where your task sequence bombs out saying you're missing a package. Most of the time, it will tell you which package is missing. That didn't happen today. It just said that I was missing a package but didn't say which. So I went to grab the SMSTS.log from X:\Windows\Temp\SMSTSLog\smsts.log, threw it on a flash stick to look at it ...

SCCM Task Sequence Command Prompt F8

Leon Chung

SSD Fan Control

If you ever replaced a HDD in an iMac (pre-flat, and post white kinds), you've probably had a very loud fan and found iStat Menus or SSD Fan Control to fix the noise because you didn't want/need/know about getting a thermal detector. They are both awesome apps so check them out if you've just been living with the fan being on all the time or thinking about installing a SSD in your old ...

terminal ssd launchd LaunchDaemons fan

Leon Chung

find Command

In an attempt to remove .DS_Store files that Finder creates on network shares, I learned about the -exec option in the find command. Sometimes find can feel overwhelming, especially when you've been spoiled by Spotlight or Google, but basically it's formatted this way: find [options] [path] [expression] Back to our story about the dot underbar files on network shares. Once upon a time, you had to run defaults write com.apple.desktopservices DSDontWriteNetworkStores true ...

terminal find AppleDouble dot_clean

Leon Chung

Using Munki to manage Profiles from Profile Manager

Sometimes, you want to use a profile to enforce some OS X settings. Whether you're moving away from MCX or Profile Manager is isn't delivering your profiles, you can use Munki to push it out. You will still need Profile Manager to make profiles, or you can use MCX to Profile to convert your MCX to .mobileconfig (profile!). Then wrap your profile into a .pkg with this tool: make-profile-pkg It will even generate a recipt ...

munki mdm Profile Manager

Leon Chung

Creating User Records with dscl

I was decomissioning an Xserve from serving MCX (I was turning off Open Directory) to keep it from serving some transitional MCX. Long story short, I deleted the OD. However, the Xserve was still running a print server for Linux boxes and now, root was gone! Could not sudo or su to root. It kept giving me Unknown user. It turns out, root was really gone. The Xserve was running 10.6 server. I was ...

dscl root xserve Snow Leopard Snow Leopard Server single user mode


Leon Chung

What's my name?

At my current job, we name our computers the same name as their DNS names. I needed a way to set my Macs' HostName, LocalHostName, and ComputerName the same as the DNS name so that puppet is happy, ARD is happy, and other network things. I had been trying to name our computers properly via a script and it worked sometimes. I had great help from frogor and a lot of these came from his ...

ip address hostname dns terminal bash ipconfig ifconfig awk

Leon Chung

MunkiWebAdmin + MySQL on OS X 10.8.5 Server

Using the combined guides and suggested setup, this is how I had to set up my MunkiWebAdmin with MySQL on OS X 10.8.5 Server(.app's Web server). Thank you authors of these guides, it's been very helpful. Guides: MunkiWebAdminOSXSetup, Fluffy Quickness (MWA on OS X 10.8 Server) Set up an OS X 10.8.5 Server, no need to activate any services yet. Install Xcode (App Store) with Command Line tools (Xcode ...

munki munkiwebadmin apache mysql mountain lion server.app