Link to home
Start Free TrialLog in
Avatar of goprasad
goprasad

asked on

How to robocopy Citrix Profile data from one location to another?

Hello there,

We have base of 500 users using Citrix Full Desktop , we are in the process of migrating users from old Citrix Farm (XA 4.5) to new Citrix farm (XA 6.5).
I need to copy My documents, Desktop, Favourites from old location \\xxxxxfps1\Profiles$\%username% to new location \\xxxxxfps1\CTXProfiles$\%username% (fps1 server is a W2K3 server)
I will be moving users on region based and have respective AD Security groups.
The first thing I need to do is to extract usernames from this security group and store it in a text file and then run robocopy script. Also I need to then delete the terminal Services Profile path in user's AD profile.
Please assist.
Thanks and Regards
ASKER CERTIFIED SOLUTION
Avatar of Malli Boppe
Malli Boppe
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of goprasad
goprasad

ASKER

Thanks very much for your solution. For example there is a security group in ad called crregionusers with 50 users in this group, how can I extract usernames from this group?
Please advise.
you  need to logon the domain controller and run the below command

net group crregionusers > c:\cr.txt
That's great, thanks again very very much for the command. And it is recommended that you exclude lnk file extension (shortcuts) when you copy Desktop, what do you suggest? If so what is the command to exclude shortcut extension.
Try this command

robocopy \\xxxxxfps1\Profiles$\%username% \\xxxxxfps1\CTXProfiles$\%
username% /e /r:1 /W:1 /V  /COPYALL /XF "*.ink" /Log:c:\logs\%username%.txt
You can simply config always syn to copy profiles to another location , this freeware is trustable.

http://allwaysync.com/