The LDIFDE command-line tool, which ships with Windows Server 2003 and Windows Server 2008, can be used to export the schema from the source forest. This tool creates a file that is formatted with the LDAP Data Interchange Format (LDIF). No special permissions are required to export the schema from the source forest, and any domain user can perform this task.
To export the schema from the source forest, do the following:
- Log on to a member server or a domain controller.
- Open a Command Prompt window.
- Type the following into the Command Prompt window:
ldifde -f PRODSchema.ldif -d CN=Schema,CN=Configuration,DC=WS08DOMAIN01,DC=local
Source: http://technet.microsoft.com/en-us/magazine/2009.04.schema.aspx#id0180006
Extra Help:
Replace
ldifde -m -j "%userprofile%Desktop" -f PRODSchema.ldif -d CN=Schema,CN=Configuration,DC=<YOUR DC>,DC=COM -s localhost:389
Last Updated on October 26, 2015