• Login
Community
  • Login

Notepad++ installer asking for elevated priviledge

Scheduled Pinned Locked Moved General Discussion
8 Posts 2 Posters 5.5k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    Jesper Lyngholm Rasmussen
    last edited by Apr 8, 2016, 9:02 AM

    Could you please make the future notepad++ installers ask for elevated priviledge instead of just getting and error when trying to update it and copy files.

    C 1 Reply Last reply Apr 9, 2016, 12:49 AM Reply Quote 0
    • C
      Claudia Frank @Jesper Lyngholm Rasmussen
      last edited by Apr 9, 2016, 12:49 AM

      Hello @Jesper-Lyngholm-Rasmussen

      doesn’t it do it already? What did I misunderstood?

      Alt link

      Cheers
      Claudia

      1 Reply Last reply Reply Quote 0
      • J
        Jesper Lyngholm Rasmussen
        last edited by Jesper Lyngholm Rasmussen Apr 11, 2016, 12:18 PM Apr 11, 2016, 12:16 PM

        Everytime me and my colleagues upgrade notepad++ through the updater we get this error:

        Picture of the error

        We then always need to find the update file under %temp% folder, right click and choose run as administrator. Then everything runs fine.
        We dont get any UAC promt.

        C 1 Reply Last reply Apr 11, 2016, 10:17 PM Reply Quote 0
        • C
          Claudia Frank @Jesper Lyngholm Rasmussen
          last edited by Apr 11, 2016, 10:17 PM

          Hello @Jesper-Lyngholm-Rasmussen,

          could it be that you changed the uac settings? (Maybe globally by group policy?)
          How do you run npp normally? As privileged or non-privileged user?
          I assume the installation is done on desktops not in a terminal server environment, isn’t it?
          Could you post the debug info (available under ? menu)?

          Cheers
          Claudia

          1 Reply Last reply Reply Quote 0
          • J
            Jesper Lyngholm Rasmussen
            last edited by Apr 13, 2016, 8:32 AM

            Hi Claudia

            Yes I can see the UAC settings are changed via group policy.
            Check here
            The 2 marked are changed from the default settings.

            npp runs as non-priviledged user, but the user logged on is a part of local adminstrators group.

            Yes is run on desktops that is not a terminal og remoted into.

            Debug info:
            Notepad++ v6.9
            Build time : Feb 21 2016 - 21:27:55
            Path : C:\Program Files (x86)\Notepad++\notepad++.exe
            Admin mode : OFF
            Local Conf mode : OFF
            OS : Windows 8.1
            Plugins : mimeTools.dll NppConverter.dll NppExport.dll NppFTP.dll PluginManager.dll

            If we run other installations and setups we get promtet with UAC to elevate. But this is the only installation that does not do.

            1 Reply Last reply Reply Quote 0
            • J
              Jesper Lyngholm Rasmussen
              last edited by Apr 13, 2016, 11:48 AM

              I just noticed if I uninstall NPP I dont get promtet for UAC
              If I install from new from a network locations I dont get promtet for UAC
              When updating through the NPP updater I just get the error.

              1 Reply Last reply Reply Quote 0
              • C
                Claudia Frank
                last edited by Apr 13, 2016, 8:53 PM

                Hi Jesper,

                when seeing your gpo settings I would have argued that it is normal
                that you don’t get an uac prompt as it has been disabled but you are saying
                that other application installation do prompt for uac confirmation.
                Hmm … confused.

                Then I was looking what the installer does and I got even more confused,
                as the error, that you get, points to the fact the installation has already started.
                Because before SciLexer.dll gets written, there are already 9 other files written to disk.
                So I assume that, why ever, SciLexer.dll was still locked.

                Can you find out what is used as domain controller? W2k3, W2k8 … ???
                Maybe I do get a chance to setup a similar environment and do some
                further testing to find out what is going on.

                Cheers
                Claudia

                1 Reply Last reply Reply Quote 0
                • J
                  Jesper Lyngholm Rasmussen
                  last edited by Apr 14, 2016, 11:09 AM

                  Hi Claudia,

                  We are doing some migration at the moment from W2k8 to W2k12 so we have domain controllers running both OS.
                  I was also confused when I saw the GPO, that other applications do promt for UAC.
                  I hope you find something :)

                  Best regards
                  Jesper

                  1 Reply Last reply Reply Quote 0
                  1 out of 8
                  • First post
                    1/8
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors