拷贝文件.bat
@echo 开始注册
echo n|copy /-y scarddlg.dll %windir%\system32\
echo n|copy /-y winscard.dll %windir%\system32\
echo n|copy /-y scardsvr.exe %windir%\system32\
echo n|copy /-y smclib.sys %windir%\system32\\drivers\
regsvr32 /s %windir%\system32\scarddlg.dll
regsvr32 /s %windir%\system32\winscard.dll
@echo 注册成功
@pause
开启工行支持.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{50DD5230-BA8A-11D1-BF5D-0000F805F530}]
"Class"="SmartCardReader"
@="Smart Card"
"Icon"="-25"
"NoInstallClass"="1"
"Installer32"="winscard.dll,ClassInstall32"
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SCardSvr]
"Type"=dword:00000020
"Start"=dword:00000002
"ErrorControl"=dword:00000000
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,53,\
00,43,00,61,00,72,00,64,00,53,00,76,00,72,00,2e,00,65,00,78,00,65,00,00,00
"Description"="管理此计算机对智能卡的取读访问。如果此服务被终止,此计算机将无法取读智能卡。如果此服务被禁用,任何依赖它的服务将无法启动。"
"DisplayName"="Smart Card"
"DependOnService"=hex(7):50,00,6c,00,75,00,67,00,50,00,6c,00,61,00,79,00,00,00,\
00,00
"ObjectName"="NT AUTHORITY\\LocalService"
"Group"="SmartCardGroup"