title: How to remove a certificate Store added by makecert
body: <p>Using the <code>-ss</code> option of Microsoft tool <code>MakeCert.exe</code> (-ss specifies the subject's certificate store name that stores the output certificate), I create my own store on a server. I'am able to remove my certificate programaticaly, but I'am not able to remove the store itself. According to the error message this not seems to be supported by the provider. </p>
  
  <p>I can't even use the MMC snapin (certmgr.msc) to remove it. Does anybody know how to do that ?</p>
  
  <pre><code>PS cert:\LocalMachine&gt; Remove-Item .\SigningStore
  Remove-Item : L'exécution du fournisseur s'est arrêtée, car le fournisseur ne prend pas en charge cette opération.
  Au niveau de ligne : 1 Caractère : 12
  + Remove-Item &lt;&lt;&lt;&lt;  .\SigningStore
      + CategoryInfo          : NotImplemented: (:) [Remove-Item], PSNotSupportedException
      + FullyQualifiedErrorId : NotSupported,Microsoft.PowerShell.Commands.RemoveItemCommand
  </code></pre>
  
  <p>The only way I found was to use <a href="http://msdn.microsoft.com/en-us/library/aa377162%28VS.85%29.aspx" rel="noreferrer">CertUnregisterSystemStore</a> Win32 API</p>