How to completely delete a certificate from a user of Windows 10.

knt1N 286 Reputation points
2022-03-30T04:56:22.14+00:00

I want to remove a certificate that I once installed from my user account.
Usually I know that it can be done from the Microsoft management console.
(Execute "mmc" command from the command prompt)

However, it was confirmed that even if the deletion was performed by the operation of this GUI, some entities remained.
The path I referred to is as follows.

(1) Certificate
%APPDATA%\Microsoft\SystemCertificates\My\Certificates\

(2) Subject Key
%APPDATA%\Microsoft\SystemCertificates\My\Keys\

When I checked, the file of "(1) Certificate" disappears properly in the delete operation described above, but the file remains without "(2) Subject Key" disappearing.

As for this "(2) Subject Key", is it a file that does not adversely affect the system when I delete it directly from the explorer?
Or is there any other standard way to remove this?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,559 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,899 questions
Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,747 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Limitless Technology 39,336 Reputation points
    2022-04-05T11:02:57.613+00:00

    Hi @knt1N

    The standard way to delete the certificate would be to check the installed certificates using the command certmgr.msc and delete it from the list.

    Press Windows Key + R Key together, type certmgr.msc, and hit enter. You will get a new window with the list of Certificates installed on your computer. Locate the certificate you want to delete and then click on the Action button then, click on Delete.

    You can also find the actual registry entries under:

    \SOFTWARE\Microsoft\SystemCertificates\

    In HKEY_CURRENT_USERfor user-specific certificates and KEY_LOCAL_MACHINEfor machine-specific certificates,

    Hope this resolves your Query!!

    --
    --If the reply is helpful, please Upvote and Accept it as an answer–


  2. patti cooke 0 Reputation points
    2023-02-14T16:57:40.7766667+00:00

    I cannot delete certificate. It keeps coming in as a invalid certificate. I need to delete i

    0 comments No comments

  3. susan hollingworth 0 Reputation points
    2023-04-01T21:56:31.0033333+00:00

    remove a vpn

    0 comments No comments

  4. Rotem Pupkin 0 Reputation points
    2023-06-25T13:12:57.2366667+00:00

    Run the certmgr.msc
    on personal-->certificate-->remove the certificate you want to delete

    0 comments No comments