Jump to content

Password Expired on user account


techmobile

Recommended Posts

Hi

 

I've successfully creating an AIO image for windows 7 which seems to work fine but after about 40 days of install it is coming up with a message about your windows password has expired & asking for it to be changed. The user account 'User' was created as part of the autounattend.xml file. We have to run a command 'net accounts /MAXPWAGE:UNLIMITED' on each computer we installed with this image but what i want to know is how can I fix this within the image created or in autounattend.xml so we don't have to run this command manually. i have created a .bat file with that command in it but cant see how I can get it to run that under wintoolkit Runonce as it doesn't seem to allow .bats under silent installs, etc. 

 

Any help would be appreciated.

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...