Allow non-admin User to install Plugins with Plugin Admin



  • 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



  • 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.



  • 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



  • @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.



  • @SKoetting
    This is a free program …“Everything”



  • 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



  • @SKoetting

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


Log in to reply