Добрый день!
Необходимо удалить лишние типы ключевых носителей в Крипто-ПРО 4. Был написан батник с помощью которого удаляются ветки в реестре и соответственно вместе с ними в вкладке оборудование в крипто-про эти носители больше не доступны! НО! на машинах с 32 - битной Windows все прошло хорошо, то на машинах c 64-битной windows после работы batnica, крипто-про перестет читать какие либо носители.
Подскажите может что-нибудь лишнее в batnice приписал? Вообщем помогите. Машин много порядка 250 штук и перспектива ходить удалять ручками не радует.

1.jpg
(47kb) загружен 6 раз(а). скрин с ключами котороые необходимо оставить.
Буду очень благодарен!!
Батник прилагаю.
===============================================================================================================================================
@echo off
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyCarriers\Athena_IDPROTECT" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyCarriers\Cha_CARDOS" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyCarriers\Cha_JCOP" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyCarriers\ESMARTToken" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyCarriers\GEMALTO" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyCarriers\INPASPOT" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyCarriers\INPASPOT1" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyCarriers\INPASPOT2" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyCarriers\ISBC_JavaCard" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyCarriers\Oscar" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyCarriers\Oscar2" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyCarriers\RIC" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyCarriers\Rutoken" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyCarriers\RutokenECP" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyCarriers\RutokenLite" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyCarriers\RutokenLiteSC" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyCarriers\Trust" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyCarriers\TrustS" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyCarriers\ESMARTTokenGOST" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyCarriers\MorphoKST" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyCarriers\MSKEY" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyCarriers\RutokenECPSC" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyCarriers\RutokenLiteSC2" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyCarriers\NOVACARD" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Athena_IDPROTECT_Default" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Cha_CARDOS" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Cha_JCOP" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Cha_JCOP_1" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\CP_Rutoken" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\CP_RutokenECP" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\CP_RutokenLite" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\CP_RutokenLiteSC" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\ESMARTToken_64" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Gemalto" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\INPASPOT" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\INPASPOT1" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\INPASPOT2" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\INPASPOT_SCone" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\INPASPOT_SConeV3" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\INPASPOT_SConeV4" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Oscar2" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Trust" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\TrustS" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\eTokenCard/JC1.0" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\eTokenCard/JC1.0b" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\eTokenCard/JC2.0" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\eTokenCard/JC2.0b" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\eTokenCard/JC3.0" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\eTokenCard/JC3.0b" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\eTokenCard/JC4.0" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\eTokenCard/JC4.0b" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\eTokenCard/M4.20" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\eTokenCard/M4.20b" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\eTokenOS4 (T1 16k)" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\eTokenOS4 (T1 32k)" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Jacarta_Default" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\JaCarta_LT_Default" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\MorphoKST" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\MSKEY" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\CP_RutokenECPSC" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\CP_RutokenLiteSC2" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Cryptography\Calais\SmartCards\Novacard" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Athena_IDPROTECT_Default" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Cha_CARDOS" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Cha_JCOP" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Cha_JCOP_1" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\CP_Rutoken" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\CP_RutokenECP" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\CP_RutokenLite" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\CP_RutokenLiteSC" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\ESMARTToken_64" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Gemalto" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\INPASPOT" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\INPASPOT1" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\INPASPOT2" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\INPASPOT_SCone" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\INPASPOT_SConeV3" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\INPASPOT_SConeV4" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Oscar2" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Trust" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\TrustS" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\eToken_JAVA_10_Default" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\eToken_JAVA_10b_Default" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\eToken_PRO16_Default" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\eToken_PRO32_Default" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\eToken_PRO_M420_Default" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\eToken_PRO_M420b_Default" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\eToken_R2_Default" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\eTokenCard/JC1.0" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\eTokenCard/JC1.0b" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\eTokenCard/JC2.0" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\eTokenCard/JC2.0b" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\eTokenCard/JC3.0" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\eTokenCard/JC3.0b" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\eTokenCard/JC4.0" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\eTokenCard/JC4.0b" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\eTokenCard/M4.20" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\eTokenCard/M4.20b" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\eTokenOS4 (T1 16k)" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\eTokenOS4 (T1 32k)" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Jacarta_Default" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\JaCarta_LT_Default" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\MorphoKST" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\MSKEY" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\CP_RutokenECPSC" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\CP_RutokenLiteSC2" /f
reg delete "HKLM\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\Novacard" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyDevices\FAT12" /f
reg delete "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\KeyDevices\Registry" /f
reg add "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\Parameters" /v DisableSavedPasswords /t REG_DWORD /d 1
reg add "HKLM\SOFTWARE\Wow6432Node\Crypto Pro\Cryptography\CurrentVersion\Parameters" /v DisableWL /t REG_DWORD /d 1
exit