Befehlszeilenschnittstellen für Windows Package Manager aktivieren: Registrierungswert EnableWindowsPackageManagerCommandLineInterfacesComputerHKLM\Software\Policies\Microsoft\Windows\AppInstaller
- Richtlinien-ID
- EnableWindowsPackageManagerCommandLineInterfaces
- Bereich
- Computerkonfiguration
- Unterstützt unter
- Mindestens Windows Server 2016, Windows 10, Version 1809
- Quelle
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
- Kategorie
- Windows-Komponenten › Desktop-App-Installer
Registrierung
EnableWindowsPackageManagerCommandLineInterfaces
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Windows\AppInstaller Aktueller Schlüssel
- Wert bei Aktivierung
- 1
- Wert bei Deaktivierung
- 0
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\AppInstaller] ; Optionen (nur eine verwenden) ; Aktiviert "EnableWindowsPackageManagerCommandLineInterfaces"=dword:00000001 ; Deaktiviert "EnableWindowsPackageManagerCommandLineInterfaces"=dword:00000000
CMD
:: Optionen (nur eine verwenden) :: Aktiviert reg add "HKLM\Software\Policies\Microsoft\Windows\AppInstaller" /v "EnableWindowsPackageManagerCommandLineInterfaces" /t REG_DWORD /d 1 /f :: Deaktiviert reg add "HKLM\Software\Policies\Microsoft\Windows\AppInstaller" /v "EnableWindowsPackageManagerCommandLineInterfaces" /t REG_DWORD /d 0 /f
PowerShell
# Gemeinsam: Schlüssel erstellen New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\AppInstaller' -Force | Out-Null # Optionen (nur eine verwenden) # Aktiviert New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\AppInstaller' -Name 'EnableWindowsPackageManagerCommandLineInterfaces' -PropertyType DWord -Value 1 -Force | Out-Null # Deaktiviert New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\AppInstaller' -Name 'EnableWindowsPackageManagerCommandLineInterfaces' -PropertyType DWord -Value 0 -Force | Out-Null