Notepad++ 8.7 Silent Install (How-To Guide)

Notepad++ is a popular text editor and source code editor for Windows. It provides a wide range of features and is known for its simplicity and versatility. Notepad++ supports various programming languages and offers syntax highlighting, code folding, and auto-completion, making it useful for developers and programmers. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Notepad++ 8.7 from the command line using the EXE installer.

How to Install Notepad++ 8.7 Silently

Notepad++ 8.7 (32-bit) Silent Install

  1. Navigate to: https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.7/npp.8.7.Installer.exe
  2. Download the npp.8.7.Installer.exe to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command: npp.8.7.Installer.exe /S
  6. Press Enter

After a few moments you should see the Notepad++ shortcut in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:Notepad++ 8.7 (32-bit)
Vendor:Notepad++ Team
Version:8.7
Architecture:x86
Installer Type: EXENSIS
Silent Install Switch:npp.8.7.Installer.exe /S
Silent Uninstall Switch: (32-bit System)"%ProgramFiles%\Notepad++\uninstall.exe" /S
Silent Uninstall Switch: (64-bit System) "%ProgramFiles(x86)%\Notepad++\uninstall.exe" /S
Download Link: Notepad++ 8.7 32-bit Download
Video Tutorial:Notepad++ Silent Install (How-To Guide) Video
PowerShell Script:Notepad++ | PowerShell Script
Detection Script:Notepad++ | Custom Detection Script

Notepad++ 8.7 (64-bit) Silent Install

  1. Navigate to: https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.7/npp.8.7.Installer.x64.exe
  2. Download the npp.8.7.Installer.x64.exe to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command: npp.8.7.Installer.x64.exe /S
  6. Press Enter

After a few moments you should see the Notepad++ shortcut in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:Notepad++ 8.7 (64-bit)
Vendor:Notepad++ Team
Version:8.7
Architecture:x64
Installer Type: EXENSIS
Silent Install Switch:npp.8.7.Installer.x64.exe /S
Silent Uninstall Switch:"%ProgramFiles%\Notepad++\uninstall.exe" /S
Download Link: Notepad++ 8.7 64-bit Download
Video Tutorial:Notepad++ Silent Install (How-To Guide) Video
PowerShell Script:Notepad++ | PowerShell Script
Detection Script:Notepad++ | Custom Detection Script

The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.


Additional Configurations

Disable Notepad++ 8.7 Auto-Update (Option 1)

  1. Install Notepad++ and open the application
  2. Navigate to the Settings tab and Select Preferences…
  3. Under the MISC. section UNCHECK “Enable Notepad++ Auto-Updater”
  4. Click Close and Exit out of the Notepad++ application
  5. Navigate to the current user profile “C:\Users\%Username%\AppData\Roaming\Notepad++”
  6. Copy the config.xml file to the C:\Downloads directory with the Notepad++ executable you downloaded earlier
  7. Rename the config.xml file to config.model.xml (This will be the template for all new installations)
  8. Uninstall Notepad++ and delete the “C:\Users\%Username%\AppData\Roaming\Notepad++” directory (If a config.xml file already exists in the users profile the settings will not change during a new install or upgrade)
  9. Follow the “How to Install Notepad++ Silently” steps mentioned earlier in the article and then copy the config.model.xml file to the “%ProgramFiles%\Notepad++\” directory
  10. Delete or Rename the “%ProgramFiles%\Notepad++\updater” directory

Now when you launch Notepad++ for the first time, a new config.xml file is created within the user profile using the config.model.xml template we create earlier. You can confirm that the Auto-Updater is now unchecked and disabled under Settings-> Preferences-> MISC.-> (UNCHECKED) Enable Notepad++ Auto-Updater


Disable Notepad++ 8.7 Auto-Update (Option 2)

npp.8.7.Installer.x64.exe /S /noUpdater

Note: The /noUpdater switch will work provided there is not an existing config.xml file in the users profile with the auto-updater setting enabled.


Change the Notepad++ Default Installation Directory

You can also change the default installation directory by using the following command line parameters. In this example, I’m installing Notepad++ to “C:\Notepad++”

npp.8.7.Installer.x64.exe /S /D="C:\Notepad++"

Close Running Notepad++ Before Installing a New Version

npp.8.7.Installer.x64.exe /S /closeRunningNpp

Automatically Open Notepad++ After Silent Install

npp.8.7.Installer.x64.exe /S /runNppAfterSilentInstall

How to Uninstall Notepad++ 8.7 Silently

Check out the following posts for a scripted solution:

Notepad++ Install and Uninstall (PowerShell)
Notepad++ Silent Uninstall (PowerShell)
  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter one of the following commands:

Notepad++ 8.7 (32-bit) Silent Uninstall on 32-bit System

"%ProgramFiles%\Notepad++\uninstall.exe" /S

Notepad++ 8.7 (32-bit) Silent Uninstall on 64-bit System

"%ProgramFiles(x86)%\Notepad++\uninstall.exe" /S

Notepad++ 8.7 (64-bit) Silent Uninstall on 64-bit System

"%ProgramFiles%\Notepad++\uninstall.exe" /S

Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.