Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Personal Store

Direct answer

The Personal store holds certificates that have a private key for the user or computer, such as client authentication, server TLS or code signing certificates.

When to use this

Use this when finding a user or computer certificate with private key.

First 30 seconds

1. Personal (My) store holds certs with private keys.

2. HasPrivateKey true?

3. Key export policy.

4. Import PFX: Import-PfxCertificate.

5. Bind to service.

Operational verification

certificate + private key in My store

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Windows security
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows security
Key commandGet-ChildItem Cert:\CurrentUser\My
Scope / prerequisiteUse this when finding a user or computer certificate with private key.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
  • Certificates imported without the private key.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Certificates in Personal normally have a private key.
  • A non-exportable key cannot be moved to another machine.
Key checks
  • Get-ChildItem Cert:\LocalMachine\My — machine personal certificates
  • Get-ChildItem Cert:\CurrentUser\My — user personal certificates
  • certutil -verify -urlfetch <file.cer> — chain and revocation check
  • Test-Certificate -Cert <cert> -Policy SSL -DNSName <name> — validate for a name
ReferenceWhy it matters1 section · depth on demand

Personal store

Get-ChildItem Cert:\CurrentUser\My
Get-ChildItem Cert:\LocalMachine\My | Select Subject,NotAfter,HasPrivateKey,Thumbprint
certlm.msc    # computer store GUI
certmgr.msc   # user store GUI

A certificate without HasPrivateKey cannot be used for TLS or client authentication. Export with private key only when necessary (Export-PfxCertificate with a strong password). Monitor NotAfter to avoid expiry outages.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

The Personal store holds certificates with private keys for the computer, user or service.

$pwd = Read-Host -AsSecureString
Export-PfxCertificate -Cert Cert:\LocalMachine\My\<thumb> -FilePath C:\Secure\srv01.pfx -Password $pwd
Import-PfxCertificate -FilePath C:\Secure\srv01.pfx -CertStoreLocation Cert:\LocalMachine\My -Password $pwd
certutil -repairstore My <serial>          # relink private key

Mark keys non-exportable unless needed, protect PFX files like passwords, and track expiry centrally — expired certificates are a top cause of avoidable outages.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Commands

Get-ChildItem Cert:\CurrentUser\My
Get-ChildItem Cert:\LocalMachine\My | Select Subject,NotAfter,Thumbprint,HasPrivateKey
certutil -user -store My
Export-PfxCertificate -Cert Cert:\LocalMachine\My\<thumbprint> -FilePath c.pfx -Password (Read-Host -AsSecureString)

Documented example, not captured output. Services use LocalMachine\My; user certificates (S/MIME, client auth) use CurrentUser\My.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows security current

Authoritative/upstream documentation reviewed for bounded claims in Certificates → Personal Store. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows-server/identity/ad-cs/ · confidence 94%
Confirmation

Confirm action

Continue?