Befehle, um Notepad++ ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
winget install --id Notepad++.Notepad++ -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Notepad++.Notepad++ -e --silentwinget uninstall --id Notepad++.Notepad++ -e --silentNach Installer
64-Bit · EXE (NSIS) · Alle Benutzer
npp.8.9.8.1.Installer.x64.exe /Snpp.8.9.8.1.Installer.x64.exe /S /D=C:\Apps\notepad-plus-plus- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Notepad++
- Installationsordner
- %ProgramFiles%\Notepad++
64-Bit · MSI · Alle Benutzer
msiexec /i npp.8.9.8.1.Installer.x64.msi /qn /norestartmsiexec /i npp.8.9.8.1.Installer.x64.msi /qn /norestart /l*v "%TEMP%\notepad-plus-plus-install.log"msiexec /x {5C6F8543-7EA8-40B9-B78F-04C78300DE7F} /qn /norestart- MSI-Produktcode
- {5C6F8543-7EA8-40B9-B78F-04C78300DE7F}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5C6F8543-7EA8-40B9-B78F-04C78300DE7F}
- UpgradeCode
- {CDB13460-04DF-4708-A7FD-4CB4A0684605}
64-Bit · ZIP
Keine Installation nötig (portabel)
ARM64 · EXE (NSIS) · Alle Benutzer
npp.8.9.8.1.Installer.arm64.exe /Snpp.8.9.8.1.Installer.arm64.exe /S /D=C:\Apps\notepad-plus-plus- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Notepad++
- Installationsordner
- %ProgramFiles%\Notepad++
ARM64 · ZIP
Keine Installation nötig (portabel)
32-Bit · EXE (NSIS) · Alle Benutzer
npp.8.9.8.1.Installer.exe /Snpp.8.9.8.1.Installer.exe /S /D=C:\Apps\notepad-plus-plus- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Notepad++
- Installationsordner
- %ProgramFiles(x86)%\Notepad++
32-Bit · ZIP
Keine Installation nötig (portabel)
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
$url = 'https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.9.8.1/npp.8.9.8.1.Installer.x64.exe'
$sha256 = '26F3BCCED788FADBAC4E7E577B430EA2CE6060CF3BCAD993EF4612ECD7D743DA'
$file = Join-Path $env:TEMP 'npp.8.9.8.1.Installer.x64.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait $url = 'https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.9.8.1/npp.8.9.8.1.Installer.x64.msi'
$sha256 = '0C4F4FE82BABD7688F5C1431B1357392491563AF6FFEDF4E37F5DE0BD71BABB4'
$file = Join-Path $env:TEMP 'npp.8.9.8.1.Installer.x64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait $url = 'https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.9.8.1/npp.8.9.8.1.Installer.arm64.exe'
$sha256 = 'A53C5116B55AC93FEDD7808E71096BADECBF10A55F2BE9B28B741591B8917A73'
$file = Join-Path $env:TEMP 'npp.8.9.8.1.Installer.arm64.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait $url = 'https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.9.8.1/npp.8.9.8.1.Installer.exe'
$sha256 = 'EE848AA54DF153921678B343857A83861DA81CE0C9DBB217B6F55A8780E60F5E'
$file = Join-Path $env:TEMP 'npp.8.9.8.1.Installer.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait