[x64] Not loading available plugins or detecting gpup.exe on reinstall
Description of the Issue
The plugin manager, which is not installed by default, has no available plugins listed. It also cannot be reinstalled.
Steps to Reproduce the Issue
- Extract contents of x64 release to
%APPDATA%\Notepad++ - Start Notepad++ and go to Plugins > Plugin Manager > Show Plugin Manager.
- Click Installed tab, select Plugin Manager and click Reinstall.
- Observe error message: ``
Expected Behavior
- Newly installed instance connects to default repository.
- Plugin reinstalls successfully.
Actual Behavior
- Available plugins are empty.
- Trying to reinstall plugin returns the error
A file needed by the plugin manager (gpup.exe) is not present under the updater directory.
Debug Information
Notepad++ v7.3.3 (64-bit) Build time : Mar 8 2017 - 03:39:58 Path : C:\Program Files\Notepad++\notepad++.exe Admin mode : OFF Local Conf mode : OFF OS : Windows 7 (64-bit) Plugins : PluginManager.dll mimeTools.dll NppConverter.dll
@alanondra Which version of the plugin manager have you used? You need at least version https://github.com/bruderstein/nppPluginManager/releases/tag/v1.4.9.
Have you also copied gpup.exe to %APPDATA%\Notepad++\updater? Is the 64 bit version the only version of N++ you have installed or also the 32 bit one?
I've only the 64-bit version, and yes, it's the latest version of the plugin. It is installed to C:\Users\alan\AppData\Roaming\Notepad++\updater\gpup.exe
On the plus side I'm now actually seeing plugins in the repository. Unfortunately I'm not able to install any of them as it's still somehow unable to find the binary.
I tried to reinstall the plugin from the manager just to see what it's doing. Even though it's configured to load plugins from %APPDATA% it requests administrative permissions to update itself.
@alanondra The admin privileges point is known, see #35.
@alanondra That path for gpup.exe will only work if your notepad++.exe is in C:\Users\alan\AppData\Roaming\Notepad++\notepad++.exe, which it probably isn't. gpup.exe needs to be in .\updater\gpup.exe relative to notepad++.exe.
So this should be treated as an extended function of Notepad++ instead of as a standard plugin?
I had a similar problem, Extract gpup.exe (comes with installation) to C:\Program Files\Notepad++\updater and %APPDATA%\Notepad++\updater
Thanks, I solved the problem following this post
Getting this same issue. I tried what @luigi8bits recommended but still get the error. Could this be related to permissions? Our users are not normally admin level and we have to login with a separate login to gain administrator privileges.
I had a similar problem, Extract gpup.exe (comes with installation) to C:\Program Files\Notepad++\updater and %APPDATA%\Notepad++\updater
This works for me
It worked with Windows 8.1 (x64). Unfortunately on Windows 10 no longer. I tried to install the 32-bit version on a pendrive and admin install it but it doesn't work (Win 10). (Unfortunately, my new PC doesn't work with Windows 8.1 : ( I think I'm using Visual Studio Code with (built-in) Emmet coding ;)
@simonjanosbalint I don't this it is a Win10 problem, but more probably the changes of N++ to support the builtin PluginAdmin, which you might use as replacement of PluginManager. Starting with N++ 7.6.2 (https://notepad-plus-plus.org/download/v7.6.2.html) PluginAdmin is also part of the portable versions.