Map voor wachtwoordback-up configureren: registerwaarde BackupDirectoryComputerHKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS
- Beleids-ID
- LAPS_BackupDirectory
- Bereik
- Computerconfiguratie
- Ondersteund op
- Ten minste Microsoft Windows 10 of hoger
- Bron
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
- Categorie
- Systeem › LAPS
Register
BackupDirectory
REG_DWORDComputerHKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS Huidige sleutel
- Waarde bij ingeschakeld
- Afhankelijk van de waarde van de optie
- Element
- Back-upmap
| Item | Opgeslagen waarde |
|---|---|
| Uitgeschakeld | 0 |
| Azure Active Directory | 1 |
| Active Directory | 2 |
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS] ; Opties (gebruik er maar één) ; Uitgeschakeld "BackupDirectory"=dword:00000000 ; Azure Active Directory "BackupDirectory"=dword:00000001 ; Active Directory "BackupDirectory"=dword:00000002
CMD
:: Opties (gebruik er maar één) :: Uitgeschakeld reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS" /v "BackupDirectory" /t REG_DWORD /d 0 /f :: Azure Active Directory reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS" /v "BackupDirectory" /t REG_DWORD /d 1 /f :: Active Directory reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS" /v "BackupDirectory" /t REG_DWORD /d 2 /f
PowerShell
# Algemeen: sleutel maken New-Item -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Force | Out-Null # Opties (gebruik er maar één) # Uitgeschakeld New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Name 'BackupDirectory' -PropertyType DWord -Value 0 -Force | Out-Null # Azure Active Directory New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Name 'BackupDirectory' -PropertyType DWord -Value 1 -Force | Out-Null # Active Directory New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\LAPS' -Name 'BackupDirectory' -PropertyType DWord -Value 2 -Force | Out-Null