Autogenerate ComputerName in offlineServicing

Prevents Windows 11 prompting for a computer name during install
This commit is contained in:
Martin Wimpress 2021-12-06 17:26:54 +00:00 committed by Martin Wimpress
parent c15872bfb4
commit 2b3e3a88c3

View File

@ -1194,6 +1194,17 @@ function unattended_windows() {
For documentation on components:
https://docs.microsoft.com/en-us/windows-hardware/customize/desktop/unattend/
-->
<settings pass="offlineServicing">
<component name="Microsoft-Windows-Shell-Setup"
processorArchitecture="amd64"
publicKeyToken="31bf3856ad364e35"
language="neutral"
versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ComputerName>*</ComputerName>
</component>
</settings>
<settings pass="generalize">
<component name="Microsoft-Windows-PnPSysprep"