Wolftest OU-GPO Import Processes

From a server in wolftech.ad.ncsu.edu domain:

  1. Go to Start->Run… and type cmd.exe
  2. Type cd c:<enter>
  3. Create folder for templates files; Type mkdir backup
  4. Type mkdir templates<enter>
  5. Create folder for scripts; Type mkdir scripts
  6. Type mkdir wolftest<enter>
  7. Copy all the wolftest scripts located in subversion (https://svn.unity.ncsu.edu/svn/wolftech/Wolftest/trunk) into wolftest.
  8. Type cd wolftest<enter>
  9. Create migration table for importing GPO; type:

cscript CreateMigrationTable.wsf c:\backup\wolftest.AG.OW.migtable /AllGPOs /Overwrite /MapByName

  1. Create the backup of wolftech.ad.ncsu.edu; type export.cmd<enter>

Connect to the domain controller in the test domain:

Before running this process make sure that the domain account has been flagged as protected from deletion. This account should not exist in wolftech to prevent the password from being reset during the process.

  1. Go to Start->Run… and type cmd.exe <enter> ;
  2. Type cd c:<enter>
  3. Copy the c:\backup including templates and migration table
  4. Type cd backup<enter>
  5. Verify that all the temples folder and all files as well as the wolftest.AG.OW.migtable have been copied correctly.
  6. Type cd ..<enter>
  7. Type mkdir scripts<enter>
  8. Type cd scripts<enter>
  9. Copy all the wolftest scripts located in subversion (https://svn.unity.ncsu.edu/svn/wolftech/Wolftest/trunk) into wolftest.
  10. Type import.cmd<enter>