After setting up a Windows Server with a vTPM (see https://cloud.google.com/blog/products/gcp/security-in-plaintext-use-shielded-vms-to-harden-your-gcp-workloads) in Google Cloud VM and accesing to it through Remote Desktop Services (RDS), when trying to initialize the TPM virtual smart card with a command like the following:
Tpmvscmgr.exe create /name "TestVirtualSC" /pin prompt /adminkey default /generate
The following error is produced:
Creating TPM Smart Card... TPM Virtual Smart Card management cannot be used within a Terminal Services session. (0x800704d3) The request was aborted.
So, is there any way to initialize the TPM virtual smart card through a remote RDS session?, or alternatively, is there any other way to initialize it in a Google Cloud VM running Windows Server?.