Delete profiles in Citrix Xenapp

Yesterday the c drive filled up on our xenapp servers. On investigation it was the users folder which had grown and caused the problem. We only publish apps to our users, so we dont need to store profiles.

What is the best way of keeping the users folder small? Could I write a powershell script to delete all profiles once every week or would this not be best practice?


johncolferSecurity ConsultantAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

Sekar ChinnakannuStaff EngineerCommented:
You can use the profile management tool to delete the profile whenever user get logged of from their session. You just have to install the profile management tool and import adm file configure group policy to remove the profiles from servers. To install \ configure use this doc for reference

Or you can use the delprof tool too remove the profile from server, some time profile get lock and it wont delete.  For syntax 

But i suggest to go for citrix profile management tool.
Dirk KotteSECommented:
if you use roaming profiles, you can configure removing of profiles after logoff.
this is possible with microsoft or citrix profile management. ( i think with others also)

if your users don't need personalized settings, you may use mandatory profiles.
these are loaded from central store also, but deleted at logoff without write back.

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
johncolferSecurity ConsultantAuthor Commented:
Thanks guys, I'll implement your suggestions tomorrow.
Dirk KotteSECommented:
do you need more hints?
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

From novice to tech pro — start learning today.