Create virtual smartcard with pin policy via ITpmVirtualSmartCardManager2 interface

0

Following the instruction of 3.3.4.1 CreateVirtualSmartCardWithPinPolicy (Opnum 5)

I tried to create smartcard with method CreateVirtualSmartCardWithPinPolicy via interface ITpmVirtualSmartCardManager2 and getting an error at TPMVSCMGR_ERROR_GENERATE_FILESYSTEM. Here is the callback statuses that i received:

TPMVSCMGR_STATUS_VTPMSMARTCARD_INITIALIZING,

TPMVSCMGR_STATUS_VTPMSMARTCARD_CREATING,

TPMVSCMGR_STATUS_VGIDSSIMULATOR_INITIALIZING,

TPMVSCMGR_STATUS_VGIDSSIMULATOR_CREATING,

TPMVSCMGR_STATUS_VREADER_INITIALIZING,

TPMVSCMGR_STATUS_VREADER_CREATING,

TPMVSCMGR_STATUS_GENERATE_WAITING,

TPMVSCMGR_ERROR_GENERATE_FILESYSTEM => error from here. Exception: System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E).

Its only happen at one machine of specific user's account until now.

I already tried with "tpmvscmgr.exe create /name "testvsc" /AdminKey DEFAULT /PIN PROMPT" via command prompt as admin and working perfectly so i think there is no problem with TPM

Can somebody let me know the reason why and how to fix it?

Thanks,

c#
filesystems
com-interop
smartcard
tpm
asked on Stack Overflow Aug 4, 2020 by new user

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0