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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:24:36+00:00 2026-06-18T10:24:36+00:00

I have a process A launched as a windows service (user = System). I

  • 0

I have a process A launched as a windows service (user = System). I also have a process B that I launch under my own account (in group Administrators).

I have observed several behaviours :

1- process A is launched as windows service (user System) first. Then process B will NOT run (user is admin) : it can be started but it closes immediately without error, even in windows events.

2- process B is launched (user is admin) first, it runs OK. Then process A is started as windows service (user System) and everything works fine.

3- process A is launched as windows service (run as admin) first. Then process B is launched (user is admin) and everything works fine.

4- process A is launchd as windows service (user System) first. Then process B is launched as windows service too (user System). Everything works fine.

It seems to me that there is a problem in the configuration of some rights but I can’t find which one. Also, process A and process B use some DLLs in common so maybe the problem can be there but again I can’t find which is the faulty dll.

I hope some of you guys can help me to figure it out ! The usecase I want to run is the number 1.

Frederic

  • 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-18T10:24:37+00:00Added an answer on June 18, 2026 at 10:24 am

    The problem is that one of the dlls uses shared memory and mutex. If a process A runs as super user, the shared memory and mutex are created with super user privileges.

    The process B launched with lower user privileges will fail to initialize or re-use shared memory and mutex because it has not enough privileges to do so.

    Solutions in my case :
    Solution 1- stop using shared memory and mutex in dlls.
    Solution 2- be able to continue in degraded mode even if the shared memory or mutex can’t be created/accessed.
    Solution 3- run both process with the same user.

    I will take solution 2 because it fits the best to my usecase.

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

Sidebar

Related Questions

I have a Windows service (under WinXP SP2), running under the LocalSystem account, that
I have a windows service that is designed to launch several console applications. The
I have a Windows executable that is launched from within a service by calling
I have Process objects that are monitored from two different views. A Windows.Forms.ListView (actually
I have written a windows service in C# that essentially listens for commands on
I have a system which includes an installer, a windows service and a configuration
How can I use Process.Start(), but have the launched process not in the same
I have a process that interfaces with a library that launches another process. Occasionally
I have a shell script that launches a Maven exec:java process - exec mvn
I want to get specific counters for processes that I have process id's for.

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.