Windows installer launches GUI as Admin #7990

issue Michagogo openend this issue on May 2, 2016
  1. Michagogo commented at 5:40 pm on May 2, 2016: contributor

    When installing the GUI with the Windows installer, there’s a checkbox at the end of the process that launches the software. However, when the installer launches a process, it runs at the same Integrity Level (privilege) as the installer. As the installer is, well, installing software, it needs to run at the High (elevated/admin) privilege/Integrity Level, and hence the node/GUI will be launched at that same level. I’ve confirmed this using Sysinternals Process Explorer – launching Bitcoin Core from the Start menu results in an Integrity Level of Medium, as expected, while closing the installer without deselecting the checkbox results in the process being started at the High level.

    A quick search does turn up ways to work around the issue (such as this plugin in combination with this trick), but I wonder if we really need that checkbox there at all. I know nothing about NSIS and how easy that is (what a plugin is, what would be involved in using it, or what other ways there are to do the same thing, etc.), but it seems to me that if it’s not trivial to fix this we may as well just drop the box altogether.

  2. MarcoFalke added the label Windows on May 2, 2016
  3. PRabahy commented at 9:04 pm on May 2, 2016: contributor
    Related to #5798
  4. Michagogo commented at 10:53 pm on May 2, 2016: contributor

    Yeah, though what I saw didn’t quite match what appears there. I’m pretty sure it asked me to elevate right at the beginning. However, when launching with elevated privileges at the end, it did still seem to be launching as me. Didn’t ask for a different datadir.

    On Tuesday, May 3, 2016, Paul Rabahy notifications@github.com wrote:

    Related to #5798 #5798

    — You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub #7990 (comment)

  5. laanwj closed this on Apr 18, 2018

  6. laanwj referenced this in commit 7d8a8cc25f on Apr 18, 2018
  7. laanwj referenced this in commit 615f7c2884 on Apr 18, 2018
  8. fanquake referenced this in commit 46a4d4a0d4 on Apr 18, 2018
  9. fanquake referenced this in commit c366c12a8e on Apr 18, 2018
  10. ken2812221 referenced this in commit 2d93db7a55 on Apr 18, 2018
  11. fanquake referenced this in commit 0684cf9b58 on Apr 26, 2018
  12. stamhe referenced this in commit a5d76259e2 on Jun 27, 2018
  13. HashUnlimited referenced this in commit 1fe255a53e on Jun 29, 2018
  14. HashUnlimited referenced this in commit a49cccf706 on Sep 6, 2018
  15. lionello referenced this in commit 713521283e on Nov 7, 2018
  16. joemphilips referenced this in commit 2292aac00f on Nov 9, 2018
  17. PastaPastaPasta referenced this in commit fa652559f0 on Apr 3, 2020
  18. ckti referenced this in commit 4f5d896c9e on Mar 28, 2021
  19. DrahtBot locked this on Sep 8, 2021
  20. lyricidal referenced this in commit bb86362aa2 on Apr 23, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-24 12:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me