Virtual Smart Card backed by vTPM

Discussion in 'Windows Virtual Machine' started by PeterS76, Jan 31, 2022.

  1. PeterS76

    PeterS76 Bit poster

    Messages:
    2
    Hello,

    I'm trying to create a virtual smartcard on Windows 11 following this article: https://docs.microsoft.com/en-us/wi...rted#step-2-create-the-tpm-virtual-smart-card but I'm getting an error that the file cannot be created:
    Code:
    Using default PIN: 12345678
    Creating TPM Smart Card...
    Initializing the Virtual Smart Card component...
    Creating the Virtual Smart Card component...
    Initializing the Virtual Smart Card Simulator...
    Creating the Virtual Smart Card Simulator...
    Initializing the Virtual Smart Card Reader...
    Creating the Virtual Smart Card Reader...
    Waiting for TPM Smart Card Device...
    Failed to generate the filesystem on the TPM Smart Card.
            (0x80070002) The system cannot find the file specified.
    Already tried taking ownership / clearing the TPM but it had no effect. Has anyone had success creating such a thing in a Windows guest system? Are there some additional settings that should be done?
     
  2. PeterS76

    PeterS76 Bit poster

    Messages:
    2
    I solved my problem - it was caused by the /generate option. Issuing the creation command w/o it works fine!
     

Share This Page