Change MDT first logon user

Imanol Oiarzabal 10 Reputation points
2025-01-23T10:07:12.8766667+00:00

Hi,

i need some help if it is possible:

I run my deployments with a specific user (unattended.xml) for the deployment task only.

When finishes SO deployment, system autologon with that user till finish all tasks, when this user is removed, but at first start obviously that user is selected (remember that does not exist at the moment) so have to select "other user" and start with my domain user every deploy.

so, the question is is it possible to run deployment and autologon with a user, and when all task finishes change the user appears in first logon windows? or maybe let without user?

thks in advance,

Ima

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).
932 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. XinGuo-MSFT 20,721 Reputation points
    2025-01-24T01:53:50.9866667+00:00

    Hi,

    or maybe let without user?

    This can be done by setting the DontDisplayLastUserName registry key:

    reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v DontDisplayLastUserName /t REG_DWORD /d 1 /f
    
    0 comments No comments

  2. Imanol Oiarzabal 10 Reputation points
    2025-01-24T10:43:31.34+00:00

    Hi XinGuo-MSFT

    first of all, many thanks for the fast response.

    In the other hand, when will be the best place to run this reg add in task sequence?

    at the very end before last restart... or...

    thank you


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.