Konfigurieren der automatischen Kontoverwaltung: Registrierungswert AutomaticAccountManagementEnabled und 4 weitereComputerHKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS

Richtlinien-ID
LAPS_AutomaticAccountManagementPolicy
Bereich
Computerkonfiguration
Unterstützt unter
Mindestens Microsoft Windows 10 oder höher
Quelle
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
Kategorie
System › LAPS

Registrierung

AutomaticAccountManagementEnabled

REG_DWORDComputer
Wert bei Aktivierung
1
Wert bei Deaktivierung
0
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS]

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

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

# Optionen (nur eine verwenden)
# Aktiviert
New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Name 'AutomaticAccountManagementEnabled' -PropertyType DWord -Value 1 -Force | Out-Null
# Deaktiviert
New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Name 'AutomaticAccountManagementEnabled' -PropertyType DWord -Value 0 -Force | Out-Null

AutomaticAccountManagementTarget

REG_DWORDComputer
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
Geben Sie das zu verwaltende Zielkonto an:
Optionen
EintragGespeicherter Wert
Integriertes Administratorkonto verwalten0
Verwalten eines benutzerdefinierten Administratorkontos1
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS]

; Optionen (nur eine verwenden)
; Integriertes Administratorkonto verwalten
"AutomaticAccountManagementTarget"=dword:00000000
; Verwalten eines benutzerdefinierten Administratorkontos
"AutomaticAccountManagementTarget"=dword:00000001
CMD
:: Optionen (nur eine verwenden)

:: Integriertes Administratorkonto verwalten
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS" /v "AutomaticAccountManagementTarget" /t REG_DWORD /d 0 /f
:: Verwalten eines benutzerdefinierten Administratorkontos
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS" /v "AutomaticAccountManagementTarget" /t REG_DWORD /d 1 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Force | Out-Null

# Optionen (nur eine verwenden)
# Integriertes Administratorkonto verwalten
New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Name 'AutomaticAccountManagementTarget' -PropertyType DWord -Value 0 -Force | Out-Null
# Verwalten eines benutzerdefinierten Administratorkontos
New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Name 'AutomaticAccountManagementTarget' -PropertyType DWord -Value 1 -Force | Out-Null

AutomaticAccountManagementNameOrPrefix

REG_SZComputer
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
Automatischer Kontoname (oder Namenspräfix):
Werttyp
REG_SZ
Maximale Länge
20
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS]

; Wertnamen und Typen folgen der ADMX. Ersetzen Sie <Wert eingeben> unten durch Ihre eigenen Daten
"AutomaticAccountManagementNameOrPrefix"="<Wert eingeben>"
CMD
:: Wertnamen und Typen folgen der ADMX. Ersetzen Sie <Wert eingeben> unten durch Ihre eigenen Daten

reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS" /v "AutomaticAccountManagementNameOrPrefix" /t REG_SZ /d "<Wert eingeben>" /f
PowerShell
# Wertnamen und Typen folgen der ADMX. Ersetzen Sie <Wert eingeben> unten durch Ihre eigenen Daten

New-Item -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Name 'AutomaticAccountManagementNameOrPrefix' -PropertyType String -Value '<Wert eingeben>' -Force | Out-Null

AutomaticAccountManagementEnableAccount

REG_DWORDComputer
Angekreuzt
1
Nicht angekreuzt
0
Element
Aktivieren des verwalteten Kontos
Werttyp
REG_DWORD
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS]

; Optionen (nur eine verwenden)
; Angekreuzt
"AutomaticAccountManagementEnableAccount"=dword:00000001
; Nicht angekreuzt
"AutomaticAccountManagementEnableAccount"=dword:00000000
CMD
:: Optionen (nur eine verwenden)

:: Angekreuzt
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS" /v "AutomaticAccountManagementEnableAccount" /t REG_DWORD /d 1 /f
:: Nicht angekreuzt
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS" /v "AutomaticAccountManagementEnableAccount" /t REG_DWORD /d 0 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Force | Out-Null

# Optionen (nur eine verwenden)
# Angekreuzt
New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Name 'AutomaticAccountManagementEnableAccount' -PropertyType DWord -Value 1 -Force | Out-Null
# Nicht angekreuzt
New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Name 'AutomaticAccountManagementEnableAccount' -PropertyType DWord -Value 0 -Force | Out-Null

AutomaticAccountManagementRandomizeName

REG_DWORDComputer
Angekreuzt
1
Nicht angekreuzt
0
Element
Zufälliger Name des verwalteten Kontos
Werttyp
REG_DWORD
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS]

; Optionen (nur eine verwenden)
; Angekreuzt
"AutomaticAccountManagementRandomizeName"=dword:00000001
; Nicht angekreuzt
"AutomaticAccountManagementRandomizeName"=dword:00000000
CMD
:: Optionen (nur eine verwenden)

:: Angekreuzt
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS" /v "AutomaticAccountManagementRandomizeName" /t REG_DWORD /d 1 /f
:: Nicht angekreuzt
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS" /v "AutomaticAccountManagementRandomizeName" /t REG_DWORD /d 0 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Force | Out-Null

# Optionen (nur eine verwenden)
# Angekreuzt
New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Name 'AutomaticAccountManagementRandomizeName' -PropertyType DWord -Value 1 -Force | Out-Null
# Nicht angekreuzt
New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Name 'AutomaticAccountManagementRandomizeName' -PropertyType DWord -Value 0 -Force | Out-Null