How to display the language bar for some users on a Citrix server
Posted on November 6th, 2008
The language bar is the small icon that appears near the systray and displays a 2 character code for your language, for example EN for English. When maximized it also appears as a ribbon at the top of the screen as shown:

Normally on a Citrix server you would want to hide this and there are many resources on the internet to help you do this, but the two main ways are:
How to disable the language bar
Enable the group policy entry: (hides quick launch aswell)
- User configuration | Administrative templates | Start Menu & Taskbar | Do not display custom toolbars in the taskbar ENABLED
or
Apply the following registry settings to the users via logon scripts:
- HKEY_CURRENT_USER\Software\Microsoft\CTF\LangBar\ShowStatus [REG_DWORD]
- 00000003
How to enable for some users
The group policy setting must be disabled, i.e. to allow the display of custom toolbars on the taskbar.
- User configuration | Administrative templates | Start Menu & Taskbar | Do not display custom toolbars in the taskbar DISABLED
However, this will then display the language bar for all users which is not what is required.
To hide from all users, but allow for some, apply the following scripts at logon via logon scripts:
(in this case using KIX)
;Disable Language bar for all users by default
? “Disable language bar for all users by default”
$WriteReg = WRITEVALUE(“HKEY_CURRENT_USER\Software\Microsoft\CTF\LangBar”, “ShowStatus”, “00000003″, “REG_DWORD”)
IF INGROUP (“domain\Language Bar users”)
? “Adding Language Bar support”
? “”
$WriteReg = WRITEVALUE(“HKEY_CURRENT_USER\Software\Microsoft\CTF\LangBar”, “ShowStatus”, “00000004″, “REG_DWORD”)
$WriteReg = WRITEVALUE(“HKEY_CURRENT_USER\Software\Microsoft\CTF\LangBar”, “Transparency”, “000000ff”, “REG_DWORD”)
$WriteReg = WRITEVALUE(“HKEY_CURRENT_USER\Software\Microsoft\CTF\LangBar”, “Label”, “00000001″, “REG_DWORD”)
$WriteReg = WRITEVALUE(“HKEY_CURRENT_USER\Software\Microsoft\CTF\LangBar”, “ExtraIconsOnMinimized”, “00000000″, “REG_DWORD”)
? “Adding Additional Language support, in this case japanese”
? “”
$WriteReg = WRITEVALUE(“HKEY_CURRENT_USER\Keyboard Layout\Preload”, “1″, “e0010411″, “REG_SZ”)
$WriteReg = WRITEVALUE(“HKEY_CURRENT_USER\Keyboard Layout\Preload”, “2″, “00000809″, “REG_SZ”)
$WriteReg = WRITEVALUE(“HKEY_CURRENT_USER\Software\Microsoft\CTF\Assemblies\0×00000411\{34745C63-B2F0-4784-8B67-5E12C8701A31}”, “Default”, “{B3209488-CB34-4017-8E13-10CFCA2519FE}”, “REG_SZ”)
$WriteReg = WRITEVALUE(“HKEY_CURRENT_USER\Software\Microsoft\CTF\Assemblies\0×00000411\{34745C63-B2F0-4784-8B67-5E12C8701A31}”,”KeyboardLayout”, “00000000″, “REG_DWORD”)
$WriteReg = WRITEVALUE(“HKEY_CURRENT_USER\Software\Microsoft\CTF\Assemblies\0×00000411\{34745C63-B2F0-4784-8B67-5E12C8701A31}”, “Profile”,”{DAF93FA4-C39D-4AD8-BE61-16A1DFA3A1DA}”, “REG_SZ”)
ENDIF
This will enable the language bar icon for members of this group and display an additional language option (in this case it adds Japanese)
Tags: disable, enable, japanese, language bar, Scripts/Reg
Filed under Windows 2003 |
