Archive for category Server 2003

Windows 2000/2003 Export/Import DHCP Database

For Windows 2000: Download and install the DHCPExim tool. Export/Import the DHCP Database config. Note: this tool is only supported on Windows 2000. Using this tool on Windows 2003 will generate an error.

image

 

To Import the data from a Windows 2000 Server to a Windows 2003 Server. From a command prompt: netsh dhcp server import c:\filename.txt all

 

image

 

To Import/Export to and from a Windows 2003 Server:

Command to Export DHCP Data – netsh dhcp server export C:\filename.txt all

Command to Import DHCP Data – netsh dhcp server import c:\filename.txt all

No Comments

Import or Export a DNS Zone With DNSCMD

Export

Export the zone Domain.Local. using dnscmd.

dnscmd will automatically export the file to system32\dns\”filename.dns”

Usage: DnsCmd <ServerName> /ZoneExport <ZoneName> <ZoneExportFile>

Example: dnscmd /zoneexport Domain.Local Domain.dns

 

Import

Copy the exported DNS Zone file to system32\dns\ folder.

Usage: DnsCmd <ServerName> /ZoneAdd <ZoneName> <ZoneType> [<Options>]……

Example: dnscmd /zoneadd NewDomain.com/primary /file “filename.dns” /load

, , ,

1 Comment