Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am a Java developer and what this for my application. This is more of a windows issue than of Java.

It has been one week x 8 hours a day or more since I am only at this issue, listening to other people's advice, searching, reading articles, similar posts and experimenting.

Couldn't find a proper solution. But I am still sure there is a trick work around that I failed to grasp.

  1. I want to run a GUI app when any user logs in.
  2. I want to run that app as administrator or system service(Admin password is available) (but separate instance for each user so it can interact with each user separately?)
  3. I do not want the user to be able to delete the app file or close / stop that app while its running. Only admins can terminate the app.

Task scheduler or services dont let the app run as admin/system on normal desktops of each normal users as "interactive" application to desktop. Services are normally none interactive non guis unlless made interactive.

Please only reply if you know precisely the exact "working solution" in the exact way stated. take the example of notepade.exe

side notes:

I heard VirtualBox is open source and has an admin level service with multiple user level GUI instances. So I guess it is attainable

very thankful for responders and upvoters. downvoters (if any). state reason to downvote so I can improve

share|improve this question
This is actually a question – medigeek Oct 11 '13 at 13:09
@medigeek actually the stack users said something similar. see the first comment… – Masood Ahmad Oct 11 '13 at 14:28

Here's an idea from the Linux world:

In Linux, the general idea is to use 2 programs:

  • one "master service" (as administrator, in the background). Note: A service in linux is called a daemon
  • one or more "client service" that are run on user level

The "master service" will have administrative privileges and will accept and process and respond to commands sent from "client service".

The "client service" will send commands according to a friendly GUI.

The two interact using "DBus", a messaging system. Windows Sockets is the equivalent I think in Windows:

share|improve this answer
need for windows – Masood Ahmad Oct 11 '13 at 13:01
How about this and this and.. this (see about apache commons for the last one). – medigeek Oct 11 '13 at 13:12
all that is non-interactive service – Masood Ahmad Oct 11 '13 at 14:27
What do you mean by non-interactive? :) The first example shows a server program listening to a socket port and printing a text string that was sent from a client service. Receive and respond -- that is interactivity, isn't it? – medigeek Oct 11 '13 at 19:08
By "interactive" he means the setting on services to "interact with the desktop", i.e. can display & take input from a user, as detailed here:… & shown at – Debra Oct 12 '13 at 21:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.