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 rootsmartcardreader 000 >NUL 2>NUL
tpmvscmgr destroy /instance rootsmartcardreader 001 >NUL 2>NUL
tpmvscmgr destroy /instance rootsmartcardreader 002 >NUL 2>NUL
tpmvscmgr destroy /instance rootsmartcardreader 003 >NUL 2>NUL
tpmvscmgr destroy /instance rootsmartcardreader 004 >NUL 2>NUL
tpmvscmgr destroy /instance rootsmartcardreader 005 >NUL 2>NUL
tpmvscmgr destroy /instance rootsmartcardreader 006 >NUL 2>NUL
tpmvscmgr destroy /instance rootsmartcardreader 007 >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