Delete certificate from computer store

It’s hard for me to get a license to delete a certificate that was accidentally installed on all of our computers running Windows 7 in the Computer Store.

As an example, I included a screenshot of where the certificate is installed (this is not a real certificate). We have several hundred cars, so we would like to make it as automatic as possible.

If someone could provide a way to remove a certificate by Serial Number or Thumbprint, that would be great.

enter image description here

+11
source share
1 answer

You can use Cert: -PSDrive with Get-ChildItem and Remove-Item . Example:

 #Delete by thumbprint Get-ChildItem Cert:\LocalMachine\My\D20159B7772E33A6A33E436C938C6FE764367396 | Remove-Item #Delete by subject/serialnumber/issuer/whatever Get-ChildItem Cert:\LocalMachine\My | Where-Object { $_.Subject -match 'Frode F' } | Remove-Item 
+18
source

All Articles