LIMEHAWK - Managed IT
Winget for RMM: Silent Deployment — automation
dateDec 3, 2024
statusRESOLVED
Challenge

New client onboarding: 85 workstations needed standardized software stack. Chrome, Adobe Reader, 7-Zip, Zoom, Teams, and 12 other applications. Previous MSP manually installed via remote desktop - 45 minutes per machine. We needed silent deployment without user interaction.

Why Winget for RMM?

Windows Package Manager (winget) is Microsoft's answer to apt-get and homebrew. Built into Windows 11, available for Windows 10.

60,000+ packagesMS-curated repository
silent install--silent works for 99%
upgrade allsingle command updates everything
no licensingfree, built into Windows

The catch: winget doesn't work out of the box when scripts run as SYSTEM (how most RMM tools execute). We built a toolkit to solve this.

Script 1: Winget Setup

Downloads latest release from GitHub, installs for SYSTEM context execution.

Key insight: When running as SYSTEM, winget.exe exists but isn't in PATH. Use Resolve-Path to find it in WindowsApps and call directly.

Script 2: Install Any Package

Workhorse script with runtime text replacement. Technicians enter package ID when running - no script editing needed.

Google.Chrome, Mozilla.Firefox
Adobe.Acrobat.Reader, Zoom.Zoom
7zip.7zip, Microsoft.Teams
VideoLAN.VLC, Notepad++.Notepad++
Script 3: Upgrade All

The real power of winget: keeping everything updated. Run weekly via scheduled job. Updates every winget-managed application silently.

Includes automatic log cleanup - keeps 14 days of upgrade logs, purges older ones.

Outcome
machines deployed85 (full software stack)
time to deploy3 hours vs 64 hours manual
applications15 per machine
weekly updatesautomated, silent
winget works in SYSTEM context via WindowsApps path
runtime replacement makes one script work for any pkg
weekly "upgrade all" eliminates manual patch management
find package IDs: winget search "application name"
Get Help

Want automated software deployment? We build RMM automation that works.