Use this when user certificates for email, EFS or smart cards are involved.
User Certificates
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.
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.
user certificate in user store → used for user auth/signing
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
- 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.
Get-ChildItem Cert:\LocalMachine\My— machine personal certificatesGet-ChildItem Cert:\CurrentUser\My— user personal certificatescertutil -verify -urlfetch <file.cer>— chain and revocation checkTest-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
| Symptom | Check |
|---|---|
| No certificate at all | Template permissions for the user's group; GPO applied (gpresult /scope user /r) |
| Event CertificateServicesClient-AutoEnrollment 13/6 in Application log | Enrollment error details (CA unreachable, template denied) |
| Certificate issued but app does not use it | Wrong EKU (Client Authentication, Secure Email) or the app reads the machine store |
| Smart card / Windows Hello logon fails | DC certificates and KDC trust, not only the user certificate |
| Certificate stays after the user changes role | Template "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.*
Use
User certificates (Cert:\CurrentUser\My) are used for S/MIME, smart-card/Windows Hello logon, VPN and 802.1X user authentication. They roam only if credential roaming is configured.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%