Quantcast
Channel: Ivanti User Community : All Content - OS Deployment and Provisioning
Viewing all articles
Browse latest Browse all 1803

Windows 10 Enterprise v1703 is ignoring the computername is unattend.xml

$
0
0

Hello everyone:

 

I have a fairly simple unattend file.  I use the %ldhostname% variable to allow dynamic naming during the imaging process.   I have checked and the injected unattend has the correct computer name.  However, when the computers boot, they will be named "Desktop-xxxx"   Has anyone experienced this?

 

Unattend file:

<?xml version="1.0" encoding="utf-8"?>

<unattend xmlns="urn:schemas-microsoft-com:unattend">

   <settings pass="auditSystem">

        <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">

 

            <UserAccounts>

                <LocalAccounts>

                    <LocalAccount wcm:action="add">

                        <Password>

                           <ValueRedacted</Value>

                            <PlainText>true</PlainText>

                        </Password>

                        <Description>Local Admin</Description>

                        <DisplayName>Redacted</DisplayName>

                        <Group>Redacted</Group>

                        <Name>Redacted</Name>

                    </LocalAccount>

                </LocalAccounts>

            </UserAccounts>

        </component>

    </settings>

    <settings pass="oobeSystem">

        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

            <OOBE>

                <HideEULAPage>true</HideEULAPage>

                <HideLocalAccountScreen>true</HideLocalAccountScreen>

                <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>

                <HideOnlineAccountScreens>true</HideOnlineAccountScreens>

                <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>

                <NetworkLocation>Work</NetworkLocation>

                <SkipMachineOOBE>true</SkipMachineOOBE>

                <SkipUserOOBE>true</SkipUserOOBE>

                <UnattendEnableRetailDemo>false</UnattendEnableRetailDemo>

           </OOBE>

            <UserAccounts>

                <LocalAccounts>

                    <LocalAccount wcm:action="add">

                        <Password>

                            <Value>Redacted</Value>

                            <PlainText>false</PlainText>

                        </Password>

                        <Description>redacted</Description>

                        <DisplayName>redacted</DisplayName>

                        <Group>redacted</Group>

                        <Name>redacted</Name>

                    </LocalAccount>

                </LocalAccounts>

            </UserAccounts>

        </component>

        <component name="Microsoft-Windows-International-Core" 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">

            <InputLocale>en-us</InputLocale>

            <SystemLocale>en-us</SystemLocale>

            <UILanguage>en-us</UILanguage>

            <UserLocale>en-us</UserLocale>

        </component>

        <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">

            <OOBE>

                <HideEULAPage>true</HideEULAPage>

                <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>

                <NetworkLocation>Work</NetworkLocation>

                <SkipMachineOOBE>true</SkipMachineOOBE>

                <SkipUserOOBE>true</SkipUserOOBE>

                <HideLocalAccountScreen>true</HideLocalAccountScreen>

            </OOBE>

            <AutoLogon>

                <Password>

                    <Value>redacted</Value>

                    <PlainText>false</PlainText>

                </Password>

                <Domain>.\</Domain>

                <Enabled>true</Enabled>

                <LogonCount>2</LogonCount>

                <Username>redacted</Username>

            </AutoLogon>

        </component>

    </settings>

    <settings pass="specialize">

        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="wow64" 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>%ldHostname%</ComputerName>

            <ProductKey>redacted</ProductKey>

        </component>

        <component name="Microsoft-Windows-International-Core" 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">

            <InputLocale>en-us</InputLocale>

            <SystemLocale>en-us</SystemLocale>

            <UILanguage>en-us</UILanguage>

            <UserLocale>en-us</UserLocale>

        </component>

        <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>%ldHostname%</ComputerName>

        </component>

    </settings>

    <cpi:offlineImage cpi:source="wim:redacted" xmlns:cpi="urn:schemas-microsoft-com:cpi" />

</unattend>


Viewing all articles
Browse latest Browse all 1803

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>