提供批次檔腳本刪除 Win 8.1 RTM 中的虛擬智慧卡(VSC)帳戶與憑證。
deleteVSC.cmd)@echo off echo Deleting existing virtual smart cards and readers... tpmvscmgr destroy /instance rootsmartcardreader000 >NUL 2>NUL tpmvscmgr destroy /instance rootsmartcardreader001 >NUL 2>NUL tpmvscmgr destroy /instance rootsmartcardreader002 >NUL 2>NUL tpmvscmgr destroy /instance rootsmartcardreader003 >NUL 2>NUL tpmvscmgr destroy /instance rootsmartcardreader004 >NUL 2>NUL tpmvscmgr destroy /instance rootsmartcardreader005 >NUL 2>NUL tpmvscmgr destroy /instance rootsmartcardreader006 >NUL 2>NUL tpmvscmgr destroy /instance rootsmartcardreader007 >NUL 2>NUL echo Deleting existing virtual smart card certificates... certutil -delstore -user My "Pilot - MSIT vSmartcard - DA" >NUL 2>NUL certutil -delstore -user My "MSIT Virtual Smart Card" >NUL 2>NUL
以系統管理員身分執行即可清除所有虛擬智慧卡讀卡機實例與相關憑證。