Befehle, um Microsoft OSConfig 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.OSConfig -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.OSConfig -e --silentwinget uninstall --id Microsoft.OSConfig -e --silentNach Installer
64-Bit · MSIX
Stille Installation
Add-AppxPackage -Path Microsoft.OSConfig-1.3.10.13.msixbundleDeinstallation
Get-AppxPackage -Name Microsoft.OSConfig | Remove-AppxPackage64-Bit · ZIP
Keine Installation nötig (portabel)
ARM64 · MSIX
Stille Installation
Add-AppxPackage -Path Microsoft.OSConfig-1.3.10.13.msixbundleDeinstallation
Get-AppxPackage -Name Microsoft.OSConfig | Remove-AppxPackageARM64 · ZIP
Keine Installation nötig (portabel)
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-microsoft-osconfig.ps1
$url = 'https://github.com/microsoft/osconfig/releases/download/1.3.10-preview13/Microsoft.OSConfig-1.3.10.13.msixbundle'
$sha256 = '6A09F880AA8132EE5326802938F032C6A29D0FD8EAD21EEF926798F7ECEC2B0A'
$file = Join-Path $env:TEMP 'Microsoft.OSConfig-1.3.10.13.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-microsoft-osconfig.ps1
$url = 'https://github.com/microsoft/osconfig/releases/download/1.3.10-preview13/Microsoft.OSConfig-1.3.10.13.msixbundle'
$sha256 = '6A09F880AA8132EE5326802938F032C6A29D0FD8EAD21EEF926798F7ECEC2B0A'
$file = Join-Path $env:TEMP 'Microsoft.OSConfig-1.3.10.13.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file