Immer mit erhöhten Rechten installieren: Registrierungswert AlwaysInstallElevatedComputerHKLM\Software\Policies\Microsoft\Windows\Installer

Richtlinien-ID
AlwaysInstallElevated
Bereich
Computerkonfiguration, Benutzerkonfiguration
Unterstützt unter
Mindestens Windows 2000
Quelle
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
Kategorie
Windows-Komponenten › Windows Installer

Registrierung

AlwaysInstallElevated

REG_DWORDComputerBenutzer
…\Software\Policies\Microsoft\Windows\InstallerHKLM\Software\Policies\Microsoft\Windows\Installer Aktueller Schlüssel
HKCU\Software\Policies\Microsoft\Windows\Installer
Wert bei Aktivierung
1
Wert bei Deaktivierung
0
Mit .reg · CMD · PowerShell anwenden
ComputerComputerweite Einstellung
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer]

; Optionen (nur eine verwenden)
; Aktiviert
"AlwaysInstallElevated"=dword:00000001
; Deaktiviert
"AlwaysInstallElevated"=dword:00000000
CMD
:: Optionen (nur eine verwenden)

:: Aktiviert
reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v "AlwaysInstallElevated" /t REG_DWORD /d 1 /f
:: Deaktiviert
reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v "AlwaysInstallElevated" /t REG_DWORD /d 0 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Force | Out-Null

# Optionen (nur eine verwenden)
# Aktiviert
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Name 'AlwaysInstallElevated' -PropertyType DWord -Value 1 -Force | Out-Null
# Deaktiviert
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Installer' -Name 'AlwaysInstallElevated' -PropertyType DWord -Value 0 -Force | Out-Null
BenutzerEinstellung pro Konto
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Installer]

; Optionen (nur eine verwenden)
; Aktiviert
"AlwaysInstallElevated"=dword:00000001
; Deaktiviert
"AlwaysInstallElevated"=dword:00000000
CMD
:: Optionen (nur eine verwenden)

:: Aktiviert
reg add "HKCU\Software\Policies\Microsoft\Windows\Installer" /v "AlwaysInstallElevated" /t REG_DWORD /d 1 /f
:: Deaktiviert
reg add "HKCU\Software\Policies\Microsoft\Windows\Installer" /v "AlwaysInstallElevated" /t REG_DWORD /d 0 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\Installer' -Force | Out-Null

# Optionen (nur eine verwenden)
# Aktiviert
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Installer' -Name 'AlwaysInstallElevated' -PropertyType DWord -Value 1 -Force | Out-Null
# Deaktiviert
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Installer' -Name 'AlwaysInstallElevated' -PropertyType DWord -Value 0 -Force | Out-Null