Re: Silent installation of Root Certificates?

From: Torgeir Bakken (
Date: 09/25/02

From: Torgeir Bakken <>
Date: Wed, 25 Sep 2002 03:49:25 +0200

Jim Reed wrote:

> It there a mechaniasm for performing a silent
> installation of a .cer file into IE 5.0 browsers? The
> default user expereince for installing a root certificate
> is pretty elaborate for novices.
> Is there an C++ API that will perform the install? That
> way we could use activeX to make it easier for end users.
> Are there any other tools to make this experience easier
> for novice end users?


You can use vbscript and CAPICOM

Introducing CAPICOM

At Mitch Gallants site you will find examples

of CAPICOM used by VBScript.

Alternatively, you can use the command line utility certmgr.exe, a
cryptoAPI/Authenticode tool from MS (and also Certutil.exe I suppose).

To add a certificate to the "Trusted Root Certification Authorities" in

certmgr.exe -add -c "<cert-file>" -s -r localMachine root

More information can be found here:

******* Certmgr.exe *******
Download certmgr.exe from:
Authenticode for Internet Explorer 5.0

Certificate Manager Tool (Certmgr.exe)

Using CertMgr

******* Certutil.exe *******
Using Certutil.exe to Manage and Troubleshoot Certificate Services

Using the Certificate Services Command-Line Programs


Relevant Pages

  • Signing drivers with signtool for XP 64-bit -- suppressing the war
    ... Ineed to suppress the unsigned driver installation dialog for an automation ... article "Driver signing policy is automatically elevated for unsigned ... I need to sign our drivers for unattended installation via ... Signing Certificate Chain: ...
  • Re: DIFx Framework - HOWTO
    ... The certificate was not installed on the machine, that's s why I did exactly ... The test certificate is obtained through the commands: ... I've successfully created the unsinged cat file using: ... >> installation through DIFx framework but have some troubles with it. ...
  • Re: client installation error
    ... The certificate is TRUST_E_TIME_STAMP however I do not think that will help. ... This posting is provided "AS IS" with no warranties, ... the installation stop at this error "Error 0x80096005: ... >> Jeff Harbaugh [MSFT] ...
  • Re: recovering files encrypted using EFS
    ... > same name and password as the old WinXP installation, ... > intact backup of the old harddisk on COMP2, ... > didn't export the EFS certificate, ... I could of course restore ...
  • Re: Dear "Well Known National Alarm Company":
    ... I believe it 's only until recent years that a dedicated circuit is required for the communicator. ... certificate was issued in 2006 and should be valid until 2011. ... The first "inspection" was signed off one month after installation. ... ULC requires that you monitor the supervisory output. ...