Job Type
User and Group Migration
Name and Description Page
Name: Update Home Share and Profile Path
Source and Destination Page
Source computer: WIN2K12R2
Destination computer: WIN2K12R2
User and Group Migration Page
Specific accounts: The accounts "Alfred" and "Andreas"
Filter Page
User accounts: Enabled (Add/Update)
User Environment Page
Update user home share: Enabled
Update user profile: Enabled
Use a static search and replace list: WIN2K8R2 -> WIN2K12R2
Active Directory Options Page
Migrate OU & container structure: LDAP://DC=DOMAINB,DC=COM
Scripting
Transform users:
Destination("TerminalServicesProfilePath")=Replace(Source("TerminalServicesProfilePath"), "WIN2K8R2", "WIN2K12R2", 1, -1, vbTextCompare) Destination("TerminalServicesHomeDirectory")=Replace(Source("TerminalServicesHomeDirectory"), "WIN2K8R2", "WIN2K12R2", 1, -1, vbTextCompare)
Alternatively, if you don't want to use the Replace function, you could use something like this: Destination("TerminalServicesProfilePath")="\\WIN2K12R2\PROFILE$\" & Source("samAccountName")
Destination("TerminalServicesHomeDirectory")="\\WIN2K12R2\HOME$\" & Source("samAccountName")