ShareX Silent Install (How-To Guide)

ShareX is a free and open-source screenshot and screencast utility for Microsoft Windows. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of ShareX from the command line using the EXE installer.

How to Install ShareX Silently

ShareX Silent Install (EXE)

  1. Navigate to:
  2. Download the ShareX-x.y.z-setup.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:
ShareX-x.y.z-setup.exe /SP- /VERYSILENT /NORESTART /NORUN

After a few moments you should see the ShareX Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:ShareX
Vendor:ShareX Team
Installer Type:EXE
Silent Install Switch:ShareX-x.y.z-setup.exe /SP- /VERYSILENT /NORESTART /NORUN
Silent Uninstall Switch (Step1)TASKKILL /F /IM "ShareX.exe"
Silent Uninstall Switch (Step2)"%ProgramFiles%\ShareX\unins000.exe" /VERYSILENT /NORESTART
Download Link:
PowerShell Script:
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

Create a ShareX Installation Log File

The ShareX installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following command to create a verbose log file with details about the installation.

ShareX Silent Install (EXE) with Logging

ShareX-x.y.z-setup.exe /SP- /VERYSILENT /NORESTART /NORUN /LOG="%WINDIR%\Temp\ShareX-Install.log"

Change the ShareX Default Installation Directory

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

ShareX-x.y.z-setup.exe /DIR="C:\ShareX" /SP- /VERYSILENT /NORESTART /NORUN

Exclude the ShareX Desktop Shortcut During Install

The ShareX installer creates a desktop shortcut by default. If you do not want the desktop shortcut, then you can run the following command line switches to exclude it.

ShareX Silent Install (EXE) with No Desktop Shortcut

ShareX-x.y.z-setup.exe /SP- /VERYSILENT /NORESTART /NORUN /MERGETASKS=!createdesktopicon

How to Uninstall ShareX Silently

Check out the following posts for a scripted solution:

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

ShareX Silent Uninstall (EXE)

TASKKILL /F /IM "ShareX.exe"
"%ProgramFiles%\ShareX\unins000.exe" /VERYSILENT /NORESTART

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.

Jason Bergner

I am an accomplished Software Engineer at Patch My PC, leveraging more than 18 years of hands-on experience in Configuration Manager administration and application packaging. I am driven by a genuine passion for solving complex problems and consistently strive to discover innovative and effective solutions. Sharing my extensive knowledge of application deployments is a true joy for me, and I am honored to contribute to the community here at Silent Install HQ.

Recent Posts