Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4042726
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T13:02:28+00:00 2026-05-20T13:02:28+00:00

The Windows MMC Certificates snap-in lets an Administrator work with Service account, but how

  • 0

The Windows MMC Certificates snap-in lets an Administrator work with “Service account”, but how are those certificates accessed by a service?

If I import to Personal as an Administrator using “Service account”, and my service running as a standard user looks in StoreLocation.CurrentUser (or StoreLocation.LocalMachine) using System.Security.Cryptography.X509Certificates.X509Store, it does not find the certificate.

If instead I logon as the service account and import the certificate to Personal from that standard user account, then the certificate is found by the service.

Where does the snap-in put the certificate for “Service account”, and how does a service find it using the .NET classes?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T13:02:29+00:00Added an answer on May 20, 2026 at 1:02 pm

    The certificates are stored in the registry under HKLM. For example, if the service name is MYSERVICE then the Personal store certificates are here:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\Services\MYSERVICE\SystemCertificates\My\Certificates]

    This MSDN page has more details: System Store Locations

    I don’t see where the private key is held — perhaps in the blob data. To access this store from .NET I would have to P/Invoke (cf. here.)

    I don’t plan to use the “Service account” so I’m not looking further.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have developed a User Interface as an MMC snap-in but we’re having issues
I developed a snap-in for the MMC 3.0 framework using c#. The snap-in has
I know that you can control an MMC snap-in using the MMC 2.0 Automation
We are using SDL Tridion 5.3. In MMC snap in I am trying to
Windows recognizes and gives my fedora partition a drive letter, but it shows it
I have a simple windows service, that might need to be configured on-the-fly (a
I'm currently logged into my Windows Server 2008 R2 (x64) server, using Remote Desktop.
I followed the advice here: https://stackoverflow.com/questions/6721702/windows-7-64-bit-odbc-drivers-for-ms-access-missing but it does not apply. I have Oracle
I'm having an issue that I can't figure out regarding a Windows Service I
Windows Vista - using the following plugins - Codesmith and CodeKeep. I quess it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.