Outlook profiles on published Citrix after Office 365 migration

Recently migrated from local Exchange server to Office 365.  When clients login to our 2 Citrix servers, we have to recreate their Outlook profile so that it will reconfigure to point to the Exchange Cloud.  We could delete their Citrix profiles and that would force the user to resetup their email (twice, once on each Citrix server).  Is there a scripts or ___ I can deploy to alleviate this support headache?
EJL37Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Will SzymkowskiSenior Solution ArchitectCommented:
Removing all of the profiles from the Citrix Server shouldn't be hard, just delete them, you only have 2 of them. Also to simplify the profile aspect, I would be using the "Remote Desktop Services Profile" Tab in the users Active Directory Users properties.

Using this method the user will only have to configure their Outlook profile one time.
profile.JPG
Will.
0
EJL37Author Commented:
This is what i was really looking for:  http://blog.eastridge.net/office-365-terminal-server-profile-automation

Create a .bat file that will execute Outlook and initialize the new .PRF.  The script would 1st check to see if there was a blank .TXT file in c:\users\%username%\Documents named outlook.txt.  If the file exists the script skips to the end and does not execute Outlook profile creation.  This important because you do not want a new profile created every time the user logs in.

if EXIST "C:\users\%username%\documents\outlook.txt" GOTO End

If the file does not exist the script executes Outlook initializing the PRF.  This will open Outlook and start creating the new Outlook profile.

start /MIN "outlook prf" "C:\Program Files (x86)\Microsoft Office\Office14\OUTLOOK.EXE" /importprf \\server1\netlogon\office365.prf

Finally the script creates a file in c:\users\%username%\documents called outlook.txt.

BREAK> "c:\users\%username%\documents\outlook.txt"

The entire script looks like this(make changes to the names according to the file names and locations:

if EXIST "C:\users\%username%\documents\outlook.txt" GOTO End

start /MIN "outlook prf" "C:\Program Files (x86)\Microsoft Office\Office14\OUTLOOK.EXE" /importprf \\servername\netlogon\office365.prf

BREAK> "c:\users\%username%\documents\outlook.txt"

:END
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
EJL37Author Commented:
It is what worked for my situation; creating a new profile without touching the workstation; forcing the user to recreate their outlook profile.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Office 365

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.