Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

Various Msiexec.exe Command Line Switches

Posted on 31/07/201917/08/2026 Christian By Christian No Comments on Various Msiexec.exe Command Line Switches
  1. Home
  2. Windows Server
  3. Various Msiexec.exe Command Line Switches
Various Msiexec.exe Command Line Switches

Msiexec.exe command line install options install, uninstall, administrative install, advertise a product) display options (full, basic or no UI during the installation restart options (if the machine will be restarted after the installation) logging options. Kindly refer to these guides on how to install Windows Package Manager (Winget CLI), how to install, upgrade and uninstall Chocolatey, how to install, upgrade and uninstall software with Chocolatey, and how to install Winget CLI. In this guide, you will learn about the various Msiexec.exe Command Line Switches.

The Windows Installer technology uses Msiexec.exe for installing MSI and MSP packages. This tool gives you full control over the installation process, allowing you to set various options and parameters as shown below.

Msiexec.exe Switch Examples

Here are some Msiexec.exe switch examples below. Please refer to this link for more parameters.

/quiet, /q, qn Fully silent mode
/passive Unattended mode, shows progress bar only.
/norestart Do not restart the system after the installation
/forcerestart Restart the system after installation is complete
/log, /l Enable Logging

Please see the following related articles: How to install the Microsoft PSWindowsUpdate module silently, How to install and Update Azure PowerShell on your Windows PC, Various methods to launch the Event Viewer, Various Ansible Authentication Options, and Various methods on how to launch Windows Task Manager.

Silent Install Methods

Example: Silently install the MSI package:

msiexec /i C:setup.msi /qn

Silently install the msi package, no reboot

msiexec /i C:setup.msi /qn /norestart

Silently install the msi package and write the installation log to the file

C:msilog.txt
msiexec /i C:setup.msi /l*v C:msilog.txt /qn

Silent Uninstall Methods

Silently uninstall the msi package:

msiexec /x C:setup.msi /qn

Silently uninstall the msi package by the product code:

msiexec /x {XXXXXXXX-xxxxxxC6-01Fxxxxxxx1} /qn

I hope you found this blog post helpful on the various Msiexec.exe Command Line Switches. Please let me know in the comment session if you have any questions.

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
Windows Server

Post navigation

Previous Post: This installation package could not be opened: Verify that the package exists and that you can access it
Next Post: How to configure a console port password on Cisco Router

Related Posts

  • hero windowsadmincenter
    Failed to create a scheduled task: There is no disconnected command associated with the runspace Windows Server
  • windows server 2019 logo
    How to create a Windows Server reference image using WDS Windows Server
  • winn 11 3
    Enable HyperV on Windows: How to install Windows 11 on HyperV Windows
  • qAS
    How to disable the Microsoft Deployment Toolkit Task Sequence property sheet Windows Server
  • erroradkupdate
    An error has occurred in the script on this page: HTA applications report a Script error after upgrading to ADK for Windows 11, version 22H2 Windows Server
  • how to update WinPE Boot Images with Windows UEFI CA Cert e1778595575234
    Update WinPE Boot Images with Windows UEFI CA Certificates [Part 2] Windows Server

More Related Articles

hero windowsadmincenter Failed to create a scheduled task: There is no disconnected command associated with the runspace Windows Server
windows server 2019 logo How to create a Windows Server reference image using WDS Windows Server
winn 11 3 Enable HyperV on Windows: How to install Windows 11 on HyperV Windows
qAS How to disable the Microsoft Deployment Toolkit Task Sequence property sheet Windows Server
erroradkupdate An error has occurred in the script on this page: HTA applications report a Script error after upgrading to ADK for Windows 11, version 22H2 Windows Server
how to update WinPE Boot Images with Windows UEFI CA Cert e1778595575234 Update WinPE Boot Images with Windows UEFI CA Certificates [Part 2] Windows Server

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

veeaam100

Veeam Vanguard

  • how to bypass windows admin log in password 2
    How to disable Lock Screen on Windows 10 via Registry Editor Windows
  • Windows10 as a Service Waas
    Windows 10 Feature and Quality Updates Windows
  • 1 kajkbmlyehn0inifwrh 8w 1
    How to configure Kerberos for Ansible Authentication Configuration Management Tool
  • windows pe screenshot1 rcm1200x0
    Workaround and Permanent fix for this snap-in performed a non-valid operation and has been unloaded: To continue using this snap-in restart MMC or try loading the snap-in again Windows Server
  • Set a Resource Delete Lock
    How to Add a Delete Lock on Azure Resources AWS/Azure/OpenShift
  • UEFI vs BIOS What's the Difference
    What are the Differences between UEFI and BIOS Windows
  • image 73
    How to manage and use Amazon S3 access points using the AWS Management Console AWS/Azure/OpenShift
  • what is winrm
    WinRM cannot complete the operation, verify that the specified computer name is valid Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,752 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.