站长资源操作系统

在WIN 8.1 RTM中删除虚拟智能卡账户的方法

整理:jimmy2024/11/17浏览2
简介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 "deleteV
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 root\smartcardreader\0000 >NUL 2>NUL

tpmvscmgr destroy /instance root\smartcardreader\0001 >NUL 2>NUL

tpmvscmgr destroy /instance root\smartcardreader\0002 >NUL 2>NUL

tpmvscmgr destroy /instance root\smartcardreader\0003 >NUL 2>NUL

tpmvscmgr destroy /instance root\smartcardreader\0004 >NUL 2>NUL

tpmvscmgr destroy /instance root\smartcardreader\0005 >NUL 2>NUL

tpmvscmgr destroy /instance root\smartcardreader\0006 >NUL 2>NUL

tpmvscmgr destroy /instance root\smartcardreader\0007 >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