Poniższe komendy należy wykonać w wierszu poleceń uruchomionym jako Administrator

net accounts /MAXPWAGE:30 
net accounts /MINPWLEN:8 
net accounts /UNIQUEPW:12 
wmic path Win32_UserAccount set PasswordExpires=True