Windows System Image Manager

You can easily create a Windows Unattend with Windows System Image Manager (ADK) to use in OSDBuilder

Create a Windows Image Catalog

Open Windows System Image Manager to Select a Windows Image

In this example, I will be Servicing Windows 10 Enterprise x64 1809. The Install.wim will be mounted and a Catalog will be created

The Catalog will be saved in the Sources directory with the Install.wim. This file can be used for future builds with Windows System Image Manager so it doesn't have to mount the Install.wim

When complete, Packages will contain detailed information about the Windows Image

Answer File

Creaate a new Answer File

Add Features

Select the Foundation Package and then Add to Answer File

At this point you can Enable or Disable Features. Make sure you Enable Parent Features to include all Dependencies. You may also individually Enable or Disable Features

Save Unattend XML

When complete, press the Save button on the toolbar to create the Unattend XML. Save this file in the OSDBuilder\Content\Unattend directory

Resolve Validation Errors

Keep an eye out for any Validation Errors. This will cause the Unattend XML to fail

The Unattend XML is now ready to be added to a New-OSBuildTask