Überwachung der Mindestpasswortlänge: Registrierungswert MinimumPasswordLengthAuditComputerHKLM\System\CurrentControlSet\Control\SAM
- Kategorie
- Sicherheitseinstellungen › Kontorichtlinien › Kennwortrichtlinien
- Bereich
- Computerkonfiguration
- Quelle
- Windows 11 (Version 26H2 · 26300.9457)
Registrierung
MinimumPasswordLengthAudit
REG_DWORDComputerHKLM\System\CurrentControlSet\Control\SAM Aktueller Schlüssel
- Wert bei Aktivierung
- Hängt vom Wert der Option ab
- Element
- Überwachung der Mindestpasswortlänge
- Werttyp
- REG_DWORD
- Mindestwert
- 1
- Höchstwert
- 128
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SAM] "MinimumPasswordLengthAudit"=dword:<Wert eingeben>
CMD
reg add "HKLM\System\CurrentControlSet\Control\SAM" /v "MinimumPasswordLengthAudit" /t REG_DWORD /d "<Wert eingeben>" /f
PowerShell
New-Item -Path 'HKLM:\System\CurrentControlSet\Control\SAM' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\SAM' -Name 'MinimumPasswordLengthAudit' -PropertyType DWord -Value '<Wert eingeben>' -Force | Out-Null