Disable password expiration?

Thanks for answering the stupid question. I don't use this application very often and forget stuff. My apologies to everyone.
 
I forget stuff even if i aint used it for a week or 2, give yourself a refresher run or 2 and it all comes back :)
 
In autounattend.xml:

Code:
<FirstLogonCommands>
 <SynchronousCommand wcm:action="add">
  <CommandLine>net accounts /maxpwage:unlimited</CommandLine>
  <Description>Disables password expiration</Description>
  <Order>1</Order>
 </SynchronousCommand>
</FirstLogonCommands>
 
Back
Top