QOwnNotes Silent Install (How-To Guide)

QOwnNotes is a free open source plain-text notepad with markdown support and to-do list manager that works together with the Notes application of ownCloud or Nextcloud. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of QOwnNotes from the command line using the ZIP file.

How to Install QOwnNotes Silently

QOwnNotes Silent Install

  1. Navigate to: https://github.com/pbek/QOwnNotes/releases
  2. Download the QOwnNotes.zip file to a folder created at (C:\Downloads\QOwnNotes)
  3. Navigate to: https://www.7-zip.org/download.html
  4. Click the Download link for the 64-bit x64 .exe
  5. Download the EXE to a folder created at (C:\Downloads)
  6. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  7. Navigate to the C:\Downloads folder
  8. Enter the following command: 7z1900-x64.exe /S
  9. Press Enter
  10. Navigate to the C:\Downloads\QOwnNotes folder
  11. Enter the following command:
    • "%ProgramFiles%\7-Zip\7z.exe" x -o"%ProgramFiles%\QOwnNotes" ".\QOwnNotes.zip"
  12. Press Enter

Create a QOwnNotes Start Menu Shortcut with Windows PowerShell

  • Open Notepad or your favorite text editor
  • Add the following lines:
$TargetFile = "$env:ProgramFiles\QOwnNotes\QOwnNotes.exe"
$ShortcutFile = "$env:ALLUSERSPROFILE\Microsoft\Windows\Start Menu\Programs\QOwnNotes.lnk"
$WScriptShell = New-Object -ComObject WScript.Shell
$Shortcut = $WScriptShell.CreateShortcut($ShortcutFile)
$Shortcut.TargetPath = $TargetFile
$Shortcut.Save()
  • Save the file to C:\Downloads\QOwnNotes and name it: QOwnNotesStartMenuSC.ps1
  • Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  • Navigate to the C:\Downloads\QOwnNotes folder
  • Enter the following command:
    • Powershell.exe -ExecutionPolicy ByPass -File ".\QOwnNotesStartMenuSC.ps1"

Create a QOwnNotes Desktop Shortcut with Windows PowerShell

  • Open Notepad or your favorite text editor
  • Add the following lines:
$TargetFile = "$env:ProgramFiles\QOwnNotes\QOwnNotes.exe"
$ShortcutFile = "$env:Public\Desktop\QOwnNotes.lnk"
$WScriptShell = New-Object -ComObject WScript.Shell
$Shortcut = $WScriptShell.CreateShortcut($ShortcutFile)
$Shortcut.TargetPath = $TargetFile
$Shortcut.Save()
  • Save the file to C:\Downloads\QOwnNotes and name it: QOwnNotesDesktopSC.ps1
  • Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  • Navigate to the C:\Downloads\QOwnNotes folder
  • Enter the following command:
    • Powershell.exe -ExecutionPolicy ByPass -File ".\QOwnNotesDesktopSC.ps1"

Software Title:QOwnNotes
Vendor:Patrizio Bekerle
Architecture:x86_x64
Installer Type:EXE
Silent Install Switch (Step 1)7z1900-x64.exe /S
Silent Install Switch (Step 2)"%ProgramFiles%\7-Zip\7z.exe" x -o"%ProgramFiles%\QOwnNotes" ".\QOwnNotes.zip"
Silent Uninstall Switch:RMDIR /Q /S "%ProgramFiles%\QOwnNotes"
Download Link:https://github.com/pbek/QOwnNotes/releases

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.


How to Uninstall QOwnNotes Silently

  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter the following set of commands:

QOwnNotes Silent Uninstall

TASKKILL /F /IM QOwnNotes.exe
RMDIR /Q /S "%ProgramFiles%\QOwnNotes"
DEL "%PUBLIC%\Desktop\QOwnNotes.lnk"
DEL "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\QOwnNotes.lnk"

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.