Microsoft’s public documentation does not specify that Sysprep /generalize clears Services\TPM\WMI\Endorsement\IntermediateCACertStore, nor that TPM provisioning validates or replaces its contents; the reported reproduction should therefore be treated as a suspected Windows/OEM imaging and reconciliation defect.
Recovery on the affected Intel PTT device
Before using custom registry code, try the published Intel PTT recovery sequence from an elevated Command Prompt or PowerShell:
TPMDiagnostics.exe InstallEkCertFromNVR
TPMDiagnostics.exe InstallEkCertThroughCoreProv
TPMDiagnostics.exe ekchain
TPMDiagnostics.exe GetWindowsAIKCert
TPMDiagnostics.exe EnrollWindowsAIKCert
This is a reported Q&A workaround and is not guaranteed for every Intel certificate hierarchy.^1^
To determine whether it corrected this specific failure:
- Export the registry state before and after running the commands:
reg export "HKLM\SYSTEM\CurrentControlSet\Services\TPM\WMI\Endorsement" "%TEMP%\TPM-Endorsement-before.reg" /y rem Run the TPMDiagnostics commands reg export "HKLM\SYSTEM\CurrentControlSet\Services\TPM\WMI\Endorsement" "%TEMP%\TPM-Endorsement-after.reg" /y - Compare the exports and inspect
IntermediateCACertStore. - Run
TPMDiagnostics.exe ekchainand confirm that the resulting chain corresponds to the active TPM—not merely certificates having matching subject names. - Retry:
certreq -enrollaik -f -v -config "" -machine request.inf - Confirm that the generated
INTC-KeyId-...authority changed to the authority derived from the valid chain and thatGetCACapsreturns success.
Get-TpmEndorsementKeyInfo is also useful for inspection:
$ek = Get-TpmEndorsementKeyInfo -HashAlgorithm sha256
$ek | Select-Object IsPresent, PublicKeyHash
$ek.ManufacturerCertificates |
Select-Object Subject, Issuer, Thumbprint, NotBefore, NotAfter
It reports the EK public-key hash and certificate collections known to Windows, but it is diagnostic rather than a repair operation and does not by itself prove that every returned certificate was read directly from TPM NV storage.^2^
Is Sysprep expected to clear this store?
No published contract located for Sysprep /generalize names this store or states that it is removed.
The documented contract is broader: /generalize removes unique system information and hardware-specific settings so an image can be reused on another computer.^3^ Microsoft also states that imaging for another computer requires /generalize, even when the target hardware is identical.^4^
Consequently:
- Foreign TPM certificates surviving generalization appear inconsistent with the purpose of generalization.
- The documentation is insufficient to state that this particular key is contractually required to be deleted.
- The timestamp and first-boot evidence strongly support an OEM-image origin, but ownership of the defect—Sysprep, TPM provisioning, or the OEM capture workflow—requires investigation.
Should provisioning reconcile it?
Windows provisioning is documented as consulting:
HKLM\SYSTEM\CurrentControlSet\Services\TPM\WMI\Endorsement
when determining the EK and locally stored TPM state.^5^
However, the documentation does not state that provisioning:
- validates
IntermediateCACertStoreagainst certificates in TPM NV; - removes certificates associated with another TPM;
- repopulates an empty store; or
- repairs the store after a TPM clear.
Therefore, the observed persistence through clearing and reprovisioning is not contradicted by a documented repair guarantee, but it is a credible product defect or missing hardening behavior.
About the custom registry-store workaround
Adding the actual TPM chain through CERT_STORE_PROV_REG and CertAddEncodedCertificateToStore is an unsupported workaround validated by the reported experiment, not a documented Microsoft remediation.
If it is used in deployment tooling:
- Back up the registry key first.
- Parse concatenated DER objects across consecutive NV indices correctly.
- Cryptographically verify that the EK certificate’s public key matches the active TPM EK before importing its chain.
- Do not trust subject names as identity.
- Prefer adding the matching chain over deleting existing data until Microsoft or the OEM defines supported cleanup behavior.
Static Intel CA downloads are not a general substitute: the required chain depends on the TPM’s actual EK hierarchy.
Escalation
Because this is reproducible on an Insider build, submit two Feedback Hub reports—one problem and one suggestion:
- Press Win+F and select Report a problem.
- Record reproduction from registry inspection through
certreq -enrollaik. - Attach sanitized before/after registry exports, Event 86 XML,
TPMDiagnostics.exe ekchainoutput, TPM NV chain fingerprints, and the image/provisioning timeline. - Separately suggest that Sysprep remove per-TPM endorsement state or provisioning reconcile it, and that Event 86 identify the certificate-store source.
Feedback Hub supports recorded steps and file attachments, which are available only to Microsoft rather than public viewers.^6^ Open a parallel OEM case because the evidence indicates that the foreign chain was present in the factory image.
References