Git Credential Manager for Windows Silent Install (How-To Guide)


The Git Credential Manager for Windows (GCM) provides secure Git credential storage for Windows. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Git Credential Manager for Windows from the command line using the EXE installer.

How to Install Git Credential Manager for Windows Silently

Git Credential Manager for Windows Silent Install (EXE)

  1. Navigate to: https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/latest
  2. Download the GCMW-x.y.z.exe to C:\Downloads
  3. Follow the Git Silent Install (How-To Guide) first, then…
  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:
    • GCMW-x.y.z.exe /DIR="%ProgramFiles%\Microsoft Git Credential Manager for Windows" /VERYSILENT /NORESTART
  7. Press Enter

After a few moments you will find Git Credential Manager for Windows entries in the Installation Directory and Programs and Features in the Control Panel.

Software Title:Git Credential Manager for Windows
Vendor:Microsoft Corporation
Architecture:x86_x64
Installer Type:EXE
Silent Install Switch:GCMW-x.y.z.exe /DIR="%ProgramFiles%\Microsoft Git Credential Manager for Windows" /VERYSILENT /NORESTART
Silent Uninstall Switch (ProgramFiles)"%ProgramFiles%\Microsoft Git Credential Manager for Windows\unins000.exe" /VERYSILENT /NORESTART
Silent Uninstall Switch (UserProfile)"%LocalAppData%\Programs\Microsoft Git Credential Manager for Windows\unins000.exe" /VERYSILENT /NORESTART
Download Link:https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/latest

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 Git Credential Manager for Windows 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.

MSI Downloader Demo Walkthrough
MSI Downloader Demo Walkthrough

Git Credential Manager for Windows Silent Install (EXE) with Logging

GCMW-x.y.z.exe /DIR="%ProgramFiles%\Microsoft Git Credential Manager for Windows" /VERYSILENT /NORESTART /LOG="%WINDIR%\Temp\GCMW-Install.log"

Change Default Installation Directory

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

GCMW-x.y.z.exe /DIR="C:\Microsoft Git Credential Manager for Windows" /VERYSILENT /NORESTART

How to Uninstall Git Credential Manager for Windows Silently

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

Git Credential Manager for Windows Silent Uninstall (EXE) – Program Files

"%ProgramFiles%\Microsoft Git Credential Manager for Windows\unins000.exe" /VERYSILENT /NORESTART

Git Credential Manager for Windows Silent Uninstall (EXE) – User Profile

"%LocalAppData%\Programs\Microsoft Git Credential Manager for Windows\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.

Recent Posts