How to change maximum password age for a single local account in Win7 home?

1

I'd like to change maximum password age for a single user, using Windows 7 home. I want user to be enforced to change password every 30 days.

I have already found this command, but unfortunately it applies new settings for every user.

net accounts /maxpwage:30

So, how can I enforce password change after 30 days just for one user?

Flower

Posted 2018-05-22T08:42:46.153

Reputation: 11

Are you trying to force a password chnage, prevent the password from having to chnage, what are you trying to accomplish by doing this? Please edit your question to clarify the reason you are doing this, and yes, the reason is really really relevant – Ramhound – 2018-05-22T08:45:12.723

@Ramhound I have two accounts on system, admin (mine) and standard user. I want to force him to change his password every 30 days but account of mine should stay unchanged. – Flower – 2018-05-22T08:58:30.803

1Make the policy change then configure your user account so the password never expires. – Ramhound – 2018-05-22T09:12:03.843

@Ramhound Sounds more like an answer than comment – Louis – 2018-05-23T01:17:26.253

I normally would but I don’t have an appropriate VM to use for screenshots – Ramhound – 2018-05-23T01:55:03.210

@Ramhound Don't set the bar so high that answers fail to make it over. I also haven't tested your idea... and it might be wrong. But I think that's okay really. Perfect questions are rare, and even good ones like this sholdn't require a VM for an answer when too many comments mostly get frowned upon given the chat room feature.

But Google doesn't look there... – Louis – 2018-05-23T03:37:01.220

You are right. I shouldn’t even replied to any of your comments. If I get a chance to configure a VM I will submit an answer. – Ramhound – 2018-05-23T04:18:44.493

No answers