Commandline set User Password to never expire Tags: Command Prompt Windows XP Last response: September 22, 2012 12:24 PM in Windows XP Share rmse17 March 20, 2012 7:52:26 PM Hi, I was wondering if anyone knew a command to set local user's account's password to never expire. This can be easily done through GUI by using a check-box, but that is not easy to script (have to use autokey and stuff...). "net user" seems to allow the account to never expire, but I don't see an option to have the password set to never expire. Thanks, RMSe17 More about : commandline set user password expire Chicano March 21, 2012 1:33:43 AM Check here for related information.. hope you find something usefull. http://ss64.com/nt/net_useradmin.html http://ss64.com/nt/ m 0 l Anonymous September 21, 2012 5:57:50 PM Just go there paste the code in a vb script and fire the script it worked great for me i was search for a way to tick that damn option for several users http://tinyurl.com/9ba9tna m 0 l Related resources net user to add accounts awith password never expires select - Forum Cannot Set Password Never Expires - Forum How to set Remote Assistance Invitation to never expire - Forum Uncheck "password never expires" - Forum registry key for "password never expired" - Forum Can't find your answer ? Ask ! Get the answer Hawkeye22 September 21, 2012 6:10:24 PM Why not just go into the local policy editor and set the "maximum password age" to zero. This will prevent all passwords from expiring. m 0 l haska September 22, 2012 12:24:35 PM net user youruername /expires:never m 0 l Can't find your answer ? Ask ! Publish Related resources Group policy and password never expires Forum password never expires grayed out Forum Administrator Password Never Expires Forum Windows asking for Login Password when I never set one! Forum Remote user expired password Forum Set up user password Forum How do I set password expiration?? Forum how do you display the set password dialog for a given user? Forum XP Home asking for passwords which were never set!! Forum Problem > XP Pro > Setting User / Network Password Forum How to set password of drive for other network users Forum Restoring computer to factory settings user name and password Forum Setting password/user for connecting in a WAN Forum Fresh install on new HD - user settings on old HD password.. Forum Multiple AD user cannot change password setting Forum More resources Read discussions in other Windows XP categories Configuration Customization Drivers Security Video !