Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In Windows XP I can do the following actions via UI:

launch certmgr.msc from then select a certificate under Personal->Certificates, click on properties and select "Disable (or enable) for all purposes."

The question is - how to do the same from the command line? Probably via registry, but without having to click through those interfaces.

share|improve this question

1 Answer 1

One can use the Certificate Manager Tool (Certmgr.exe) with the /delete parameter.

CertMgr is available as part of the Windows SDK, which you can download from http://go.microsoft.com/fwlink/p/?linkid=84091. Must be run as administrator.

An example of use :

certmgr -del -c -n "My Certificate Name" -s -r localMachine TrustedPublisher
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.