Windows 10 1803 Unattend Autologon help


  1. Posts : 1
    Windows 10 Ent 1803
       #1

    Windows 10 1803 Unattend Autologon help


    Hi,

    I have been working on a "Windows 10 1803 Ent" base image that will automatically login with the built-in administrator or a local admin account. I have added the component to the unattend file <AutoLogon> as well as the Administrator Password and enabled the built-in admin account via a <RunSynchronousCommand> component.

    After sysprepping, I am able to login by entering the password I provided in the unattend file. Any insight into what I may be missing to get it to login by itself. I have tweaked the hell out of this unattend file, trial by fire, and no luck, although I have learned a great deal. Any help would be greatly appreciated. Here is the unattend file I am using:

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="generalize">
    <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">
    <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
    </component>
    </settings>
    <settings pass="specialize">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
    <ComputerName>*</ComputerName>
    <ProductKey>NPPR9-FWDCX-D2C8J-H872K-2YT43</ProductKey>
    <RegisteredOrganization></RegisteredOrganization>
    <RegisteredOwner></RegisteredOwner>
    <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
    <TimeZone>Eastern Standard Time</TimeZone>
    </component>
    <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
    <Identification>
    <Credentials>
    <Username>Administrator</Username>
    <Domain>SomeDomain</Domain>
    <Password>password123</Password>
    </Credentials>
    <JoinDomain>SomeDomain</JoinDomain>
    </Identification>
    </component>
    <component name="Microsoft-Windows-Deployment" 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">
    <RunSynchronous>
    <RunSynchronousCommand wcm:action="add">
    <Order>1</Order>
    <Path>net user administrator /active:yes</Path>
    </RunSynchronousCommand>
    </RunSynchronous>
    </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">
    <AutoLogon>
    <Enabled>true</Enabled>
    <Username>Administrator</Username>
    <Domain>SomeDomain</Domain>
    <Password>
    <Value>password123</Value>
    <PlainText>false</PlainText>
    </Password>
    <LogonCount>3</LogonCount>
    </AutoLogon>
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <NetworkLocation>Work</NetworkLocation>
    <ProtectYourPC>1</ProtectYourPC>
    <HideLocalAccountScreen>true</HideLocalAccountScreen>
    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
    </OOBE>
    <RegisteredOrganization></RegisteredOrganization>
    <RegisteredOwner></RegisteredOwner>
    <TimeZone>Eastern Standard Time</TimeZone>
    <UserAccounts>
    <AdministratorPassword>
    <Value>somepassword123</Value>
    <PlainText>false</PlainText>
    </AdministratorPassword>
    </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>0409:00000409</InputLocale>
    <SystemLocale>en-US</SystemLocale>
    <UILanguage>en-US</UILanguage>
    <UserLocale>en-US</UserLocale>
    </component>
    </settings>
    <settings pass="offlineServicing">
    <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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">
    <DriverPaths>
    <PathAndCredentials wcm:keyValue="1" wcm:action="add">
    <Path>\somepathtonowhere\weeeeeeeeeee</Path>
    </PathAndCredentials>
    </DriverPaths>
    </component>
    </settings>
    <cpifflineImage cpi:source="catalog://somepathtonowhere\weeeeeeeee" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
      My Computer


  2. Posts : 17,636
    Windows 10 Pro
       #2

    See this support article on Microsoft Docs: AutoLogon | Microsoft Docs

    Kari
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 07:10.
Find Us




Windows 10 Forums