WDS Unattend OOBE not working

Brandon Ho 376 Reputation points
2021-04-07T03:53:02.467+00:00

Hi,

I have two unattend.xml files set in WDS. One is UEFI_PE.xml to configure disk partition. Another one attached to the custom.wim for deployment. Below is a partial OOBE configuration which I would like to add a user and want to AutoLogon after image. It does not create the user account or autologon after image. What did I miss? Could anyone shed some light for me. I really appreciate your assistance!

    <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>
            <NetworkLocation>Work</NetworkLocation>
            <ProtectYourPC>1</ProtectYourPC>
            <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
            <HideLocalAccountScreen>true</HideLocalAccountScreen>
            <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
            <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
        </OOBE>
        <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
        <TimeZone>Pacific Standard Time</TimeZone>
        <UserAccounts>
            <AdministratorPassword>
                <Value>ZAByADIAMQAyADcAeAB5AG0DgkyAaQBuAGkAcwB0AHIAYQB0AG8AlOAcgBQAHcAbwByAGQA</Value>
                <PlainText>false</PlainText>
            </AdministratorPassword>
            <LocalAccounts>
                <LocalAccount wcm:action="add">
                    <Password>
                        <Value>ZAByADIAMQAyADcAeAB5ACQODDWMPAUABhAHMAcwB3AG8AcgBkAA==</Value>
                        <PlainText>false</PlainText>
                    </Password>
                    <Description>Bult-in Account</Description>
                    <DisplayName>Clerk</DisplayName>
                    <Group>Power Users</Group>
                    <Name>Clerk</Name>
                </LocalAccount>
            </LocalAccounts>
        </UserAccounts>
        <AutoLogon>
            <Password>
                <Value>ZAByADIAMQAyADcAeAB5ACQODDWMPAUABhAHMAcwB3AG8AcgBkAA==</Value>
                <PlainText>false</PlainText>
            </Password>
            <Enabled>true</Enabled>
            <LogonCount>5</LogonCount>
            <Username>Clerk</Username>
        </AutoLogon>
    </component>
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,205 questions
Microsoft Deployment Toolkit
Microsoft Deployment Toolkit
A collection of Microsoft tools and documentation for automating desktop and server deployment. Previously known as Microsoft Solution Accelerator for Business Desktop Deployment (BDD).
832 questions
{count} votes

Accepted answer
  1. Jenny Feng 14,081 Reputation points
    2021-04-07T06:49:06.3+00:00

    @Brandon Ho
    Hi,
    The following XML output shows how to set automatic logon.
    https://learn.microsoft.com/en-us/windows-hardware/customize/desktop/unattend/microsoft-windows-shell-setup-autologon

    In addition, here are some posts with the similar issue with yours, just for your reference, you can try the method mentioned in them:
    https://social.technet.microsoft.com/Forums/windows/en-US/e47066d9-9be1-4040-9c8d-d8fb14b0e1c1/how-to-setup-autologon-after-imaging?forum=itprovistadeployment
    Hope above information can help you.

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful