Determine status of password expiry
Hi everyone, (first post :) ) I'm running a deployment system of Windows 7 and I've suddenly had a run of computers coming up asking for new passwords, and the users have been unable to proceed beyond this screen. The account they log in under is not set to have a password. I'm trying to determine whether I've inadvertantly set password expiry on these systems. I understand that password expiry can be set using the "wmic path Win32_UserAccount where Name='user' set PasswordExpires=option" command, however in the interest of determining whether this is the problem or not I specifically do NOT want to change the PasswordExpires status but simply to see what it's currently set to. Does anyone know a way of seeing this? I was thinking either by a variation of the wmic command or possibly seeing something in the registry. Any help greatly appreciated :) Brett
August 6th, 2012 7:34pm

Hi , You can determine when local accounts password expires via script. Please check out the following links and see if they explained what you want. http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/thread/a6a40db3-350d-4599-8480-28835714ed34/ Find out when your Password Expires http://blogs.msdn.com/b/adpowershell/archive/2010/08/09/9970198.aspx How Long Until My Password Expires? http://msdn.microsoft.com/en-us/library/ms974598.aspx
Free Windows Admin Tool Kit Click here and download it now
August 9th, 2012 12:51am

Hi Tracy, Thanks for your reply. I ended up working it out by process of elimination but those scripts look useful, hopefuly someone else will get use from them. Cheers, Brett
August 9th, 2012 9:43pm

Hi Tracy, Thanks for your reply. I ended up working it out by process of elimination but those scripts look useful, hopefuly someone else will get use from them. Cheers, Brett
Free Windows Admin Tool Kit Click here and download it now
August 11th, 2012 9:06pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics