Community
    • 登入

    Notepad++ installer asking for elevated priviledge

    已排程 已置頂 已鎖定 已移動 General Discussion
    8 貼文 2 Posters 5.9k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Jesper Lyngholm RasmussenJ
      Jesper Lyngholm Rasmussen
      最後由 編輯

      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 條回覆 最後回覆 回覆 引用 0
      • Claudia FrankC
        Claudia Frank @Jesper Lyngholm Rasmussen
        最後由 編輯

        Hello @Jesper-Lyngholm-Rasmussen

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

        Alt link

        Cheers
        Claudia

        1 條回覆 最後回覆 回覆 引用 0
        • Jesper Lyngholm RasmussenJ
          Jesper Lyngholm Rasmussen
          最後由 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 條回覆 最後回覆 回覆 引用 0
          • Claudia FrankC
            Claudia Frank @Jesper Lyngholm Rasmussen
            最後由 編輯

            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 條回覆 最後回覆 回覆 引用 0
            • Jesper Lyngholm RasmussenJ
              Jesper Lyngholm Rasmussen
              最後由 編輯

              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 條回覆 最後回覆 回覆 引用 0
              • Jesper Lyngholm RasmussenJ
                Jesper Lyngholm Rasmussen
                最後由 編輯

                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 條回覆 最後回覆 回覆 引用 0
                • Claudia FrankC
                  Claudia Frank
                  最後由 編輯

                  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 條回覆 最後回覆 回覆 引用 0
                  • Jesper Lyngholm RasmussenJ
                    Jesper Lyngholm Rasmussen
                    最後由 編輯

                    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 條回覆 最後回覆 回覆 引用 0
                    • 第一個貼文
                      最後的貼文
                    The Community of users of the Notepad++ text editor.
                    Powered by NodeBB | Contributors