Deploys Google Chrome silently using Winget as a Win32 app in Microsoft Intune.
| File | Purpose |
|---|---|
Install-Google_Chrome.ps1 |
Installs Chrome via winget install |
Uninstall-Google_Chrome.ps1 |
Removes Chrome via winget uninstall |
Detect-Google_Chrome.ps1 |
Detection script — checks registry keys and chrome.exe on disk |
- Winget must be available on target endpoints (Windows 10 1809+ / Windows 11 with App Installer)
- Devices must be Intune-enrolled
- IntuneWinAppUtil.exe — download from Microsoft
- Download or clone this folder to your local machine.
- Open a command prompt and run:
IntuneWinAppUtil.exe -c "C:\path\to\Google_Chrome" -s "Install-Google_Chrome.ps1" -o "C:\path\to\output"This produces Install-Google_Chrome.intunewin in your output folder.
- Go to Intune admin center → Apps → All apps → + Add
- Select App type: Windows app (Win32) → Select
| Field | Value |
|---|---|
| Name | Google Chrome |
| Description | Deploys Google Chrome via Winget |
| Publisher | Google LLC |
Upload the .intunewin file when prompted.
| Field | Value |
|---|---|
| Install command | powershell.exe -ExecutionPolicy Bypass -File Install-Google_Chrome.ps1 |
| Uninstall command | powershell.exe -ExecutionPolicy Bypass -File Uninstall-Google_Chrome.ps1 |
| Install behavior | System |
| Device restart behavior | No specific action |
| Field | Recommended value |
|---|---|
| Operating system architecture | 64-bit (or Both) |
| Minimum OS | Windows 10 21H2 or later |
- Under Detection rules, select Rule format: Use a custom detection script
- Upload
Detect-Google_Chrome.ps1 - Set Run script as 32-bit process on 64-bit clients → No
- Set Enforce script signature check → No
The detection script checks three independent signals:
HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Google ChromeHKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exeC:\Program Files\Google\Chrome\Application\chrome.exe
Exit 0 = detected. Exit 1 = not detected.
Assign to the appropriate device or user group and set the intent:
| Intent | Use case |
|---|---|
| Required | Mandatory deployment |
| Available | Self-service via Company Portal |
| Uninstall | Forced removal |
Install and uninstall logs are written to:
C:\ProgramData\Microsoft\IntuneManagementExtension\Logs\Google.Chrome-Install.log
C:\ProgramData\Microsoft\IntuneManagementExtension\Logs\Google.Chrome-Uninstall.log
You can also review the Intune Management Extension log at:
C:\ProgramData\Microsoft\IntuneManagementExtension\Logs\IntuneManagementExtension.log
- Winget exit code
0= success. Non-zero exits are passed directly back to Intune. - The uninstall script exits
0cleanly if Chrome is not present (idempotent). - Chrome's machine-wide installer writes to
Program Filesregardless of user context — System install behavior is correct.