DHCP Server Backup and Restore

 


DHCP Server Backup and Restore

https://www.querypanel.com/

 

 

 

 

 

 

 

 

 

 

/// Backup Location

Default directory:  C:\Windows\System32\dhcp\backup\DHCP2016\new

Or

As you can take on any directory

 

Backup Details

 

 

///

 

Backup Restore

 

 

 

Or from action

 

 

 

 

 

 

 

 

 

 

 

 

Using Commands or PoweShell Restoring DHCP Server

Here DHCP is Deleted

So,

Restoring DHCP Server

 

Go to Commands/PowerShell Promote run as administrator

First Using Commands and export DHCP server as a backup

Having DHCP Server Backup on c:\dhcp2019 in c directory

 

 

2nd Method

 

C:\Users\Administrator>netsh

 

Type dhcp

netsh>dhcp

 

netsh dhcp>help

 

netsh dhcp>server

 

 

netsh dhcp server>help

 

 

 

 

 

Export DHCP Backup using Commands

oft Windows [Version 10.0.17763.1294]

(c) 2018 Microsoft Corporation. All rights reserved.

 

C:\Users\Administrator>netsh

netsh>dhcp

In future versions of Windows, Microsoft might remove the Netsh functionality

for DHCP Server.

 

Microsoft recommends that you transition to Windows PowerShell if you currently

use netsh to configure and manage DHCP Server.

 

Type Get-Command -Module DhcpServer at the Windows PowerShell prompt to view

a list of commands to manage DHCP Server.

 

Visit https://go.microsoft.com/fwlink/?LinkId=217627 for additional information

about PowerShell commands for DHCP Server.

netsh dhcp>server

netsh dhcp server>help

netsh dhcp server>export c:\dhcp2019 all

 

 

Now deleting dhcp server and again will going to restore all dhcp services

So here deleted complete ipv4 scope

 

Importing

From backup

netsh dhcp server>import c:\dhcp2019 all

 

 

 

After importing

 

 

Comments