use DNSCMD...
dnscmd /ZoneResetType ?
Usage: DnsCmd <ServerName> /ZoneResetType <ZoneName> <Property> [<Options>]
<ZoneName> -- FQDN of zone
<Property>:
/DsPrimary
/Primary /file <filename>
/Secondary <MasterIPaddress> [<MasterIPaddress>] [/file <filename>]
/Stub <MasterIPaddress> [<MasterIPaddress>] [/file <filename>]
/DsStub <MasterIPaddress> [<MasterIPaddress>]
/Forwarder <MasterIPaddress> [<MasterIPaddress>] [/file <filename>]
/DsForwarder <MasterIPaddress> [<MasterIPaddress>] [/file <filename>]
<Options>:
/OverWrite_Mem -- overwrite DNS by data in DS
/OverWrite_Ds -- overwrite DS by data in DNS
/DirectoryPartition <FQDN> -- store the new zone in the directory
partition specified by the next argument
--
Cheers,
# Jorge de Almeida Pinto #
BLOG -->
http://blogs.dirteam.com/blogs/jorge/default.aspx
-----------------------------------------------------------------------------
* This posting is provided "AS IS" with no warranties and confers no rights!
* Always test before implementing!
-----------------------------------------------------------------------------
"Spin" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Experts,
>
> Running Windows Server 2003 SP1. For testing purposes, I am looking for
> a batch file that can set my AD-integrated zone to standard primary, and
> then another separate one to set it back to AD-integrated.
>
> --
> Spin
>
>