Saturday, November 21, 2015

Setting password expiration date for specific local account in Windows

Is it possible to set password expiration date for one local account in Windows?
It's possible to set account policy with net accounts /maxpwage command, but I'm interested in changing the date for one specific account, without making changes to the policy or other accounts.


The net user command can show the expiration date for the account given in Password Expires: field, but it seems like you cannot change it with any net user switch.

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...