How to Migrate AD Users in the Same Forest With VBScript
June 15, 2017
![How to Migrate AD Users in the Same Forest With VBScript How to Migrate AD Users in the Same Forest With VBScript](https://eu-images.contentstack.com/v3/assets/blt07f68461ccd75245/blt46922944c477fa94/661cf0bbf2421676af94afe3/birds-2168271280_0.jpg?width=1280&auto=webp&quality=95&format=jpg&disable=upscale)
In one of the earlier posts, I walked you through migrating AD users with the help of ADMT v3.2 (active directory migration tool) GUI between domains in the same forest. In this post, I’ll show you to migrate AD users with VBScript.
Step-By-Step
1. Log in with domain admin account to one of the domain controllers in target domain where ADMT is installed.
2. Open notepad and paste the following script, save the file with .wsf extension in the same folder where templatescript.vbs is located.
3. Open PowerShell and execute the following command
C:windowssyswow64csript.exe e.g. hello.wsf
4. Open Active Directory Users and Computers console in one of the domain controller in target domain. Verify the existence of newly migrated AD objects.
About the Author
You May Also Like