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

  • Home
  • SEARCH
  • 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 7093335
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T08:25:36+00:00 2026-05-28T08:25:36+00:00

I have developed a .NET Windows Service (in VS2010) that needs to: Access shared

  • 0

I have developed a .NET Windows Service (in VS2010) that needs to:

  • Access shared folders (read/write) on machines on the local network
  • Write to HKLM/SOFTWARE part of the registry
  • Write files and create folders in all parts of the local file system (ex. in root of C:)
  • Download files from the web (using http)

My service must do well with all Windows (PC) operating systems, starting from Windows XP SP3 and onwards.

Problem: Which service account should I choose for my service?

Normally, I would use either “LocalService” or “NetworkService”, but none of those grants all needed privileges by themselves.

Should I use the “LocalSystem” account then? Or, should I create a complete separate account for my service’s use only (this should then be done automatically during installation)?

For now I use the “NetworkService” account and just adds it to the adimistrators group during installation, which works fine. But I think this approach ruins the whole idea about limited service accounts and thus poses a security risk – don’t you agree?

  • 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-28T08:25:36+00:00Added an answer on May 28, 2026 at 8:25 am

    You should not use LOCALSYSTEM. This has far too much power and all best practice tells you not to use it.

    In my view you should be creating a local user with appropriate rights as part of your installation. This is a fairly common practice for server/database products.

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

Sidebar

Related Questions

I have a very simple windows Service that is developed in vb.net 2008. When
I have developed an ASP.NET application that includes a WCF service. This service needs
I have a .net Windows Service developed in VB.net. I have a settings file
I have a simple windows Service developed in VS.net 2008 and VB.net. When I
I have developed a VB.NET WCF service that recives and sends back data. When
I need to develop a windows application with .NET 3.5 that needs to have
I have a Windows Service developed in C# and .NET 3.5 to perform various
I have a service that was developed in the .NET 2.0 framework. It is
We have taken over some .NET 1.1 Windows Service code that spawns threads to
We have built a .NET Windows Service that we install on client PCs to

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.