How to fix unattend answer Microsoft-Windows-deployment

w raspe 321 Reputation points
2024-04-25T08:30:27.5133333+00:00

I want to setup hp laptop 15s-fq2934nd with MDT.

When the OS is installed it's restarting and after 'setting services' I get the following error:

IMG_5801

Below is the settings in the answer file:

</component>

    <component name="Microsoft-Windows-Deployment" 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">

        <RunSynchronous>

            <RunSynchronousCommand wcm:action="add">

                <Description>EnableAdmin</Description>

                <Order>1</Order>

                <Path>cmd /c net user Administrator /active:yes</Path>

            </RunSynchronousCommand>

            <RunSynchronousCommand wcm:action="add">

                <Description>UnfilterAdministratorToken</Description>

                <Order>2</Order>

                <Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>

            </RunSynchronousCommand>

            <RunSynchronousCommand wcm:action="add">

                <Description>disable user account page</Description>

                <Order>3</Order>

                <Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\OOBE /v UnattendCreatedUser /t REG_DWORD /d 1 /f</Path>

            </RunSynchronousCommand>

            <RunSynchronousCommand wcm:action="add">

                <Description>disable async RunOnce</Description>

                <Order>4</Order>

                <Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer /v AsyncRunOnce /t REG_DWORD /d 0 /f</Path>

            </RunSynchronousCommand>

        </RunSynchronous>

    </component>
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,724 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).
904 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,948 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,912 questions
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
992 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. XinGuo-MSFT 18,771 Reputation points
    2024-04-26T09:17:40.9566667+00:00

    Hi,

    Whether it's all the same model causes this problem.

    The last two Order are also added on the cmd /c reg add HKLM......


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.