{"id":4961,"date":"2023-12-07T15:24:50","date_gmt":"2023-12-07T23:24:50","guid":{"rendered":"https:\/\/SUMMALAI.COM\/?p=4961"},"modified":"2023-12-07T15:24:59","modified_gmt":"2023-12-07T23:24:59","slug":"how-to-modify-the-password-policy-for-windows-server-by-using-commands","status":"publish","type":"post","link":"https:\/\/SUMMALAI.COM\/?p=4961","title":{"rendered":"How to Modify the Password Policies for Windows Server by Using Commands"},"content":{"rendered":"\n<p>The Password complexity is a Local Policy setting named &#8220;<strong>Passwords must meet complexity requirements<\/strong>&#8221; under Computer Configuration\/Windows Settings\/Security Settings\/Account Policies\/Password Policy.<\/p>\n\n\n\n<p>In a Server Core installation, there is no graphical user interface to set this policy.<br>Instead, use secedit to import and export the security settings from a Full Installation of Windows Server 2008 and later versions.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>First export your security configuration using the following command:<br><br><strong>secedit \/export \/cfg C:\\securityconfig.cfg<br>\u00a0\u00a0<\/strong><\/li><li>Then open notepad.exe and edit the C:\\securityconfig.cfg file.<br>Under [System Access] you should find PAssword complexity = 1<br>Change the value to 0 and save the file.<\/li><li>You can also modify policies like Minimum Password Age, Lockout Duration, etc.<br>\u00a0<\/li><li>Then fire up the next command to import the configuration:<br><br><strong>secedit \/configure \/db C:\\Windows\\security\\new.sdb \/cfg C:\\securityconfig.cfg \/areas SECURITYPOLICY<\/strong><\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>The Password complexity is a Local Policy setting named &#8220;Passwords must meet complexity requirements&#8221; under Computer Configuration\/Windows Settings\/Security Settings\/Account Policies\/Password Policy. In a Server Core installation, there is no graphical user interface to set this policy.Instead, use secedit to import and export the security settings from a Full Installation of Windows Server 2008 and later <a class=\"read-more\" href=\"https:\/\/SUMMALAI.COM\/?p=4961\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[10,15],"tags":[1726,1725,1723,1724],"class_list":["post-4961","post","type-post","status-publish","format-standard","hentry","category-microsoft","category-windows-servers","tag-lockout-duration","tag-minimum-password-age","tag-modify-the-password-policy-for-windows-server","tag-password-complexity"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/4961","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4961"}],"version-history":[{"count":2,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/4961\/revisions"}],"predecessor-version":[{"id":4963,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/4961\/revisions\/4963"}],"wp:attachment":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4961"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4961"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4961"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}