FREE Citrix XenApp Training

Are you setting up a new Proof of Concept
or a Production Environment?

I'll coach you through the configurations step-by-step with Real World Best Practices.

  • Microsoft Active Directory and Group Policy...
  • Install and Configure Citrix XenApp...
  • Citrix Web Interface and Licensing...
  • And Much Much More...

I respect your privacy. I'll NEVER sell, rent or share your email address. That's more than a policy, it's my personal guarantee!

Terminal Server & XenApp Tuning Tips Group Policy v1.1

gpmc 09 300x214 Terminal Server & XenApp Tuning Tips Group Policy v1.1

All credits go to Pierre Marmignon for his excellent post this weekend listing up all the Terminal Server & XenApp Tuning Tips. I have created a Group Policy based on these tips with OS W2K3/W2K8 and XenApp 4.x/5.x. The following is included in the policy :

  • Operations System Tuning & XenApp / Terminal Services
  • Additional Windows Explorer Tuning
  • XenApp Tuning

I am using the GPMC for Windows 2008 so you will need to download Group Policy Preference Client Side Extensions for W2K3 and you install it with this command : start /wait Windows-en-US-KB943729.exe /quiet /norestart

Follow the picture guide for instructions on how to import these settings. The Group Policy can be downloaded here.

gpmc 01 300x196 Terminal Server & XenApp Tuning Tips Group Policy v1.1

gpmc 02 300x290 Terminal Server & XenApp Tuning Tips Group Policy v1.1

gpmc 03 300x230 Terminal Server & XenApp Tuning Tips Group Policy v1.1

gpmc 04 300x230 Terminal Server & XenApp Tuning Tips Group Policy v1.1

gpmc 05 300x230 Terminal Server & XenApp Tuning Tips Group Policy v1.1

gpmc 05 01 300x230 Terminal Server & XenApp Tuning Tips Group Policy v1.1

gpmc 06 300x230 Terminal Server & XenApp Tuning Tips Group Policy v1.1

gpmc07 300x230 Terminal Server & XenApp Tuning Tips Group Policy v1.1

gpmc 08 300x243 Terminal Server & XenApp Tuning Tips Group Policy v1.1

gpmc 091 300x214 Terminal Server & XenApp Tuning Tips Group Policy v1.1

Update 22.06.2009 – XenApp50 Server Tuning Policy v1.1 :

The Group Policy Template has been updated to version 1.1 reflection changes from CitrixTools.net and some minor typos in the RDP-TCP section. I have also added Item-level Targeting for ICA-TCP tuning settings that checks if ICA-TCP exist in registry before applying the policy. The reason for this are because if the ICA-TCP exist there will be problems installing Citrix XenApp.

The Fastest Way to Getting Started with Citrix XenApp 5.0 on Windows 2008

5132 other Citrix Community members have already downloaded the eBook. It contains a lot of helpful information for both beginners and experts. Combined with the 7 day eCourse you will have a solid foundation to get certified as a Citrix Administrators. Check out some of these testimonials:

“I’ve used the the Hands On Guide for XenApp 5.0 extensively as a reference in my work. It’s been a great help to me”. John Martz – Illinois, USA

“Your guide was very helpful for me to get started with XenApp 5 and XenServer. I have deployed XenApp 5 using this on production environment and all looks good. Many thanks and keep up the good work!!!”. Manish N. Dwivedi – India

“Your web site has helped me greatly as I have now developed a test Citrix farm using your guide, this proved to be a great reference to follow when setting up a new 2008 environment with XenApp 5.0, not only does it cover installing XenApp but gives an insight into XenServer. Would highly recommend this web site and eBook to anyone from beginner to expert”. Nick Rimmer – Scotland

“I truly appreciate the work and the amount of time you spent in creating this amazing book. I found your book an excellent start to the world of Citrix XenApp. What I truly appreciate the most is the step by step instructions in about every little detail that goes with XenApp installation and settings. I wish I had your book a few years back when I first start learning about Citrix it would saved me a lot of hours and frustrations. Keep up the good work!”. Adam Tigris – Toronto

Prepare For Your Next Citrix Exam with FREE Training
Enter you email to Get Instant Access to Citrix Training and blog post updates directly to your inbox. Over 14644 people have already enjoyed this comprehensive training.

{ 40 comments… read them below or add one }

Tonny July 31, 2009 at 08:18

Hi there.
I tried te install this on Windows server 2003 R2, but at the import i get:
“The version option is invalid”.
Installed the Group Policy Preference Client Side Extensions for W2K3 also.
Will it only work on Windows 2008 server ?

Reply

admin July 31, 2009 at 12:04

This will only work from a Windows 2008 Server or Windows Vista SP1-based computers that have Remote Server Administration Tools (RSAT) installed. The domain controller doesn’t need to be W2K8. So if you have a W2k8 Server in your environment install GPMC or simply use a Vista PC to manage your Group Policy’s.

More info at Microsoft : http://support.microsoft.com/kb/943729

Eric

Reply

Franco September 4, 2009 at 04:03

Does this GPO v1.1 support windows 2008 x64 XenApp Servers? I just wanted to make sure that keys will be created in the correct places for x64 servers…

BTW… you guys are the best…

Thanks,
Franco

Reply

admin September 4, 2009 at 09:31

Thanks, good to hear you like the webpage. All Registry Hives are provided for x86 platforms. For x64 Platforms, do not forget to add “WoW6432Node” if hive is in HKLMSoftware.

Reply

Benoit Bégin September 21, 2009 at 23:05

Thanks. We are in a Windows Server 2003 environment so we can’t use your Windows Server 2008 template.

Do you have an ADM version of this wonderful template?

Thanks in advance,
Benoit

Reply

admin September 21, 2009 at 23:23

You can use it, you only have to admin the policy with a Windows Vista Machine. Take a look at the 2nd comment regarding this issue.

Eric

Reply

Benoit Bégin September 22, 2009 at 19:05

Hi Eric,

The thing is that we do not use Windows Vista in our organization. Can you easily export an ADM version of your template?

Reply

admin September 22, 2009 at 19:33

Nope sorry, you will have to put a virtual machine or something

Reply

George Kentas November 4, 2009 at 14:52

I try to force the GPO on a windows 2008 xenapp 5.0 farm. i checked that the GPO got apply on the machines. after login the users i found out that the roaming profiles are not loaded correctly. they had load a roaming temporary profile. Any idea how can i solve that.

thanks

Reply

Torsten January 28, 2010 at 11:11

Hi.
When I am following your guide to import your admx file to GPO, I keep getting a “No backups found” when I browse to the folder where the admx-file are located. Also tryed to copy the file locally to the server where I am trying from. It is a Win 2008 with Group Policy Management enabled.
What do I do wrong?

Thanks

Reply

admin January 28, 2010 at 15:25

Hi Torsten,

You will need to include the Backups folder. If you download and extract the file to C:, the path will be “C:XenApp50 Server – Tuning PolicyXenApp50 Server – Tuning PolicyBackups”.

Eric

Reply

Steven February 2, 2010 at 15:33

I set this policy on an OU with a win2008 x86 server in, the policy is applied (i see it in the gpresult), but when i check the registry nothing is added or changed, what am i doing wrong?
thx, steven

Reply

admin February 2, 2010 at 16:16

Hi Steven,

You will need to delete the key HKLMSOFTWAREPoliciesMicrosoftWindows NTTerminal ServicesWFDontAppendUserNameToProfile

This settings is to set Allow Mandatory Profiles Configuration via GPO. I will remove this in the next version.

Also make sure you have a Loopback processing GPO configured, it’s not part of this template.

http://support.microsoft.com/kb/231287

Eric

Reply

James Briggs March 21, 2010 at 16:39

Great Policy testing it right now as we speak. Had a quick question have you ever seen or heard of a document out there for best practices on user lockdown inside of a full published desktop for Xenapp. We are looking to deploy this to about three hundred end users, and just trying to understand the best ways to do profile redirection, locking down of admins tools, and also making sure server manager doesn’t launch on login.. Thanks again for your blog

Reply

admin March 21, 2010 at 22:57

Hi James,

I’m not aware of any documents on user lockdown. If you have Citrix XenApp Enterprise license I would recommend using the Citrix Profile Management. Within policy you will need to remove run, hide drives, disable registry, disable manage computer e.g. Take a look at this great blog Group Policy Center.

Reply

Daniel April 13, 2010 at 20:53

Looks great. I was ondering if there an older version of this gpo in .adm format anywhere. Small shop not ready to switch our AD servers to 2008. Thanks

Reply

admin April 14, 2010 at 04:40

Hi Daniel,

You do not have to switch your AD to W2K8, you can administrate the policy’s with Windows Vista / Windows 7 with the RSAT tool installed.

Eric

Reply

Chris Evensen May 3, 2010 at 16:20

Thank you so much for compiling this into an ADMx for us!

Excuse my ignorance, but could you elaborate on why a loopback policy needs to be set and also expand a little on my farm running on 64bit 2008 and your statement “do not forget to add “WoW6432Node” if hive is in HKLMSoftware.”? Can you push me in the right direction to tie things up so I can use this?

Thanks so much,

Chris

Reply

admin May 3, 2010 at 21:53
Glen_B June 30, 2010 at 22:42

Version 1.1 works very well with x86 servers. How do I go about changing it to work correctly on 64bit 2K8 R2 domain controllers for 64bit 2K8 R1 XenApp servers? Cheers GB

Reply

Trond Eirik Håvarstein June 30, 2010 at 23:18

Hi Glenn,

If your are going to use this policy on Windows 2008 x64 Remote Desktop Services (RDS) you’ll need to edit each string to point to the new Wow6432Node location.
In Windows 2003 x32 and x64 the Software registry keys are located e.g. like this : HKLMSOFTWAREMicrosoftWindows NTCurrentVersionAeDebug.
In a Windows 2008 x64 environment they are located here : HKLMSOFTWAREWow6432NodeMicrosoftWindows NTCurrentVersionAeDebug

I don’t know when I’ll have time to create new W2K8x64 templates, but hopefully they will be finished after the summer vacation.

Reply

Johnson July 21, 2010 at 13:49

Hi there,

My environment as below:

windows 2003 AD
Windows 2008 Xenapp 5 Server

windows XP workstations

How can I implement this group policy?
what do I need to download / install?
Is that possible a little bit details please?

Thanks
Johnson

Reply

Trond Eirik Haavarstein July 21, 2010 at 20:12

Hi Johnson,

All you have to do is to install Group Policy Management Console on one/all of your W2K8 XenApp 5 Server’s. Remember that you from now on need to administrate Group Policy from these servers. Start – Run – “ServerManagerCmd.exe -i GPMC”.

If you sign up for the eBook you’ll find all the information you need.

Reply

Tuck August 6, 2010 at 18:07

We have installed XenApp 6.0 on Windows 2008 R2. Will this tuning policy work with XenApp 6 as well?

Thanks,

Reply

Trond Eirik Haavarstein August 7, 2010 at 00:58

Hi Tuck,

No, you’ll need to take a look at this post : XenApp 6 Tuning Group Policy for Windows 2008 R2

Reply

Brian Anderberg August 20, 2010 at 17:11

Hi

LogoffCheckSysModules is not supported in XenApp 5.0 and 6.0 on Windows 2008 x64. Do you any other way of sorting process not closing at logoff?

Regards,
Brian

Reply

RP May 12, 2011 at 22:47

You test this gpo template in your environment?

Reply

Trond Eirik Haavarstein May 13, 2011 at 10:43

Hi RP, yes I’ve tested this and aslo 4570 other people that have download this policy template. Which problems do you have ?

Reply

Em Bee September 27, 2011 at 12:27

Hi – am I missing something? When I click the download here link I’m taken to a download site page to download core applications. I can’t see anything that resembles an exported gpo – any help appreciated.

Reply

Trond Eirik Haavarstein September 27, 2011 at 12:51

Hi Mark, thanks for letting me know. The link have been fixed

Reply

Ron Jameson October 20, 2011 at 17:50

Eric – curious if you ever updated to include 2008 x64 for this tuning? We are still on XA4.5/5 and added a few x64 servers and having some chaos with Office 2010 pausing for 5s – so would like to test applying this tuning. We are running office 2010 32bit, so was not sure if this GP will work or must I also double up with the x64 variants?

Thanks.

Reply

Trond Eirik Haavarstein October 20, 2011 at 18:59

Hi Ron, just check out this blog post : http://www.xenappblog.com/2010/xenapp-6-tuning-group-policy-for-windows-2008-r2/. This tuning only affect OS so it doesn’t matter if you’re running Office 2010 x32.

Reply

Ron Jameson October 21, 2011 at 05:17

Will this work for Xenapp 4.5/5 on 2008 64bit even though it shows for Xenapp6 (which is only 2008 R2)?

Reply

Trond Eirik Haavarstein October 21, 2011 at 12:04

Hi Ron,

I’ve not tested it on that system, but the XA5 should work on both x32 & x64. What’s different in the XA6 policy are the new Wow6432Node settings.

Reply

James Rankin February 22, 2012 at 16:40

Don’t know whether you are aware but for systems running AppSense Environment Manager v8.2 and up, the AEDebug registry key removal to disable Dr Watson will stop AppSense Environment Manager from working. See my blog post on it at http://appsensebigot.blogspot.com/2012/02/appsense-user-virtualization-service.html. A lot of Citrix/RDS users use AppSense so thought it might be worth pointing out.

Reply

Trond Eirik Haavarstein February 22, 2012 at 18:13

Thanks James, good to know

Reply

tg February 22, 2012 at 17:37

We are on Terminal Services on Windows 2003 R2, with Citrix Presentation Server for Windows 4.5.6 and Citrix XenApp – Administration 4.7.0.0 and use Group Policy and have Terminal Services user profiles.
We are upgrading from Office XP to Office 2010. I am having some users test Office 2010 and find that if they customize their Office 2010 settings they do not stick after log off from their Citrix session.
Is there a GPO or registry entry that may work for this problem?
Thanks!

Reply

Trond Eirik Haavarstein February 22, 2012 at 18:15

Sounds strange. Does the same happen if you logon with a clean profile?

Reply

Sven August 23, 2012 at 17:35

I’m looking for a way to be able to use terminal session targeting for ICA-TCP. I was hoping to use 1 GPO for printer deployment for Windows, View and Xenapp. I have 10 locations and to target each user to a printer thru a security group/ou is a pain. Also we have alot of travel inside the company and item level targeting with terminal session would be great if it would allow me to target ICA-TCP, not just RDP-TCP, because that does not help me one bit when it come to Xenapp. Is there a solution to this? Running Xenapp 4.5 on W2K3 servers.

Reply

Trond Eirik Haavarstein August 23, 2012 at 17:58

I’m not aware of a solution for this. That being said, it’s not recommended publishing printers through GPO because it will slow down your login time. On XA45 you could target IP addresses instead of AD Groups, but that will make problems for the traveling users.

Reply

Leave a Comment

{ 15 trackbacks }

Previous post:

Next post: