We have a couple of security certificates that need adding to a lot of
clients and we are contemplating many ways to do this. They are to be
imported into the:

Trusted Root Certification Authorities\Local Computer

and I'm wondering is there a silent batch file that can be tun to accomplish
what i want? i.e. something that could be put into the startup of some

Thank you for your time

0 Comments   [ + ] Show Comments


Please log in to comment

Community Chosen Answer

  • thanks smal.tmcc problem with certmgr.exe i cant find it on windows 7 amd this certificate has to be install on the machine
  • i was able to create a batch file using certutil

    @echo off
    certutil -f -addstore “TrustedPublisher†C:\CRIFTEST.cer

    now if i remove the location of the cert file from the bach file zip the batch file with the cert file will i be able to run this batch through kace
  • This content is currently hidden from public view.
    Reason: Removed by user request
    For more information, visit our FAQ's.
  • use certutil.exe then, certmgr.msc is used in windows 7 or you can download the exe with the win7 sdk
  • run a kscript and upload it as a dependancy and call it like this
    certutil -f -addstore "TrustedPublisher" $(KACE_DEPENDENCY_DIR)\criftest.cer
    • this didn't work for me, followed exact. What am I doing wrong. Only thing I changed was "trustedPublisher" to "Root". Tried it locally and it worked...im lost
Please log in to comment



Answered 10/22/2012 by: SMal.tmcc
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja