/build/static/layout/Breadcrumb_cap_w.png

Password is expired after first reboot

Hi,

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:

      <FirstLogonCommands>

        <SynchronousCommand wcm:action="add">

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

          <Description>Password Never Expires</Description>

          <Order>1</Order>

          <RequiresUserInput>false</RequiresUserInput>

        </SynchronousCommand>

        <SynchronousCommand wcm:action="add">

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

          <Order>2</Order>

          <RequiresUserInput>false</RequiresUserInput>

        </SynchronousCommand>

      </FirstLogonCommands>

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?

Sincerly

Erik


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

Share

 
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