Set password never expires windows xp




















You are reading. TECHGENIX TechGenix reaches millions of IT Professionals every month, and has set the standard for providing free technical content through its growing family of websites, empowering them with the answers and tools that are needed to set up, configure, maintain and enhance their networks. Right-click on the user with an expired password in the middle pane and select Properties. When done, close the Computer Management and you can determine when the password of your Windows account will expire.

Open a Command Prompt and type:. The output of this command will give you a lot of information about account. Open the Command Prompt as Administrator. From the command line is there a way to uncheck the " Password Never Expires " setting? I am trying to do this from a bat file that I will be running on computer after it has been syspreped.

Any one know they command to do this? I need the "Password Never Expires" box to be unchecked This does not uncheck the "Password never Expires" box I am having an issue with calling this from within another bat script Vbs Script Local Users. OK, I am not able to reproduce this error. You need to be a member in order to leave a comment. Sign up for a new account in our community. It's easy! Open the Command Prompt as Administrator.

Type the following command and press Enter. Open the PowerShell as Administrator. You can use the Set-LocalUser cmdlet to modify a local user account and set its password to never expire:. Type secpol.



0コメント

  • 1000 / 1000