question

BrandonHo-7950 avatar image
0 Votes"
BrandonHo-7950 asked JennyFeng-MSFT commented

WDS Unattend OOBE not working

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-servermem-mdt
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@BrandonHo-7950
Hi,

Just checking in to see if the information provided was helpful.

If the reply helped you, please remember to accept as answer.
If no, please reply and tell us the current situation in order to provide further help.

0 Votes 0 ·

1 Answer

JennyFeng-MSFT avatar image
0 Votes"
JennyFeng-MSFT answered

@BrandonHo-7950
Hi,
The following XML output shows how to set automatic logon.
https://docs.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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.