Customize Windows 10 Intall.wim to login automatically

Boopathi Subramaniam 3,366 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 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,449 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).
884 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,940 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AllenLiu-MSFT 44,101 Reputation points Microsoft Vendor
    2023-09-18T05:34:53.8966667+00:00

    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.

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.