Why do you do clean installs? I've been moving the same MacOS image since 2006. Four machines, without any issues using whatever MacOS provides at the time.
Do you have a good way of discovering these keys / syncing them with the UI? I like to do the same thing but sometimes change a setting in the UI and don’t know what to update in my script without diffing the entire prefs directory before and after the change.
are you mathiasbynens? If so, thank you. I've been using that script as a reference for my own clean install script. Not sure where else I could have found the information, seems like Apple themselves are against documenting it and have in fact deprecated some of the settings in later macOS versions.