{"id":456,"date":"2015-06-26T16:34:00","date_gmt":"2015-06-26T16:34:00","guid":{"rendered":"https:\/\/www.geekmungus.co.uk\/?p=456"},"modified":"2022-11-05T10:53:19","modified_gmt":"2022-11-05T10:53:19","slug":"hyper-v-server-2012-r2-disable-local-password-complexity","status":"publish","type":"post","link":"https:\/\/geekmungus.co.uk\/?p=456","title":{"rendered":"Hyper-V Server 2012 R2 Disable Local Password Complexity"},"content":{"rendered":"\n<p>If you like me like a more simple password for your local administrator password on your servers in a test lab or production \ud83d\ude42 then you can change it using the local security policy.<\/p>\n\n\n\n<p>Problem is on Hyper-V Server 2012 R2, you don&#8217;t have the MMC snap-ins to do it, so you need to use the command line as follows:<\/p>\n\n\n\n<p><strong>Disable Local Password Expiry:<\/strong><\/p>\n\n\n\n<p>&gt; net accounts \/maxpwage:unlimited<\/p>\n\n\n\n<p><strong>Disable Password Complexity<\/strong><\/p>\n\n\n\n<p>First export your security configuration using the following command:<\/p>\n\n\n\n<p>&gt; secedit \/export \/cfg C:\\securityconfig.cfg<\/p>\n\n\n\n<p>Open the exported file with notepad.<\/p>\n\n\n\n<p>Change the line:<\/p>\n\n\n\n<p>PasswordComplexity = 1<\/p>\n\n\n\n<p>to:<\/p>\n\n\n\n<p>PasswordComplexity = 0<\/p>\n\n\n\n<p>and save the file:<\/p>\n\n\n\n<p>&gt; secedit \/configure \/db C:\\Windows\\security\\new.sdb \/cfg C:\\securityconfig.cfg \/areas SECURITYPOLICY<\/p>\n\n\n\n<p>Now you can set your local administrator password to something simple! \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you like me like a more simple password for your local administrator password on your servers in a test lab or production \ud83d\ude42 then you can change it using the local security policy. Problem is on Hyper-V Server 2012 R2, you don&#8217;t have the MMC snap-ins to do it, so you need to use &#8230; <a title=\"Hyper-V Server 2012 R2 Disable Local Password Complexity\" class=\"read-more\" href=\"https:\/\/geekmungus.co.uk\/?p=456\" aria-label=\"Read more about Hyper-V Server 2012 R2 Disable Local Password Complexity\">Read more<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-456","post","type-post","status-publish","format-standard","hentry","category-microsoft-windows"],"_links":{"self":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/456","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=456"}],"version-history":[{"count":1,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/456\/revisions"}],"predecessor-version":[{"id":1432,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/456\/revisions\/1432"}],"wp:attachment":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=456"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=456"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}