提供刪除 Windows 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
將上述內容存為 deleteVSC.cmd 以系統管理員身分執行,可批次移除虛擬智慧卡讀卡機實例與相關憑證,適用於測試環境清理或重新部署前準備。