How to Silently Install Notepad++
Save time and reduce user prompts by deploying Notepad++ silently and consistently across managed Windows devices. This guide is built for IT admins who need a dependable, repeatable rollout using the verified silent install command, with attention to machine-wide installation, admin requirements, and reliable detection logic. Whether you package apps for Intune/SCCM/PDQ or standardize desktop builds, it helps you streamline deployment and keep installs predictable in enterprise environments.
Overview
| Application | Notepad++ | Install scope | Machine |
|---|---|---|---|
| Version | 8.9.6.4 | Requires admin | Yes |
| Publisher | Notepad++ Team | Restart behavior | No restart |
| Installer type | MSI | Detection method | MSI |
| Installer file | Notepad.Notepad.8.9.6.4.X64.msi | Download | download↓ |
| Silent install | Available | Architecture | x64 |
| Silent uninstall | Available | Homepage | https://notepad-plus-plus.org/ |
Silent Install Steps
Run any one of the methods below to install Notepad++ silently with zero user interaction. Both Command Prompt and PowerShell produce the same result — use whichever fits your deployment workflow.
Method 1: Install with Command Prompt
Run the installer from an elevated Command Prompt.
Download or copy the installer file to a local folder, for example C:\Installers.
Open Command Prompt as Administrator.
Switch to the installer folder.
cd /d "C:\Installers"
Run the silent install command.
msiexec /i "Notepad.Notepad.8.9.6.4.X64.msi" /qn REBOOT=ReallySuppress ALLUSERS=1 ADDLOCAL=MainApplication REMOVE=AutoUpdaterFeature
Method 2: Install with PowerShell
Run the same silent install command through PowerShell.
Download or copy the installer file to a local folder, for example C:\Installers.
Open PowerShell as Administrator.
Switch to the installer folder.
Set-Location "C:\Installers"
Run the silent install command.
$Installer = 'Notepad.Notepad.8.9.6.4.X64.msi'
& msiexec.exe /i $Installer /qn REBOOT=ReallySuppress ALLUSERS=1 ADDLOCAL=MainApplication REMOVE=AutoUpdaterFeature
exit $LASTEXITCODE
Deployment Notes
Key facts to confirm before rolling this out to production machines — permissions required, scope of install, and reboot behavior.
| Requirement | Administrator privileges required |
|---|---|
| Install scope | Machine |
| Restart behavior | No restart expected |
Detection Rules
Configure your deployment tool with the detection rule below to confirm a successful install of Notepad++. The same rule works for Microsoft Intune, SCCM, PDQ Deploy, and most RMM platforms — just paste the values into the matching fields.
MSI detection
| Product code | {6F342D5B-F778-439D-9F98-8ECC24CCFEB4} |
|---|---|
| Expected version | 8.9.6.4 |
PowerShell detection script
$ProductCode = '{6F342D5B-F778-439D-9F98-8ECC24CCFEB4}'
$UninstallKeys = @(
"HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\$ProductCode",
"HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\$ProductCode"
)
foreach ($Path in $UninstallKeys) {
if (Test-Path $Path) {
$Item = Get-ItemProperty -Path $Path -ErrorAction SilentlyContinue
if ($Item.DisplayVersion -eq '8.9.6.4') { exit 0 }
}
}
exit 1
Silent Uninstall Steps
Remove Notepad++ silently from one machine or your entire fleet. The commands below uninstall without prompts and suppress automatic reboots so you control the timing.
Method 1: Uninstall with Command Prompt
Run the uninstall command from an elevated Command Prompt.
Open Command Prompt as Administrator.
Run the silent uninstall command.
msiexec /x "{6F342D5B-F778-439D-9F98-8ECC24CCFEB4}" /qn REBOOT=ReallySuppress
Method 2: Uninstall with PowerShell
Run the same silent uninstall command through PowerShell.
Open PowerShell as Administrator.
Run the silent uninstall command.
$ProductCode = '{6F342D5B-F778-439D-9F98-8ECC24CCFEB4}'
& msiexec.exe /x $ProductCode /qn REBOOT=ReallySuppress
exit $LASTEXITCODE
Deployment Examples
Drop one of the snippets below into your deployment tool, Group Policy, or scheduled task. Each script wraps the silent install command for Notepad++ as a batch file or PowerShell script — copy, save, and run.
Batch file example
Save the following content as install-notepad.bat in the same folder as the installer.
@echo off
cd /d "%~dp0"
msiexec /i "Notepad.Notepad.8.9.6.4.X64.msi" /qn REBOOT=ReallySuppress ALLUSERS=1 ADDLOCAL=MainApplication REMOVE=AutoUpdaterFeature
exit /b %errorlevel%
PowerShell script example
Save the following content as install-notepad.ps1 in the same folder as the installer.
Set-Location -Path $PSScriptRoot
$Installer = 'Notepad.Notepad.8.9.6.4.X64.msi'
& msiexec.exe /i $Installer /qn REBOOT=ReallySuppress ALLUSERS=1 ADDLOCAL=MainApplication REMOVE=AutoUpdaterFeature
exit $LASTEXITCODE
Frequently Asked Questions
Can I silently install Notepad++ on Windows?
Do I need administrator privileges to install Notepad++?
Will installing Notepad++ restart the computer?
How do I verify Notepad++ installed successfully?
How do I silently uninstall Notepad++?
msiexec /x with the MSI product code and /qn REBOOT=ReallySuppress.Which deployment tools support these commands?
Troubleshooting
If the install fails, exits with a non-zero code, or leaves no trace on the target machine, work through the checks below. Most issues come down to permissions, paths, or exit code handling.
| Run as administrator | Make sure Command Prompt or PowerShell is opened as Administrator. This installer writes to a machine-wide location and will fail silently without elevated permissions. |
|---|---|
| Verify the installer file name | Confirm that the installer file name matches the command shown in this guide: Notepad.Notepad.8.9.6.4.X64.msi. |
| Run from the correct folder | Run the command from the folder that contains the installer file. For batch or PowerShell deployments, place the script and installer in the same folder. |
| Check exit codes | If the installer returns a non-zero exit code, review the installer log or deployment tool logs. Some packages may use additional success exit codes. |
| Restart if required | If the application does not appear immediately after installation, sign out and sign back in, or restart the device — this refreshes Start menu shortcuts, file associations, and Path entries written by the installer. |
| Validate detection rules | If your deployment tool reports the app as not installed, verify that the detection rule matches the installed version, MSI product code, registry key, or file path. Use the detection rule above to confirm whether the application was installed successfully. |
Related Apps
Need another package? Here are similar silent install guides you can deploy next.


Guide ngon, command chạy ổn trên máy test Windows 11. Mình chỉ thiếu thêm một đoạn xác nhận version sau cài đặt để QA check nhanh.
Mình deploy qua Intune ok, nhưng nên nhấn mạnh thêm việc chạy dưới SYSTEM context để tránh lỗi quyền ghi thư mục Program Files.
Phần uninstall hữu ích. Nếu được, thêm ví dụ detection rule bằng file version thì sẽ đầy đủ hơn cho team endpoint.
Layout mới của comment form nhìn ổn hơn rồi. Mình thích nút submit gọn như hiện tại, chỉ cần tăng khoảng cách giữa captcha và nút thêm 4-6px là đẹp.
Sample pagination comment #1 để test phân trang comments.
Sample pagination comment #2 để test phân trang comments.
Sample pagination comment #3 để test phân trang comments.
Sample pagination comment #4 để test phân trang comments.
Sample pagination comment #5 để test phân trang comments.
Sample pagination comment #6 để test phân trang comments.
Sample pagination comment #7 để test phân trang comments.
Sample pagination comment #8 để test phân trang comments.
Sample pagination comment #9 để test phân trang comments.
Sample pagination comment #10 để test phân trang comments.
Sample pagination comment #11 để test phân trang comments.
Sample pagination comment #12 để test phân trang comments.
Sample pagination comment #13 để test phân trang comments.
Sample pagination comment #14 để test phân trang comments.
Đây là comment reply cấp 1 để test luồng thread.
Đây là reply cấp 2 để test giới hạn hiển thị nested.