[GH-ISSUE #440] Client loses Administrator privileges on restart #225

Closed
opened 2026-02-27 15:49:27 +03:00 by kerem · 17 comments
Owner

Originally created by @MK73DS on GitHub (Apr 3, 2016).
Original GitHub issue: https://github.com/quasar/Quasar/issues/440

Hi :)

Is it possible to autostart the client as administrator ?
It's quiet annoying to always request administrator's rights, and wait for my little brother to accept it ^^

Thank you :)

Originally created by @MK73DS on GitHub (Apr 3, 2016). Original GitHub issue: https://github.com/quasar/Quasar/issues/440 Hi :) Is it possible to autostart the client as administrator ? It's quiet annoying to always request administrator's rights, and wait for my little brother to accept it ^^ Thank you :)
kerem 2026-02-27 15:49:27 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@DragonzMaster commented on GitHub (Apr 3, 2016):

I think you can easily edit the client manifest.

<!-- gh-comment-id:205003331 --> @DragonzMaster commented on GitHub (Apr 3, 2016): I think you can easily edit the client manifest.
Author
Owner

@MaxXor commented on GitHub (Apr 3, 2016):

There is an issue I'm already aware of. When the client is installed with administrator privileges, once the machine is restarted it loses this and only has user privileges. :/

<!-- gh-comment-id:205008473 --> @MaxXor commented on GitHub (Apr 3, 2016): There is an issue I'm already aware of. When the client is installed with administrator privileges, once the machine is restarted it loses this and only has user privileges. :/
Author
Owner

@MK73DS commented on GitHub (Apr 3, 2016):

Thank you for giving more details and I hope someone will be able to fix this :)

<!-- gh-comment-id:205009605 --> @MK73DS commented on GitHub (Apr 3, 2016): Thank you for giving more details and I hope someone will be able to fix this :)
Author
Owner

@MaxXor commented on GitHub (Apr 3, 2016):

I'm going to work on this next week, no problem.

<!-- gh-comment-id:205010284 --> @MaxXor commented on GitHub (Apr 3, 2016): I'm going to work on this next week, no problem.
Author
Owner

@MK73DS commented on GitHub (Apr 3, 2016):

Okay thank you very much :)

<!-- gh-comment-id:205032096 --> @MK73DS commented on GitHub (Apr 3, 2016): Okay thank you very much :)
Author
Owner

@LostSoulfly commented on GitHub (Apr 9, 2016):

I've done research on auto-elevating in the past and I wasn't able to find a legit solution other than digitally signing the EXE or running it as a service.

What are your ideas to make this work?

edit: Or creating a scheduled task (when run as an administrator) to elevate Quasar and leaving it for future use, as tasks can be called from lower integrity processes.

<!-- gh-comment-id:207865846 --> @LostSoulfly commented on GitHub (Apr 9, 2016): I've done research on auto-elevating in the past and I wasn't able to find a legit solution other than digitally signing the EXE or running it as a service. What are your ideas to make this work? edit: Or creating a scheduled task (when run as an administrator) to elevate Quasar and leaving it for future use, as tasks can be called from lower integrity processes.
Author
Owner

@MK73DS commented on GitHub (Apr 10, 2016):

I don't know anything about signing but why can't this be implemented ?

<!-- gh-comment-id:208041803 --> @MK73DS commented on GitHub (Apr 10, 2016): I don't know anything about signing but why can't this be implemented ?
Author
Owner

@yankejustin commented on GitHub (Apr 11, 2016):

@MK73DS Quite certain that signing it costs money.

<!-- gh-comment-id:208097898 --> @yankejustin commented on GitHub (Apr 11, 2016): @MK73DS Quite certain that signing it costs money.
Author
Owner

@darknet1990 commented on GitHub (Apr 12, 2016):

@yankejustin Hi how i can contact you ? maybe we have some deal

<!-- gh-comment-id:208893284 --> @darknet1990 commented on GitHub (Apr 12, 2016): @yankejustin Hi how i can contact you ? maybe we have some deal
Author
Owner

@yankejustin commented on GitHub (Apr 12, 2016):

@darknet1990 MaxXor would be the one to contact regarding those decisions about the project since it is his. :)

<!-- gh-comment-id:208986053 --> @yankejustin commented on GitHub (Apr 12, 2016): @darknet1990 MaxXor would be the one to contact regarding those decisions about the project since it is his. :)
Author
Owner

@yankejustin commented on GitHub (Apr 12, 2016):

@darknet1990 Thank you though.

<!-- gh-comment-id:208986115 --> @yankejustin commented on GitHub (Apr 12, 2016): @darknet1990 Thank you though.
Author
Owner

@Rottweiler commented on GitHub (Apr 28, 2016):

Are tasks available in XP and below? Try experimenting with tasks, I think there are some solutions to this problem here http://stackoverflow.com/questions/5427673/how-to-run-a-program-automatically-as-admin-on-windows-startup

<!-- gh-comment-id:215405808 --> @Rottweiler commented on GitHub (Apr 28, 2016): Are tasks available in XP and below? Try experimenting with tasks, I think there are some solutions to this problem here http://stackoverflow.com/questions/5427673/how-to-run-a-program-automatically-as-admin-on-windows-startup
Author
Owner

@Pandry commented on GitHub (May 24, 2016):

Maybe this would work:
http://www.sevenforums.com/tutorials/11949-elevated-program-shortcut-without-uac-prompt-create.html
:D

<!-- gh-comment-id:221325946 --> @Pandry commented on GitHub (May 24, 2016): Maybe this would work: http://www.sevenforums.com/tutorials/11949-elevated-program-shortcut-without-uac-prompt-create.html :D
Author
Owner

@dmgamingstudios commented on GitHub (Jul 1, 2016):

What did work for me was adding it to windows services in the registry, not to the default, do note that at the time I tested it windows actually thought it was a critical service, so when the program was exited or crashed, the whole system crashes with a nice bsod: critical process died

I think this is where you need to add it: LocalMachine\Software\Microsoft\Windows\CurrentVersion\Policies\System

This was tested on windows 10

<!-- gh-comment-id:230036298 --> @dmgamingstudios commented on GitHub (Jul 1, 2016): What did work for me was adding it to windows services in the registry, not to the default, do note that at the time I tested it windows actually thought it was a critical service, so when the program was exited or crashed, the whole system crashes with a nice bsod: critical process died I think this is where you need to add it: LocalMachine\Software\Microsoft\Windows\CurrentVersion\Policies\System This was tested on windows 10
Author
Owner

@ghost commented on GitHub (Aug 10, 2016):

how you fix it ,ı look the code but ı cant see can you explain maxxor ?

<!-- gh-comment-id:238998010 --> @ghost commented on GitHub (Aug 10, 2016): how you fix it ,ı look the code but ı cant see can you explain maxxor ?
Author
Owner

@MaxXor commented on GitHub (Aug 11, 2016):

When executed with administrator privileges, Quasar now creates a scheduled task (which is executed on user logon) to acquire administrator privileges after reboot/logout. At the moment Quasar is being installed as "per-user", this means when the user with installed Quasar is not logged in, the remote control functionality is not accessible. I'll soon start adding support for installing Quasar as a windows service, so remote control is always available when the machine is booted.

<!-- gh-comment-id:239160418 --> @MaxXor commented on GitHub (Aug 11, 2016): When executed with administrator privileges, Quasar now creates a scheduled task (which is executed on user logon) to acquire administrator privileges after reboot/logout. At the moment Quasar is being installed as "per-user", this means when the user with installed Quasar is not logged in, the remote control functionality is not accessible. I'll soon start adding support for installing Quasar as a windows service, so remote control is always available when the machine is booted.
Author
Owner

@ghost commented on GitHub (Aug 12, 2016):

thank you for answer

<!-- gh-comment-id:239555662 --> @ghost commented on GitHub (Aug 12, 2016): thank you for answer
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Quasar#225
No description provided.