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 | E-mail me updates | Report abuse Register or log in to remove 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/ | Report abuse 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 | Report abuse 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. | Report abuse haska September 22, 2012 12:24:35 PM net user youruername /expires:never | Report abuse Register or log in to remove Ask the community Publish Tom's Hardware>Forum>Windows XP>Commandline set User Password to never expire> Related ressources: ForumHow to set password NEVER EXPIRES to an user account trough NET USER cmd Forumnet user to add accounts awith password never expires select ForumCannot Set Password Never Expires Forumregistry key for " password never expired" ForumAdministrator Password Never Expires ForumHow to set Remote Assistance Invitation to never expire Forum"Your password will expire in _ days" but what password ? ForumUncheck " password never expires" ForumGroup policy and password never expires ForumPassword doesn't expire . Forum'Change Pwd Next Logon' and 'Pwd never Expires' ? ForumHow do i make my sever password not to expire Forumuser accounts expire Forumpassword expire screen pops up every day. ForumPassword Policy Forumhome folders multiple users ForumHELP!!! Please with Windows XP ForumPASSWORD PROTECTED DELL DIMENSION L550R ForumHow to remove wifi password ForumForgot my password More resources Read discussions in other Windows XP categories Configuration Customization Drivers Security Video !