How to cancel Windows User Password Expiration in batches

Source: Internet
Author: User

The previous post explains how to create users in batches. Every time a new user logs on, the system prompts that the password will expire in 42 days. Therefore, it is very troublesome to set the password for each user separately, I am using a work ing method. You can perform the following operations (applicable to Windows and later Operating Systems ):

Start --> Run --> gpedit. MSC --> Computer Configuration --> Windows Settings --> Security Settings --> account policy --> password policy --> change the password retention period from 42 days to 0 days, in this way, the passwords of all users will never expire.

 

 

Another method reference: http://www.cn-dos.net/forum/viewthread.php? Tid = 26173

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.