Chef Workstation Silent Install (How-To Guide)

Chef Workstation gives you everything you need to get started with Chef Infra and Chef InSpec including ad hoc remote execution, remote scanning, configuration tasks, cookbook creation tools as well as robust dependency and testing software. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Chef Workstation from the command line using the MSI installer.

How to Install Chef Workstation Silently

Chef Workstation Silent Install (MSI)

  1. Navigate to:
  2. Select the version of your choice
  3. Download the MSI to a folder created at (C:\Downloads)
  4. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  5. Navigate to the C:\Downloads folder
  6. Enter the following command:  MsiExec.exe /i chef-workstation-x.y.z-x64.msi /qn
  7. Press Enter

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

Software Title:Chef Workstation
Vendor:Chef Software, Inc.
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i chef-workstation-x.y.z-x64.msi /qn
Silent Uninstall Switch:MsiExec.exe /x chef-workstation-x.y.z-x64.msi /qn
Repair Command:MsiExec.exe /fa chef-workstation-x.y.z-x64.msi /qn
Download Link:
PowerShell 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 an Installation Log File

The Chef Workstation 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.

Chef Workstation Silent Install (MSI) with Logging

MsiExec.exe /i chef-workstation-x.y.z-x64.msi /qn /L*v "%WINDIR%\Temp\ChefWorkstation-Install.log"

Chef Workstation Install Using PowerShell

  • Open Windows PowerShell by Right-Clicking on Windows PowerShell and selecting Run as Administrator
  • Enter the following command:
. { iwr -useb } | iex; install -channel stable -project chef-workstation

How to Uninstall Chef Workstation Silently

Check out the Chef Workstation Install and Uninstall (PowerShell) post for a scripted solution.

  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter one of the following commands:
VersionChef Workstation Silent Uninstall String /x {F244889E-555B-4DB8-B6F3-89DC2D3A55E6} /qn /x {34FECBAF-1892-4B6B-8C68-87D59876B97C} /qn /x {99C3DD41-1E60-4BC3-9134-AA33B6CA577C} /qn /x {FA519E9E-5F6F-44CC-8050-CD1BADBA3564} /qn /x {A17B43B7-E067-4A12-AD99-794282C8D75D} /qn /x {3FE27F26-4CE0-42FD-B6F1-49489FD388B3} /qn /x {F0CBDEC2-BD7C-4120-8ADB-2E8EDAF3A756} /qn /x {87EE13C7-39DE-4034-8411-0957AF22E085} /qn /x {3DBD6FCB-E39B-4C5F-A9FC-77A467B86A0C} /qn /x {79A47C04-9BA8-4704-BC39-4192FAED5AE4} /qn

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