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 5988397
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T22:57:10+00:00 2026-05-22T22:57:10+00:00

I develop a Windows Service that will run under SYSTEM user. So I want

  • 0

I develop a Windows Service that will run under SYSTEM user. So I want to make a installer to configure this service. The installer will create entries in the windows registry.

When the Windows Service starts it will to read these entries, generated by the installer.

This entries will point to a Config File, and where to store the log files of the service.
Which key Do I need to write/read to make this work? I am worried about permissions.

Is it in the CURRENT_USER key?

I develop the Windows Service in Delphi.

Thanks,

  • 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-22T22:57:11+00:00Added an answer on May 22, 2026 at 10:57 pm

    Remy’s comment is correct.

    The SYSTEM account does not have their own HKEY_CURRENT_USER registry hive.

    You should be storing configuration information in HKEY_LOCAL_MACHINE, or in your own custom xml configuration file in your AppData directory.

    Side note: i believe that attempts to use HKEY_CURRENT_USER when no profile hive is loaded will get you HKEY_USERS/.DEFAULT; which isn’t something you want to be using.

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

Sidebar

Related Questions

A new client has recently asked me to develop a Windows service that will
I want to develop a windows service which will be accepting a datatable from
The self-extracting executable that I'm attempting to develop is an installer. An end-user will
i want to develop a program that will process images and show all esxisting
i have to develop windows service which will copy files to different servers. So
I am about to develop a Windows service in C#. This service needs to
I want to develop a Windows service and choose ATL service as I want
I want to develop a snmp trap sender program.Previously i developed a windows service
I want to implement a Web Service that will allow users to store arbitrary
I want to develop a windows application. If I use native C++ and MFC

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.