change lockout threshhold

This commit is contained in:
abrown38 committed 2025-06-02 10:33:15 +01:00
1 parent 74b5c802a2
commit 7dde0c4f70
1 file changed
+1 -1
@@ -207,7 +207,7 @@ Set-GPRegistryValue -Name "Default Domain Policy" -ValueName "ConsentPromptBehav
#enable-folderredirection -AllFolder #enable-folderredirection -AllFolder
#Domain Password Policy #Domain Password Policy
Set-ADDefaultDomainPasswordPolicy -identity $DomainID -MaxPasswordAge "42" -MinPasswordAge "1" -MinPasswordLength "12" -PasswordHistoryCount "24" -ComplexityEnabled $true -ReversibleEncryptionEnabled $false -LockoutThreshold "0" Set-ADDefaultDomainPasswordPolicy -identity $DomainID -MaxPasswordAge "42" -MinPasswordAge "1" -MinPasswordLength "12" -PasswordHistoryCount "24" -ComplexityEnabled $true -ReversibleEncryptionEnabled $false -LockoutThreshold "5"
Get-LocalUser Guest | Disable-LocalUser Get-LocalUser Guest | Disable-LocalUser
#Get-localuser Administrator | Disable-LocalUser #Get-localuser Administrator | Disable-LocalUser