Powershell Change DHCP Backup Path

DHCP Backup Pfad ändern

Der Standard Sicherungspfad lautet “C:\Windows\System32\dhcp\backup” udn lässt sich über die Powershell schnell und unkompliziert anpassen.

Set-DhcpServerDatabase -Computername DC1.dwp.local -BackupPath C:\DHCP\Backup

Powershell Change DHCP Backup Path

oder mit direkter Anpassung der Backup- und Clean-Intervalle

Set-DhcpServerDatabase -ComputerName DC1.dwp.local -FileName “C:\Windows\System32\dhcp\dhcp.mdb” -BackupPath “C:\DHCP\Backup” -BackupInterval 15 -CleanupInterval 90

Stop-Service -Name DHCPServer
Start-Service -Name DHCPServer

Change DHCP Backup Path

Powershell DHCP Backup & Restore