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

Notepad++ is a popular text editor and source code editor that supports tabbed editing. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Notepad++ 7 from the command line using an EXE installer.

How to Install Notepad++ Silently

Notepad++ 7 (32-bit) Silent Install

  1. Navigate to https://notepad-plus-plus.org/downloads/v7.0/
  2. Click the Download button
  3. Download the file to a folder created at (C:\Downloads)
  4. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  5. Navigate to the C:\Downloads folder
  6. Enter the following command: npp.7.Installer.exe /S
  7. 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++ 7 (32-bit)
Vendor:Notepad++ Team
Version:7
Architecture:x86
Installer Type: EXENSIS
Silent Install Switch:npp.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: https://notepad-plus-plus.org/downloads/v7.0/
Video Tutorial:Notepad++ Silent Install (How-To Guide) Video
PowerShell Script:Notepad++ | PowerShell Script
Detection Script:Notepad++ | Custom Detection Script

Notepad++ 7 (64-bit) Silent Install

  1. Navigate to https://notepad-plus-plus.org/downloads/v7.0/
  2. Click the Download button
  3. Download the file to a folder created at (C:\Downloads)
  4. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  5. Navigate to the C:\Downloads folder
  6. Enter the following command: npp.7.Installer.x64.exe /S
  7. 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++ 7 (64-bit)
Vendor:Notepad++ Team
Version:7
Architecture:x64
Installer Type: EXENSIS
Silent Install Switchnpp.7.Installer.x64.exe /S
Silent Uninstall Switch "%ProgramFiles%\Notepad++\uninstall.exe" /S
Download Link: https://notepad-plus-plus.org/downloads/v7.0/
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++ Auto-Update

  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


Change the Notepad++ Default Installation Directory

You can also change the default installation directory by using the following NSIS command-line parameters. In this example, I’m installing Notepad++ to a folder under the Program Files directory called “MyCompanyFolder”

32-bit (32-bit OS)npp.7.Installer.exe /S /D=”%ProgramFiles%\MyCompanyFolder”
32-bit (64-bit OS)npp.7.Installer.exe /S /D=”%ProgramFiles(x86)%\MyCompanyFolder”
64-bit (64-bit OS)npp.7.Installer.x64.exe /S /D=”%ProgramFiles%\MyCompanyFolder”

How to Uninstall Notepad++ 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++ (32-bit) Silent Uninstall on 32-bit System

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

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

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

Notepad++ (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.