Is it possible to configure Notepad++ to stop checking for new versions each time it is run?
Every time Nodepad++ is started a dialog pops with:
An update package is available, do you want to download it?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityIs it possible to configure Notepad++ to stop checking for new versions each time it is run?
Every time Nodepad++ is started a dialog pops with:
An update package is available, do you want to download it?
Simply go to:
Settings -> Preferences -> Misc -> and deselect "Enable Notepad++ auto-updater"
updateDate
as a workaround.
You may also be looking to turn off plugin update checking, in which case go to:
Plugins -> Plugin Manager -> Show Plugin Manager -> Settings (bottom left), and deselect "Notify of plugin updates at startup".
In newer versions of Notepad++ the option to disable automatic updating no longer appears in the Options dialog.
You can simply rename the C:\Program Files\Notepad++\updater directory to stop this feature. (e.g. rename it to updater_disabled)
Credit to http://wpkg.org/Notepad_plus_plus for suggesting the solution.
psexec \\lab315-%x cmd.exe /c ren "c:\Program Files (x86)\Notepad++\updater" "updater_disable"
Jan 20, 2015 at 19:12
Find and edit this file
C:\Users\\...User...\AppData\Roaming\Notepad++\config.xml
where ...User... is your username.
Find the line that reads something like this:
<GUIConfig name="noUpdate" intervalDays="15" nextUpdateDate="20141114">no</GUIConfig>
and change the 'no' to a 'yes'. In effect, you're telling Notepad++ that 'yes, you want no updates'.
Another line I've changed is this one:
<GUIConfig name="RememberLastSession">no</GUIConfig>
where I've changed the default 'yes' to a 'no'.
It infuriated me that Notepad++ opened pretty much evey file I'd ever opened, every time I started it, long after I'd lost any interest in any of those files.
I don't know why Notepad++ shows options in its preferences dialog when clearly it just ignores them.
You might also have a look at EditPadLite (free) and/or EditPadPro (not free, but not too expensive). Certainly better looking, better documented, and the 'lite' version has all I need.
While installing the application,
Notepad++ Setup - Choose components Dialog- Select the type of Install - Deselect the Auto-Updater check box.
Expanding on existing answers, here's my method for programmatically updating this:
# Note:
# - Notepad++ must be closed when you run this because when Notepad++ does its closing process, it re-writes the config.xml file with the config from memory
# - This script only updates one user profile, the current user's
$Path = "C:\Users\$($env:username)\AppData\Roaming\Notepad++\config.xml"
# Disable auto-checking for updates
(Get-Content $Path | Out-String) -Replace '(.*noUpdate.*)no</GUIConfig>', '$1yes</GUIConfig>' | Out-File $Path
# To re-enable auto-checking for updates
(Get-Content $Path | Out-String) -Replace '(.*noUpdate.*)yes</GUIConfig>', '$1no</GUIConfig>' | Out-File $Path
Open %appdata%\Notepad++ folder.
Edit config.xml with a program besides Notepad++.
Change the noUpdate settings to have a very long nextUpdateDate:
<GUIConfig name="noUpdate" intervalDays="365" nextUpdateDate="21001231">yes</GUIConfig>
Save the config.xml.
@2012rcampion made this comment above.
If you have updates pending (you can start an update without admin), but are unable to complete them (because you don't have admin), you will get an annoying message each time you open it, asking you to complete the update.
You can make this go away by deleting %appdata%\Notepad++\plugins\Config\PluginManagerGpUp.xml
. This will also delete the plugin_install_temp
folder which contains the updates, when you next run it.
Regarding the renaming of the directory C:\Program Files\Notepad++\updater to something else (updater_disabled), I can confirm that for the latest Notepad++ Version 7.6.2 (Yellow Vests edition), this would disable also the tab Plugins admin. Anyway users need admin rights to install plugins, but it is a new functionality that gets knocked-out.
I just created a simple Preferences>Windows Settings>Files that deletes the files in the updater folder.
Regarding the renaming of the directory updater, you may have to kill the process GUP.exe, since it sometimes keeps running after closing Notepad++.
I guess Plugins Admin is a replacement to Plugin Manager, hence the older answer no longer applies.
I hope smart kettles won't become the norm... it would be hell if I'd have to see an update prompt or get a mandatory update every time I decide to make tea.
INSTALL
CALL uninstall.cmd
setup.exe /S
"%WinDir%\System32\timeout.exe" /T 10
REM Install Plugins.
MKDIR "%ProgramFiles%\Notepad++\plugins\JSMinNPP"
COPY /Y /V "Plugins\JSToolNPP.1.1901.2.uni.64\JSMinNPP.dll" "%ProgramFiles%\Notepad++\plugins\JSMinNPP"\.
MKDIR "%ProgramFiles%\Notepad++\plugins\ComparePlugin"
COPY /Y /V "Plugins\ComparePlugin\"* "%ProgramFiles%\Notepad++\plugins\ComparePlugin"\.
MKDIR "%ProgramFiles%\Notepad++\plugins\NppTextFX"
COPY /Y /V "Plugins\NppTextFX\"* "%ProgramFiles%\Notepad++\plugins\NppTextFX"\.
IF EXIST "%ProgramFiles%\Notepad++\plugins\JSMinNPP.dll" (
DEL /F /S /Q "%ProgramFiles%\Notepad++\plugins\JSMinNPP.dll"
)
"%WinDir%\System32\timeout.exe" /T 30
IF EXIST "%ProgramFiles%\Notepad++\updater" (
RMDIR /S /Q "%ProgramFiles%\Notepad++\updater"
)
"%WinDir%\System32\timeout.exe" /T 60
EXIT /B
UNINSTALL
IF EXIST "%ProgramFiles%\Notepad++ (
TASKKILL /F /IM notepad++* /T
REM Delete Custom Plugins
IF EXIST "%ProgramFiles%\Notepad++\plugins" (RMDIR /S /Q "%ProgramFiles%\Notepad++\plugins")
IF EXIST "%ProgramFiles%\Notepad++\Uninstall.exe" (
"%ProgramFiles%\Notepad++\Uninstall.exe" /S
"%WinDir%\System32\timeout.exe" /T 30
)
)
EXIT /B
REPAIR
CALL uninstall.cmd
CALL install.cmd
EXIT /B
The above script sample installs the tool with custom plugins and disables the auto update nag, admins can still push plugins to a directory if and when needed. This installer is used in a SCCM controlled environment.
Mind you the above does a clean install every single time for consistency.
With newer versions just use "/S /noUpdater" as install arguments