Befehle, um Intune WSL Plugin ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id Microsoft.IntuneWSLPlugin -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.IntuneWSLPlugin -e --silentwinget uninstall --id Microsoft.IntuneWSLPlugin -e --silentNach Installer
64-Bit · MSI · Alle Benutzer · en-US
Stille Installation
msiexec /i IntuneWSLPluginInstaller.msi /qn /norestartProtokoll schreiben
msiexec /i IntuneWSLPluginInstaller.msi /qn /norestart /l*v "%TEMP%\intune-wsl-plugin-install.log"Deinstallation
msiexec /x {A547D6AF-BB8C-42DB-A9EA-62C6E8594090} /qn /norestart- MSI-Produktcode
- {A547D6AF-BB8C-42DB-A9EA-62C6E8594090}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A547D6AF-BB8C-42DB-A9EA-62C6E8594090}
- UpgradeCode
- {94661D30-AF65-4CAF-9824-1E532305E7C3}
- Installationsordner
- %ProgramFiles%\Intune WSL Plugin
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-intune-wsl-plugin.ps1
$url = 'https://github.com/microsoft/shell-intune-samples/raw/refs/heads/master/Linux/WSL/IntuneWSLPluginInstaller/IntuneWSLPluginInstaller.msi'
$sha256 = 'B6915E82988C70FBC0C6F76442E08E1A3AC2B108A4853454E644E9F768725D30'
$file = Join-Path $env:TEMP 'IntuneWSLPluginInstaller.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait