Community
    • Login

    Allow non-admin User to install Plugins with Plugin Admin

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    7 Posts 3 Posters 5.3k 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.
    • SKoettingS
      SKoetting
      last edited by

      Hi all,
      I`m trying to deploy the new Version of NPP (7.6.4). OS: Win10 x64
      Now we noticed that a User need to be admin to install Plugins, but we want that every user can install Plugins.
      Is there any way to allow all User to install Plugins in V. 7.6.4?
      I allready tried to give all User permissions to C:\Program Files\Notepad++\Plugins.

      I also figured out that when i try to install a plugin as a normal User a UAC promt elevate, but if i enter my admin-User credentials it would not install the plugin (It dont get any error message). I`m only able to install plugins when i start Notepadd++ as Admin.

      I hope anyone can help me.

      Regards,
      Simon

      Meta ChuhM 1 Reply Last reply Reply Quote 0
      • Meta ChuhM
        Meta Chuh moderator @SKoetting
        last edited by Meta Chuh

        welcome to the notepad++ community, @SKoetting

        please see this thread, install notepad++ plugin without admin rights, which might be very similar to your corporate environment.

        it also contains a silent deployment script, adapted for the requesting admin’s infrastructure.
        please adapt anything to your needs, and feel free to ask any questions, if you need help on your specific deployment scenario.

        I also figured out that when i try to install a plugin as a normal User a UAC promt elevate, but if i enter my admin-User credentials it would not install the plugin (It dont get any error message). I`m only able to install plugins when i start Notepadd++ as Admin.

        if your company requires a proxy server for the default accounts, you will have to set it at ? > set updater proxy....
        important note: you will have to run notepad++ as administrator (elevated) to be able to save this setting.
        if no proxy is required, installing notepad++ in all users mode, like at the link from above, will solve this.

        note: we also have a large library of plugin auto downloaders/deployment/migration scripts and tools, thanks to the work of many other admins and developers.
        if you can not find your specifically required script at the community forum search, or you want to know, whether any specific one could suit your needs, please also feel free to ask.

        1 Reply Last reply Reply Quote 0
        • SKoettingS
          SKoetting
          last edited by

          Hi @Meta-Chuh,
          Thanks for your reply.
          I cant find the file config.model.xml which get copyed in the deployment script.
          Is that just a empty file or how could i get this file?

          Thanks & Regards,
          Simon

          Meta ChuhM andrecool-68A 2 Replies Last reply Reply Quote 1
          • Meta ChuhM
            Meta Chuh moderator @SKoetting
            last edited by Meta Chuh

            @SKoetting

            I cant find the file config.model.xml which get copyed in the deployment script.

            the config.model.xml is an optional administrative deployment feature, to deploy custom notepad++ settings to all users and machines as a template, and can be omitted, if you don’t need it.

            it is created manually by admins, by adjusting all notepad++ settings on one machine, and then copying the config.xml to your deployment source and renaming it to config.model.xml.

            purpose: if a notepad++ client installation contains this config.model.xml template, and a user messes up his settings, you just have to delete the local config.xml on that machine, and notepad++ will create a new one, using the settings from your model file.

            best practice is to deploy config.xml, if you want to “reset” the user’s settings to your specifications, and config.model.xml if you want to have a local backup on every machine.

            1 Reply Last reply Reply Quote 0
            • andrecool-68A
              andrecool-68 @SKoetting
              last edited by andrecool-68

              @SKoetting
              This is a free program …“Everything”

              1 Reply Last reply Reply Quote 1
              • SKoettingS
                SKoetting
                last edited by

                Hi @Meta-Chuh,
                Thank you very much all i need is the following command:
                start /wait npp.7.6.4.Installer.x64.exe /S /D=C:\ProgramData\Notepad++\ && type nul > C:\ProgramData\Notepad++\doLocalConf.xml

                Now it works fine.

                Regards,
                Simon

                Meta ChuhM 1 Reply Last reply Reply Quote 1
                • Meta ChuhM
                  Meta Chuh moderator @SKoetting
                  last edited by

                  @SKoetting

                  you are welcome.
                  thank you for reporting back and happy deploying 👍

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