Windows 10: How to enable or disable password expiration for a user.

Share this post

Commands:

Disable password expiration for a user account.
wmic UserAccount where Name=’username’ set PasswordExpires=False

Disable password expiration for all user accounts.
wmic UserAccount set PasswordExpires=False

Enable password expiration for a user account.
wmic UserAccount where Name=’username’ set PasswordExpires=True

Enable password expiration for all user accounts.
wmic UserAccount set PasswordExpires=True

All movies in one place 🙂
http://soisk.pl/how-to/

Online:
http://www.soisk.pl
http://www.facebook.soisk.pl
Music by: Drop Zone, Artist: BS

Dodaj komentarz

Twój adres email nie zostanie opublikowany. Pola, których wypełnienie jest wymagane, są oznaczone symbolem *

Podobne wpisy

How to uninstall new cumulative update KB4482887 build 17763.348 for Windows 10 version 1809

How to install new cumulative update KB4482887 build 17763.348 for Windows 10 version 1809.

How to change system protection storage size in Windows 10

How to enable Remote Assistance on Windows 10 using registry editor (regedit).