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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T11:33:58+00:00 2026-06-16T11:33:58+00:00

I have installed a C# Windows Service on Windows Server 2008. I installed it

  • 0

I have installed a C# Windows Service on Windows Server 2008. I installed it with InstallUtil. The service reads some data from the app.config file and it is doing it fine. Can you tell me where this file is located after installing the service?
I have been looking for hours but can’t find it.

  • 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-06-16T11:34:00+00:00Added an answer on June 16, 2026 at 11:34 am

    You can verify the exact location of the installed Windows Service by following the steps below:

    1. Bring up the list of Windows Services by clicking the “Services” icon under the “Administrative Tools” icon. You can also get this list by typing “View local services” in the Search Menu under the Start Menu.

    2. Select your Windows service in the list of installed services, right-click and then select Properties. You can also double click on row representing the service.

    3. Locate the “Path to executable” value on the Properties dialog box. The value will include any command line parameters.

    4. Open the folder in which the service executable resides.

    If the Windows service has been built with .NET Framework, its configuration will be stored in the corresponding .config file, i.e., the name of the executable suffixed by “.config”, e.g., if the name of the executable is “XyzService.exe”, then the name of the .config file will be “XyzService.exe.config”.

    A couple of things to note:

    • If you installed the service after building it on the same machine using say, Visual Studio, then Visual Studio would have transformed the App.config file from the project and placed it in the build output folder automatically (and renamed it appropriately using the above naming convention).

    • If your machine is set to hide file extensions in Windows Explorer, you will see 2 files “XyzService” and “XyzService.exe”. In this case, the “XyzService.exe” is your config file. If you then switch off the option to hide file extenions in Windows Explorer, you will then begin to see “XyzService.exe” and “XyzService.exe.config”.

    • If you cannot find a corresponding .exe.config file, then it is possible that the code within the service is falling back to default values. In this case, you can place a properly named and formatted config file alongside the service executable and then restart the service and everything should be fine.

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

Sidebar

Related Questions

I have just installed SQL Server 2008 including Reporting Services on Windows Server 2003.
I have a windows service (C#) installed on a server that launches every 10
I have a server machine with Windows 2008 Server R2 Foundation installed, that I
I have installed TFS 2010 on a new server (vmware running windows server 2008
What I have installed... Windows Vista Ultimate Service Pack 1 Visual Studio 2008 Service
I've installed VisualSVN on my Windows Server 2008. I have several IP addresses on
I have made a Windows Service that gets installed in a c:\Program Files\My Service
I am using Windows Vista 32bit . I have installed Eclipse Helios Service Release
I have a windows installer project which installs some software (winform, service, mce addin).
I have a stack of WCF services installed on a Windows 2008 R2 Standard

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.