The MDT task does not continue after the computer restarts

MIke liu 21 Reputation points
2021-07-23T07:15:06.473+00:00

Hi,I have a problem with deploying systems using MDT. I create a standard client task sequence where Postinstall installs the software and executes powerShell scripts to disable the administrator account and enable other administrator accounts. After the computer restarted, auto logon new account. Script execution does not automatically execute. Please help me!117299-wechatimg73.png

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).
903 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,947 questions
{count} votes

Accepted answer
  1. Simon Ren-MSFT 35,311 Reputation points Microsoft Vendor
    2021-07-26T08:02:38.817+00:00

    Hi,

    Thanks for posting in Microsoft Q&A forum.

    1, Please help check the BDD.log and SMSTS.log to see if there is any further information.

    2, To use a different logon user other than Administrator account, we could try to change the logon user in the AutoLogon properties. Please click Edit Unattend.xml button on the OS info tab of your task sequence properties, and then navigate to C:\DeploymentShare\Out-of-Box Drivers\Components\oobeSystem\AutoLogon

    Best regards,
    Simon


    If the response 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.


0 additional answers

Sort by: Most 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.