Delete Virtual Smart Card sign-in option in Windows 8.1 RTM(在WIN 8.1 RTM中刪除虛擬智能卡賬戶)
commandwindows 8.1VSC
please use below script and save as "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