Blog Post
Removal of DES in Kerberos for Windows Server and Client
When I run Get-KerbEncryptionUsage.ps1 script, I get error like below.
Index operation failed; the array index evaluated to null.
At C:\Get-KerbEncryptionUsage.ps1:234 char:9
+ $SK = $script:EncryptionValueTypeMap[$_.Properties[22].Value]
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArrayIndex
- WillAftringFeb 28, 2025
Microsoft
This is most likely due to the scripts taking a dependency on the updated Event Id 4768 and Event Id 4769.
These updated events are available on Windows Server 2019 through Windows Server 2025. You can confirm this by seeing if the Event Ids 4768 and Event Id 4769 contain the following field.
- Session Key Encryption Type
For additional help on the scripts specifically you can engage with the development team at microsoft/Kerberos-Crypto: Tools and information regarding Windows Kerberos cryptography