Customize Windows 10 Intall.wim to login automatically

Boopathi Subramaniam 2,951 Reputation points


Post Operating system installation completed the device should autologin. Please help how to customize install.wim using Windows ADK tools. so that this wim can be used in Operating System deployment.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
8,907 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).
691 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,835 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AllenLiu-MSFT 32,431 Reputation points Microsoft Vendor

    Hi, @Boopathi Subramaniam

    Thank you for posting in Microsoft Q&A forum.

    To customize the Install.wim file to enable automatic login, we may create an unattend.xml file and add it to the root of the installation media. The unattend.xml file should contain the AutoLogon component with the necessary settings. You can use Windows ADK tools to create and add the unattend.xml file to the installation media.

    Here are the steps to create an unattend.xml file using Windows ADK tools:

    1. Install the Windows ADK on your technician PC.
    2. Open the Windows System Image Manager (SIM) tool from the Start menu.
    3. In the Windows SIM tool, create a new answer file by selecting File > New Answer File.
    4. Add the AutoLogon component to the answer file by selecting Insert > Component > Microsoft-Windows-Shell-Setup.
    5. In the Answer File pane, select the AutoLogon component and configure the following settings: Set the value of the AutoLogon key to "true". Set the value of the DefaultUserName key to the name of the user account that you want to automatically log in. Set the value of the DefaultPassword key to the password for the user account. Set the value of the DefaultDomainName key to the domain name, if applicable.
    6. Save the answer file to the root of the installation media as unattend.xml.

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".

    1 person found this answer helpful.