Use this when locating or managing certificates for users, computers or services on Windows.
Certificate Stores
Windows certificate stores hold certificates by purpose — Personal, Trusted Root, Intermediate and others — separately for the user, the computer and services. Browse them with certlm.msc, certmgr.msc or Cert:\ in PowerShell.
1. Stores: My (Personal), Root, CA (Intermediate), TrustedPublisher.
2. LocalMachine vs CurrentUser.
3. certlm.msc / certmgr.msc.
4. PowerShell Cert: drive.
5. Right store for the consumer.
certificates in stores per scope
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
certutil -store MyPrimary Commands
Configuration and operational commands for this Topic.
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
- Importing a server certificate into Current User, so the service cannot find it.
- Importing without the private key (
.cerinstead of.pfx).
- PowerShell's Cert:\LocalMachine and Cert:\CurrentUser drives list stores.
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
What it is
Windows keeps certificates in stores per scope: Local Machine (computer and services), Current User, and per-service. Each scope has logical stores such as Personal (My, certificates with private keys), Trusted Root Certification Authorities, Intermediate Certification Authorities and Disallowed. Group Policy and Intune can push certificates into these stores.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Windows certificate stores are per computer, per user and per service. Logical stores include Personal (My), Trusted Root Certification Authorities (Root), Intermediate (CA), Trusted Publishers, Untrusted (Disallowed), Remote Desktop and others.
Get-ChildItem Cert:\LocalMachine\My | ft Subject,Thumbprint,NotAfter,HasPrivateKey
Get-ChildItem Cert:\CurrentUser\My
certlm.msc ; certmgr.msc
certutil -store My
The certificate PowerShell drive (Cert:) supports filtering by expiry: Get-ChildItem Cert:\LocalMachine\My -ExpiringInDays 30.
Commands
Get-ChildItem Cert:\LocalMachine
certlm.msc ; certmgr.msc
certutil -store My
Stores: My (Personal), Root, CA (Intermediate), TrustedPublisher, Disallowed.
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 → Certificate Stores. 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%