Customize Windows 10 Intall.wim to login automatically

Boopathi S 3,806 Reputation points
2023-09-16T06:40:12.4033333+00:00

Hello,

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 for business | Windows Client for IT Pros | Devices and deployment | Set up, install, or upgrade
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AllenLiu-MSFT 49,316 Reputation points Microsoft External Staff
    2023-09-18T05:34:53.8966667+00:00

    Hi, @Boopathi S

    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.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.