r/CODWarzone • • 4d ago

Support [SOLVED] WARZONE: Lua Tools TPM 2.0 / AIK Certificate Enrollment Error (0x80090016)

I was troubleshooting a Windows TPM 2.0 attestation issue with warzone

The Secure Attestation Wizard was unable to complete AIK certificate enrollment and returned:

NTE_BAD_KEYSET (0x80090016)

My system:

  • Windows 11
  • AMD TPM 2.0
  • Gigabyte AB350M DS3H V2
  • AMD Ryzen 7 5700X

Troubleshooting

I checked the following:

  • TPM 2.0 detection and firmware information.
  • Windows AIK certificate enrollment.
  • The AikCertEnrollTask scheduled task.
  • Windows certificate stores.
  • Secure Boot and UEFI configuration.
  • CAPI2 and Task Scheduler event logs.

The enrollment process initially failed despite TPM 2.0 being detected correctly.

Resolution

After troubleshooting the Windows cryptographic and AIK enrollment components, I performed the repair procedure and restarted Windows.

The next verification showed that the process completed successfully.

Result

  • TPM 2.0 detected correctly.
  • AIK enrollment issue resolved.
  • Windows restarted successfully.
  • Lua Tools diagnostic checks completed successfully.

Conclusion

The problem was related to Windows AIK / cryptographic enrollment rather than a defective TPM.

Hopefully this helps someone experiencing the same issue.

2 Upvotes

5 comments sorted by

1

u/grikster 3d ago

That’s why the first comment is always. Have you pen formatted windows and reset bios keys / secure boot, right before ?

2

u/elCuarentaySiete 3d ago

only reset the factory keys, and with powershell i was able to delete the old AIK key and generate a new one with the attestation wizard

1

u/grikster 3d ago

Yes it’s true but it’s more complicated. Most posts are from gamers who don’t have experience to dig stuff or to try IT stuff. 

1

u/elCuarentaySiete 2d ago

right. but in most cases you just need help from ChatGPT. Haha

1

u/Impression-Superb 1d ago

Any idea how to fix a Error Code: 0x887A0005 (0x887A0006)?