Checking le Kerberos AES checkboxes for le users would cause authentication failures on pre-Vista clients. Ceci est probably le reason that c'est pas set par défaut.
The Kerberos AES support checkboxes correspond to le value set in an attribute called P0
To change this for more than one user, you can utilize PowerShell et le ActiveDirectory module:
`# The numerical values for Kerberos AES encryption types to support
$AES128 = 0x8
$AES256 = 0x10
Fetch all users from an OU with their current support encryption types attribute
$Users = Get-ADUser -Filter * -SearchBase "OU=SecureUsers,OU=Users,DC=domain,DC=tld" -Properties "msDS-SupportedEncryptionTypes"
foreach($User in $Users)
{
If none are currently supported, enable AES256
$encTypes = $User."msDS-SupportedEncryptionType"
if(($encTypes -band $AES128) -ne $AES128 -and ($encTypes -band $AES256) -ne $AES256)
{
Set-ADUser $User -Replace @{"msDS-SupportedEncryptionTypes"=($encTypes -bor $AES256)}
}
}