Scripting Question

Blog Post - Uninstall and install certificate using the batch file (certutill.exe)

07/17/2015 7272 views
This will extract the msi in %temp% folder.
Silent key will work for this key , but we need do manual touch in the exe installation. so better go with Msi with Mst.
Extract the certificates from the Certificate location in IE
Certmgr.exe doesn`t work for Uninstall the certificate,  go with Certutil.exe
We have created the batch file for Install and uninstall the app.
REM Install Certificate
"%~dp0certutil.exe" -addstore "Root" "%~dp0CERT1.cer"
"%~dp0certutil.exe" -addstore "Root" "%~dp0CERT2.cer"
REM Uninstall Certificate
"%~dp0certutil.exe" -delstore "Root" "PG.cert"
"%~dp0certutil.exe" -delstore "Root" "PG.cert"

1 Comment   [ + ] Show comment


  • Errr...this is the 'Questions' forum. You should've posted this as an article/blog.

Be the first to answer this question

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ