Win10 Set User password "Does not expire"

Peda86

New Member
Hello, is there a way the set a user`s password (who is created with ntlite in unattended mode) to "does not expire"?
If not, it would be very helpfull to have that option when creating a user

many thanks in advance!
 

Clanger

Well-Known Member
there should be, go to the Unattended page and look carefully, if there is a search box in the toolbar use that.
 

nuhi

NTLite developer
Staff member
There is a template command under Post-setup page, Add - Template - Disable user password expiration
 
Yep, until it can be integrated directly into NTLite, do it manually in post-execution script.
PowerShell has a function as-well:
Set-LocalUser -Name “localuser” -PasswordNeverExpires 1
 

George King

Active Member
Yep, until it can be integrated directly into NTLite, do it manually in post-execution script.
PowerShell has a function as-well:
Set-LocalUser -Name “localuser” -PasswordNeverExpires 1

Or you can do it for all users
Code:
net accounts /MAXPWAGE:UNLIMITED
 
Top