Posted July 29, 20204 yr I have a Windows 10 Pro (local) machine that is not responding to: wmic UserAccount set PasswordExpires=True I've been digging a big hole looking for a comparable powershell command. Anyone know? Also, how to check if the user cannot change password is set. It does not list using net accounts
July 29, 20204 yr Author Does anyone know if this will work: Set-LocalUser -Name username -ExpirePassword I extracted it from this link
July 30, 20204 yr Personally I'd change it to a dos batch file rather than powershell, user accont settings are easlry set there.
Create an account or sign in to comment