Archive for category Server 2003
Windows 2000/2003 Export/Import DHCP Database
Posted by JBrokaw in Server 2000, Server 2003 on July 29, 2009
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.
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
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
Import or Export a DNS Zone With DNSCMD
Posted by JBrokaw in SBS 2000, SBS 2003, Server 2000, Server 2003 on June 23, 2009
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