RevokeManual.bat
@echo off
:start
echo.[1]CodeSigning [2]Organization [3]Other&echo.
set /p type=输入证书类型:
if %type% == 1 (set type=CodeSigning) else (if %type% == 2 (set type=Organization) else (if %type% == 3 (set type=..\..\Shared\Certificates) else (goto :start)))
set /p cc=输入证书序列号:
.\Tools\SoftCertPolicyAppender\Binary\SoftCertPolicyAppender.exe --set-force --interval 1000 .\Certificates\%type%\%cc%.crt
goto :start
RestoreManual.bat
@echo off
:start
echo.[1]CodeSigning [2]Organization [3]Other&echo.
set /p type=输入证书类型:
if %type% == 1 (set type=CodeSigning) else (if %type% == 2 (set type=Organization) else (if %type% == 3 (set type=..\..\Shared\Certificates) else (goto :start)))
set /p cc=输入证书序列号:
.\Tools\SoftCertPolicyAppender\Binary\SoftCertPolicyAppender.exe --remove --unset-force --interval 1000 .\Certificates\%type%\%cc%.crt
goto :start