Friday, March 25, 2011

Configuring XenApp 6.0 - Removing CTFMON.exe/ Language Bar

Don't you just love that out of the box XenApp 6.0 and Microsoft Windows Server 2008 R2 don't play nicely?

Do you see active connections where only ctfmon.exe or the "Microsoft Language Bar" is the only thing the client has open?

I spent hours digging around on the web to find this solution. Here it is:

Prerequisites required:
  • Group policy for Server 2008 R2 (check my other posts if you only have a Server 2003 DC and want to run GPO 2008)
  • Windows 7 machine or Server 2008 machine with GPO management tools installed.
 From your Windows 7/Server 2008 machine open GPO management by browsing to start> Run> MMC> OK> File Add/Remove Snap-in> Group Policy Management> Add> OK

Browse your to your domain by choosing the + on Domains.

Right click on the Group Policy Objects folder, and choose new.

Name your GPO according to what you would like to do with it, in my case I named it "XenApp Server Management", because I will be using this GPO for all of my XenApp settings.

Once it is created, right click it and choose edit.

Choose the + beside User Configuration.

Choose the + beside Preferences.

Choose the + beside Windows Settings.

Right click on Registry. Choose new, Registry Item.

Create the following 4 keys:
Action: Create
Hive: HKEY_CURRENT_USER
Key Path: Software\Microsoft\CTF
Value Name: Disable Thread Input Manager
Value Type: REG_DWORD
Value Data: 00000001
Base: Hexadecimal

Action: Create
Hive: HKEY_CURRENT_USER
Key Path: Software\Microsoft\CTF\LangBar
Value Name: ExtraIconsOnMinimized
Value Type: REG_DWORD
Value Data: 00000000
Base: Hexadecimal

Action: Create
Hive: HKEY_CURRENT_USER
Key Path: Software\Microsoft\CTF\MSUTB
Value Name: ShowDeskBand
Value Type: REG_DWORD
Value Data: 00000001
Base: Hexadecimal

Action: Create
Hive: HKEY_CURRENT_USER
Key Path: Software\Microsoft\CTF\LangBar
Value Name: ShowStatus
Value Type: REG_DWORD
Value Data: 00000002
Base: Hexadecimal

After you have created all of these you may close the Group Policy Management Editor to return to the Group Policy Management MMC.
You may now link this GPO to your XenApp Servers by Right Clicking the OU where your XenApp servers exist and choosing "Link and existing GPO" and choosing the GPO you just created.

No comments:

Post a Comment