Chek your tpm version if its tpm 1.2 you need to update to 2.0 here is all steps that one guy told i did evereything like him and finally fixed this stupid error
Steps that actually fixed it
Verified BitLocker is disabled.
Control Panel → System and Security → BitLocker Drive Encryption
For all drives: BitLocker off.
Checked TPM version.
Win + R → tpm.msc → Specification Version was 1.2.
Confirmed BIOS / UEFI configuration.
Enter BIOS with F2 on boot: BIOS version A34 (A14+ is required for TPM 2.0 update).
General → Boot Sequence → UEFI selected (no Legacy / CSM).
Disabled TPM auto-provisioning and cleared TPM.
Opened Windows PowerShell (Run as administrator):
Disable-TpmAutoProvisioning
Win + R → tpm.msc → on the right clicked “Clear TPM…” and confirmed.
On reboot, on the black Dell screen pressed F12 to accept TPM clear.
Updated TPM firmware from 1.2 to 2.0.
Went to Dell website: Support → Drivers & Downloads → entered Service Tag for Precision Tower 7810.
Under Security downloaded Dell TPM 2.0 Firmware Update Utility.
Ran the .exe as Run as administrator and confirmed the dialog:
Installed TPM: 1.2 → Update TPM: 2.0.
PC rebooted and flashed the TPM firmware.
Re-enabled auto-provisioning and prepared TPM.
In PowerShell (admin):
Enable-TpmAutoProvisioning
Win + R → tpm.msc → clicked “Prepare the TPM…” on the right and followed the wizard.
On reboot pressed F12 again to accept the change.
In tpm.msc the status became “The TPM is ready for use” and Specification Version = 2.0.
Repaired EA AntiCheat / Javelin for BF6.
Ran C:\Program Files\EA\AC\EAAntiCheat.Installer.exe.
Selected Battlefield 6 and clicked Repair (or Uninstall then Install).
Launched the game.
Started EA app with Run as administrator.
Launched Battlefield 6 — Javelin loaded successfully, no more (7)(2) error.