Notepad++ v7.2.1 crashes due to Plugin updater (gpup.exe)



  • I had the latest plugin manager installed and was getting these errors.

    I found that I had to select the installed plugins tab, check the plugin manager, and choose the re-install option. That solved the gpup failures.



  • gpup is part of the pluginmanager. Manually installing https://github.com/bruderstein/nppPluginManager/releases/tag/v1.4.3 to avoid the automatic update might help. @donho please consider to package this version with your next release @bruderstein Do you agree Dave?



  • The only solution that worked for me was deleting “C:\Users\Zaggi\AppData\Roaming\Notepad++”.

    (Except that on my computer I obviously replaced the word Zaggi with my own user name).



  • I am also facing the same Problem. the only way to fix this is go to Plug in manager-> updates tab->uncheck the list in the box->click update button
    Thats all its Working :>)



  • Okay. Individually, the above suggestions did not help in my case. My Notepad++ was stuck in an infinite loop of “There are still some pending actions to complete installing or removing some plugins” > “Plugin Update: Deleting…” > Gpup.exe crash

    But a combination solved it!

    FYI my environment is Windows x64 and I have the Npp++ x32 installed because the x64 version does not support many plugins yet.

    So the clean way to resolve this for me was:

    1. make sure Notepad++ is not running:

    • Exit Notepad++ if you have it open.
    • To be sure, use the Windows Task Manager (ctrl-shift-ESC) to control that there is no process called npp.exe. If there is one, terminate the process.

    2. Install the latest Plugin Manager from GitHub:

    • Go to your Notepad++ program folder (in my case C:\Program Files (x86)\Notepad++)
    • In the “updater” subfolder, delete gpup.exe.
    • In the “plugins” subfolder, delete “PluginManager.dll”
    • Download the latest version from GitHub: https://github.com/bruderstein/nppPluginManager/releases
    • unzip it, move the gpup.exe into the “updater” subfolder of your Notepad++ program folder and the dll into the “plugins” subfolder.

    3. Delete PluginManager’s update task list:
    (because it’s probably not compatible with the latest Plugin Manager you just installed)

    • Delete the following file:
      %APPDATA%\Notepad++\plugins\Config\PluginManagerGpup.xml

    Deleting this file will also result in the cleanup of the “plugin_install_temp” directory upon the next startup of the application.

    FYI, in my case %APPDATA% is C:\Users\myusername\AppData\Roaming\

    That’s it!



  • I read the solution here, I just reinstalled the plugin manager, I accepted the gpub.exe, and it worked. All the plugins that had selected were installed.



  • See https://github.com/bruderstein/nppPluginManager/issues/45, consider to be fixed with PM version v1.4.9.



  • @Danny-Schwendener said:

    Okay. Individually, the above suggestions did not help in my case. My Notepad++ was stuck in an infinite loop of “There are still some pending actions to complete installing or removing some plugins” > “Plugin Update: Deleting…” > Gpup.exe crash

    But a combination solved it!

    FYI my environment is Windows x64 and I have the Npp++ x32 installed because the x64 version does not support many plugins yet.

    So the clean way to resolve this for me was:

    1. make sure Notepad++ is not running:

    • Exit Notepad++ if you have it open.
    • To be sure, use the Windows Task Manager (ctrl-shift-ESC) to control that there is no process called npp.exe. If there is one, terminate the process.

    2. Install the latest Plugin Manager from GitHub:

    • Go to your Notepad++ program folder (in my case C:\Program Files (x86)\Notepad++)
    • In the “updater” subfolder, delete gpup.exe.
    • In the “plugins” subfolder, delete “PluginManager.dll”
    • Download the latest version from GitHub: https://github.com/bruderstein/nppPluginManager/releases
    • unzip it, move the gpup.exe into the “updater” subfolder of your Notepad++ program folder and the dll into the “plugins” subfolder.

    3. Delete PluginManager’s update task list:
    (because it’s probably not compatible with the latest Plugin Manager you just installed)

    • Delete the following file:
      %APPDATA%\Notepad++\plugins\Config\PluginManagerGpup.xml

    Deleting this file will also result in the cleanup of the “plugin_install_temp” directory upon the next startup of the application.

    FYI, in my case %APPDATA% is C:\Users\myusername\AppData\Roaming\

    That’s it!

    This is the only thing that got it to work for me. Thank you!



  • @Danny-Schwendener said:

    Okay. Individually, the above suggestions did not help in my case. My Notepad++ was stuck in an infinite loop of “There are still some pending actions to complete installing or removing some plugins” > “Plugin Update: Deleting…” > Gpup.exe crash

    But a combination solved it!

    You Sir, saved my day! Thank you for taking the time to put this together. I too was stuck in a loop. This was the only solution that worked.

    Thanks!



  • why you all not try to reinstall-it? mine is working now



  • @Danny-Schwendener I’d add that in your case, (and mine) you download the UNI and not the x64 version.

    @Danny-Schwendener said:

    Thank you so much for this helpful ‘how to’



  • Hi All I have the same problem and I solve it
    when you download the latest pluginmanager you will get two folders

    1. plugins
    2. updater

    same folders exist in Notepad++ folder in programfiles copy pluginmanger from plugins
    folder to plugins folder in notepad++ and copy gpup.exe from updater to updater folder in notepad++ folder

    thats it

    Mohammed Bassam