Hi,
I have a issue with creating an unattend.xml file . All works except for adding dns to the sysprep image....
meaning that there is no errors when deploying BUT the DNS entry is just not added for some reason.
I have looked at Microsoft Docks but
i think i'm missing something....... where i'm i going wrong.?
in advance thanks!
/Martin
Unattend.xml :
<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"><settings pass="windowsPE"><component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State Jump " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance Jump "><SetupUILanguage><UILanguage>en-US</UILanguage></SetupUILanguage><InputLocale>da-DK</InputLocale><SystemLocale>da-DK</SystemLocale><UILanguage>en-US</UILanguage><UILanguageFallback>en-US</UILanguageFallback><UserLocale>da-DK</UserLocale></component><component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State Jump " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance Jump "><UserData><AcceptEula>true</AcceptEula><FullName>USER01</FullName><Organization>FIRM</Organization></UserData><EnableFirewall>true</EnableFirewall><EnableNetwork>true</EnableNetwork></component></settings><settings pass="offlineServicing"><component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State Jump " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance Jump "><EnableLUA>true</EnableLUA></component></settings><settings pass="generalize"><component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State Jump " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance Jump "><SkipRearm>1</SkipRearm></component></settings><settings pass="specialize"><component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State Jump " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance Jump "><InputLocale>da-DK</InputLocale><SystemLocale>da-DK</SystemLocale><UILanguage>en-US</UILanguage><UILanguageFallback>en-US</UILanguageFallback><UserLocale>da-DK</UserLocale></component><component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State Jump " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance Jump "><SkipAutoActivation>true</SkipAutoActivation></component><component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State Jump " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance Jump "><CEIPEnabled>0</CEIPEnabled></component><component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State Jump " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance Jump "><ComputerName>ServerTest</ComputerName></component><component name="Microsoft-Windows-TCPIP" 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"><Interfaces><Interface wcm:action="add"><Identifier>xx-xx-xx-xx-xx-xx MAC</Identifier><Ipv4Settings><DhcpEnabled>false</DhcpEnabled><Metric>10</Metric><RouterDiscoveryEnabled>false</RouterDiscoveryEnabled></Ipv4Settings><UnicastIpAddresses><IpAddress wcm:action="add" wcm:keyValue="1">192.168.55.10/16</IpAddress></UnicastIpAddresses><Routes><Route wcm:action="add"><Identifier>1</Identifier><Metric>10</Metric><NextHopAddress>192.168.1.1</NextHopAddress><Prefix>0.0.0.0/0</Prefix></Route></Routes></Interface></Interfaces></component> <component name="Microsoft-Windows-DNS-Client" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State Jump " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance Jump "><Interfaces><Interface wcm:action="add"><Identifier>xx-xx-xx-xx-xx-xx MAC</Identifier><DNSDomain>FIRM.com</DNSDomain><DNSServerSearchOrder><IpAddress wcm:action="add" wcm:keyValue="1">192.168.3.5</IpAddress><IpAddress wcm:action="add" wcm:keyValue="2">192.168.3.6</IpAddress></DNSServerSearchOrder><EnableAdapterDomainNameRegistration>true</EnableAdapterDomainNameRegistration><DisableDynamicUpdate>false</DisableDynamicUpdate></Interface></Interfaces></component></settings><settings pass="oobeSystem"><component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State Jump " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance Jump "><OOBE><HideEULAPage>true</HideEULAPage><HideOEMRegistrationScreen>true</HideOEMRegistrationScreen><HideOnlineAccountScreens>true</HideOnlineAccountScreens><HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE><NetworkLocation>Work</NetworkLocation><ProtectYourPC>1</ProtectYourPC><SkipUserOOBE>true</SkipUserOOBE><SkipMachineOOBE>true</SkipMachineOOBE></OOBE><UserAccounts><LocalAccounts><LocalAccount wcm:action="add"><Password><Value>xxxxxxxxx</Value><PlainText>True</PlainText></Password><Description></Description><DisplayName>USER01</DisplayName><Group>Administrators</Group><Name>USER01</Name></LocalAccount></LocalAccounts></UserAccounts><RegisteredOrganization>FIRM</RegisteredOrganization><RegisteredOwner>FIRM</RegisteredOwner><DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet><TimeZone>Romance Standard Time</TimeZone><VisualEffects><SystemDefaultBackgroundColor>2</SystemDefaultBackgroundColor></VisualEffects></component><component name="Microsoft-Windows-ehome-reg-inf" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State Jump " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance Jump "><RestartEnabled>true</RestartEnabled></component><component name="Microsoft-Windows-ehome-reg-inf" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State Jump " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance Jump "><RestartEnabled>true</RestartEnabled></component></settings><cpi:offlineImage cpi:source="wim:c:/server2016/sources/install.wim#Windows Server 2016 SERVERDATACENTERCORE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
/Emort Sys Admin