autounattend.xmlMicrosoft's „Windows System Image Manager“ (WSIM) is used to create autounattend.xml files, and can also validate these files against an XSD schema:
Unfortunately, the XSD schema is not easily accessible, but it can be extracted from WSIM:
%ProgramFiles(x86)%\ Windows Kits\ 10\ Assessment and Deployment Kit\ Deployment Tools\ WSIM\ microsoft. componentstudio. componentplatforminterface. dll.
Microsoft. ComponentStudio. ComponentPlatformInterface. MyResources. resources resource and open it.
unattend to find the Base64 encoded schema:
<value> and
</value>), copy it to the clipboard and decode it with PowerShell:
[System.Text.Encoding]::ASCII.GetString( [System.Convert]::FromBase64String( (Get-Clipboard -Raw) ) ) | Set-Clipboard<?xml version="1.0" encoding="ASCII"?>
<xsd:schema targetNamespace="urn:schemas-microsoft-com:unattend" xmlns="urn:schemas-microsoft-com:unattend"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" attributeFormDefault="unqualified">…ildasm.exe
ildasm.exe is not already installed, download and install the
.NET Framework 4.7.2 Developer Pack.
microsoft. componentstudio. componentplatforminterface. dll:
c:\>"%ProgramFiles%\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools\ildasm.exe" "%ProgramFiles(x86)%\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\WSIM\microsoft.componentstudio.componentplatforminterface.dll" /Output:"%USERPROFILE%\Desktop\Out.il"Microsoft. ComponentStudio. ComponentPlatformInterface. MyResources. resources, that was created on your desktop, using a text editor.
<?xml version="1.0" encoding="ASCII"?> to find the schema source code.