Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

User Certificates

Direct answer

User certificates live in each user's Current User store and are used for things like email signing, EFS, smart card logon and client authentication. Manage them with certmgr.msc.

When to use this

Use this when user certificates for email, EFS or smart cards are involved.

First 30 seconds

1. Get-ChildItem Cert:\CurrentUser\My.

2. Smart card/VPN/S/MIME uses.

3. Roaming via credential roaming if needed.

4. Expiry and renewal.

5. Private key present.

Operational verification

user certificate in user store → used for user auth/signing

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
Scope / prerequisiteUse this when user certificates for email, EFS or smart cards are involved.
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
  • Expecting user certificates to be available to services running as SYSTEM.
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
  • User certificates live in the user's profile.
  • Keys can be lost with a profile reset unless roamed or backed up.
  • Smart card certificates are on the card, not the disk.
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

How it works

User certificates live in the user's profile (Cert:\CurrentUser\My) and are used for user authentication (smart card, Windows Hello, 802.1X user auth, VPN) and email signing/encryption. They are usually auto-enrolled from AD CS via Group Policy.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Autoenrollment chain for user certificates

1. A certificate template (for example User or a copy of it) grants the user group Read, Enroll and Autoenroll.

2. The template is published on an enterprise CA.

3. Group Policy enables *User Configuration → Policies → Windows Settings → Security Settings → Public Key Policies → Certificate Services Client – Auto-Enrollment* with Configuration Model: Enabled, plus renewal and template-update options, as described in Microsoft's auto-enrollment guide.

4. At logon or Group Policy refresh the client requests the certificate.

Trigger and inspect from the user session

PS C:\> gpupdate /force
PS C:\> certutil -user -pulse                 # trigger user autoenrollment now
PS C:\> Get-ChildItem Cert:\CurrentUser\My | Select Subject, NotAfter, Thumbprint, @{n='Template';e={($_.Extensions | ? {$_.Oid.FriendlyName -match 'Template'}).Format(0)}}
PS C:\> certutil -user -store My

Use the user context: running these as an administrator in another session inspects the wrong store.

Where it fails

SymptomCheck
No certificate at allTemplate permissions for the user's group; GPO applied (gpresult /scope user /r)
Event CertificateServicesClient-AutoEnrollment 13/6 in Application logEnrollment error details (CA unreachable, template denied)
Certificate issued but app does not use itWrong EKU (Client Authentication, Secure Email) or the app reads the machine store
Smart card / Windows Hello logon failsDC certificates and KDC trust, not only the user certificate
Certificate stays after the user changes roleTemplate "supersedes" and revocation are not automatic — revoke explicitly

Private keys

certutil -user -repairstore My <serial> restores the key association when a certificate shows "You have a private key" missing. Keys protected by TPM (Microsoft Platform Crypto Provider) cannot be exported — which is the point, but plan re-enrollment instead of export when users move to new hardware.

*The user certificate enrollment commands above are illustrative examples, not captured from a lab or production system.*

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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 → User Certificates. 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?