Please note that this is exact the way Apple handles the storage of this setting, so it's less a hack than sort of reverse engineering I've done years before....
: you'll need an admin password to perform this.