KDC Code clip
Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Kdc"
Get-ItemPropertyValue -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Kdc" -Name "CertificateBackdatingCompensation"
Get-ItemPropertyValue -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Kdc" -Name "StrongCertificateBindingEnforcement"
Get-ItemProperty -Path "System\CurrentControlSet\Control\SecurityProviders\Schannel"
Get-ItemPropertyValue -Path "System\CurrentControlSet\Control\SecurityProviders\Schannel" -Name "CertificateMappingMethods"
$List = (
"HKLM:\System\CurrentControlSet\Control\SecurityProviders\Schannel"
)
foreach ($L in $List) {
New-ItemProperty -Path $L -Name "CertificateMappingMethods" -PropertyType Dword -Value '0x0'
New-ItemProperty -Path $L -Name "CertificateBackdatingCompensation" -PropertyType Dword -Value '0x1E13380'
}