Resolved, This was just me having a lack of understanding how TPM 2.0 worked.  I didn't realise clearing the tpm enables it and there is no need to activate the tpm as it gets activated automatically.  I simply added this SELECT * FROM Win32_Tpm WHERE IsActivated_InitialValue = "True"
Hello, I have a task sequence which deploys an image to 7400s.  Now I have a powershell command that clears the TPM owner however when trying to activate tpm i get the error: Admin Password must be set TPM must not be owned Tpm must not be enabled.   I can disable TPM with CCTK i just cannot disable the TpmActivation as it says There was an error setting the option 'TpmActivation'.   If i manually disable the tpm activation and turn tpm off my task sequence does not fail on Tpm Activation.       I need to beable to automate disabling the tpm activation so i can re activate the tpm in the task sequence.   Any Ideas?   This only is an issue with the Dell 7400.
Dell 7400 - Deactivate TPM needed - SCCM