Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service mode for Assistant #13

Open
ramiresviana opened this issue Jun 11, 2021 · 1 comment
Open

Service mode for Assistant #13

ramiresviana opened this issue Jun 11, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ramiresviana
Copy link

The Assistant is very useful for remote support, end users do not require elevated privileges to run the application, but there'll be some cases that running an program with admin rights or switching between users will trigger UAC, blocking the interaction with the remote screen. That means that Assistant require some privileges to bypass the UAC, but the problem still happens when running it with admin rights. This problem can be circumvented by having MeshAgent installed and running as service, this means having the agent available all the time, even not being needed, that is the pros of using Assistant for remote support.

My request is the addition of an service mode for the Assistant, allowing it to bypass the UAC, and uninstalling the service automatically after closing the application. Since installing a service requires elevated privileges, the Assistant must run as service only when requested.

The process of accessing an remote machine and running Assistant on service mode would be like:

  1. End user, without elevated privileges, downloads the Assistant and runs it on user mode.
  2. The operator connects to the user machine and requests the Assistant to run on service mode.
  3. The Assistant requests admin credentials and uses runas to run it on service mode.
  4. The operator can now run programs without UAC blocking the desktop.
  5. The operator ends the session by closing the Assistant and the service is uninstalled from the machine.

This could also fix Ylianst/MeshCentral#1885

@Ylianst Ylianst self-assigned this Jun 12, 2021
@Ylianst Ylianst added the enhancement New feature or request label Jun 12, 2021
@Ylianst
Copy link
Owner

Ylianst commented Jun 12, 2021

Agreed that being able to capture UAC prompt would be great. Getting Assistant to run as a service is a big change, but I may be able to capture the UAC prompt when Assistant is run as administrator and that will be the next step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants