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.
    • Jesper Lyngholm RasmussenJ
      Jesper Lyngholm Rasmussen
      last edited by

      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.

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @Jesper Lyngholm Rasmussen
        last edited by

        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
        • Jesper Lyngholm RasmussenJ
          Jesper Lyngholm Rasmussen
          last edited by Jesper Lyngholm Rasmussen

          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.

          Claudia FrankC 1 Reply Last reply Reply Quote 0
          • Claudia FrankC
            Claudia Frank @Jesper Lyngholm Rasmussen
            last edited by

            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
            • Jesper Lyngholm RasmussenJ
              Jesper Lyngholm Rasmussen
              last edited by

              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
              • Jesper Lyngholm RasmussenJ
                Jesper Lyngholm Rasmussen
                last edited by

                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
                • Claudia FrankC
                  Claudia Frank
                  last edited by

                  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
                  • Jesper Lyngholm RasmussenJ
                    Jesper Lyngholm Rasmussen
                    last edited by

                    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
                    • First post
                      Last post
                    The Community of users of the Notepad++ text editor.
                    Powered by NodeBB | Contributors