Answers for "windows server 2016 powershell override password complexity"

0

windows server 2016 powershell override password complexity

secedit /export /cfg c:\secpol.cfg
(gc C:\secpol.cfg).replace("PasswordComplexity = 1", "PasswordComplexity = 0") | Out-File C:\secpol.cfg
secedit /configure /db c:\windows\security\local.sdb /cfg c:\secpol.cfg /areas SECURITYPOLICY
rm -force c:\secpol.cfg -confirm:$false
Posted by: Guest on August-04-2020

Code answers related to "windows server 2016 powershell override password complexity"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language