Link to home
Start Free TrialLog in
Avatar of goprasad
goprasad

asked on

Script to remove/delete Citrix users TSP in their AD profile

Hello there,

I am in process of migrating Citrix Full Desktop users from old farm (XA 4.5 farm) to new XenApp 6.5 farm.

I need a script which removes/deletes Terminal Services Profile path in users AD profile.

Please advise.

Thanks and Regards
ASKER CERTIFIED SOLUTION
Avatar of Vijaya Reddy Pinnapa Reddy
Vijaya Reddy Pinnapa Reddy
Flag of India 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

I just the TSP path to be deleted from the TSP tab in users AD profile, for the usernames extracted in a text file.
SOLUTION
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 Irwin W.
Is stead of mixing the two profiles up, iwould suggest making a second.GPO that will apply only when users login to your Citrix servers.

You may also what to create a second location to store their Citrix TS profiles.

I will post later today my gpo settins for this.
Currently users in old XA 4.5 farm has profile stored in \\xxxxxfps\Profiles$\%username% and TSP in users AD profile tab has this path
Users when connecting to new XA 6.5 farm, Citrix Profile Management has been configured to created profile in \\xxxxxfps\CTXProfiles$\%username%

My objective is when user A is migrated from old to new farm, I would like to have the his old TSP path removed/deleted from his AD profile.

My plans is to migrate 50 users at a time, and I can run script to extract usernames and I want those 50 user's TSP profile path in AD to be deleted/removed.

Please advise