1) Import/export the script?
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
2) Promote a new DC in production, ghost the server, de-promote it, and finally bring back the ghost and apply the domain rename procedure?
There is no single "right" answer to the question of how to clone your AD environment in a test environment. A good place to start is with the CreateXMLFromEnvironment.wsf and CreateEnvironmentFromXML.wsf scripts that come pre-installed with the Group Policy Management Console, which will capture information about organizational units, GPOs, GPO links and security on GPOs. An alternative would be to use a System State backup from a production DC to create a test DC (in connectivity isolation) and refresh the information on it through regularly-scheduled additional restores.
Dig Deeper on Microsoft Active Directory Replication
Related Q&A from Laura Hunter
Active Directory expert Laura E. Hunter offers some advice for changing the IP addresses of domain controllers.continue reading
Active Directory expert Laura E. Hunter tells a reader what to keep in mind when deleting subnets associated with sites being removed in an ...continue reading
Active Directory expert Laura E. Hunter explains to a reader what must be done to change the default display specifiers for new users in Active ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.