OSBuilder 19.1.31 SASMUG or newer
There are always changes that need to be made to the Registry of a Custom Image. The way to do this in Offline Servicing is to either use a custom Driver (can't do Default User) like I have detailed for WinPE, or to use a PowerShell Script.
To make things eaiser, OSBuild Registry is being introduced. In a new OSBuilder installation, a Registry directory is created in the OSBuilder Content directory
As Operating Systems are added to OSMedia, a directory in Registry called AutoApply will be created automatically. Inside AutoApply are Filters
If an OSBuild uses an OSMedia that matches an AutoApply Filter, the contents of the AutoApply Filter will be automatically processed. The screenshots below show the AutoApply Filter for each existing OSMedia
You can use REG or XML (GPP) files with OSBuild Registry. Details on how to use them are in the following two links