Password is expired after first reboot


we are using the SDA to automate the installation of Windows 10 (skripted installation). Everything is working fine without one little detail: After installing Windows after the reboot and the autologon we are asked to change the password of the admin user which has been created whilst the installation. After changing the password the installation continues. That's a bit annoying since we will distribute new notebooks for all of our users. So we'd like to have it fully automated.

What we have done so far:

- a new KBE has been set up

- the source media has been downloaded again from MS server

- the deployment has been created again from the scratch

- the user name and the password has been changed (passwords are complex)

Also we have added some code to the unattend.xml:


        <SynchronousCommand wcm:action="add">

          <CommandLine>cmd /C wmic useraccount where name="admin" set PasswordExpires="false"</CommandLine>

          <Description>Password Never Expires</Description>




        <SynchronousCommand wcm:action="add">

          <CommandLine>cmd /C net user "admin" /logonpasswordchg:no</CommandLine>





Nothing worked. We are always asked to renew the password since it has been expired even though after the installation the password never expires flag is set.

Any ideas?



0 Comments   [ + ] Show comments

Answers (0)

Be the first to answer this question

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ