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 | No Comments »
Resultant Set of Policy/gpresult: access denied error message
Posted on October 16th, 2008
When running a Resultant Set of Policy from the Group policy management Console (GPMC) the following error is displayed:
Also, the following ‘access denied’ error appears when running gpresult.exe from a command prompt on the server:
Running on other servers seems okay, but on these specific servers there is a problem.
Resolution
This can be resolved by doing the following:
cmd
c:
cd\windows\system32regsvr32 /n /I userenv.dll
cd\windows\system32\wbem
mofcomp scersop.mofgpupdate /force
Tested as working on Windows 2003 x64 Enterprise Edition. (and it doesn’t even need a reboot)
Tags: access denied, error, gpmc, gpresult, rsop, wmi
Filed under Scripts/Reg, Windows 2003 | 4 Comments »
Slow logons at ‘applying registry policy’ stage on a Windows 2003 Citrix Server
Posted on September 24th, 2008
Problem
When a user logs onto a Citrix server, it can take up to 10 minutes at ‘applying registry policy’ during the logon process.
Background
The server specification was as follows:
- Windows 2003 R2 x64 Standard Edition
- Citrix Presentation Server 4.5 HFRP02.
The server was member of an Windows 2003 Active Directory domain with many DC’s spread amongst different sites. It was in an Active Directory ‘sites and services’ site group along with many other Citrix servers and configured for 3 DC’s split over 2 physical locations.
Tags: AD Site, apply group policy, applying group policy, applying registry policy, dfs, group policy, OpLocksDisabled, opportunistic locking, registry.pol, SetRegistryValue, slow, slow login, slow logon, sysvol, UserEnvDebugLevel
Filed under Windows 2003 | 3 Comments »
How many Processor cores are supported by Windows 2003 Standard Edition
Posted on September 16th, 2008
Windows 2003 Standard Edition vs Enterprise Edition
In the past there were some limitations emposed on Windows 2003 Standard Edition which in some situations would mean that you would need to spend a bit more money and buy the Enterprise version instead. One of these limitations was memory and specifically related to the PAE environment (as detailed here).
However, I was asked the question about processors. Will Windows 2003 Standard Edition support 2 Quad core processors (8 cores in total)?
After much digging I have found the following resources to say that Standard Edition will support this:
- Microsoft Forum: post
- Microsoft document: Software for Multicore and Hyperthreaded Processors
Summary
Yes, Windows 2003 Standard Edition will support upto 4 physical processors, whether the processors in the system are single-core, hyperthreaded, or multicore.
Tags: core, edition, enterprise, how many, multicore, processor, quad, standard, supported, Windows 2003
Filed under Windows 2003 | No Comments »
Event ID 11327 – MsiInstaller. Invalid Drive: h:\
Posted on September 11th, 2008
When trying to install a Windows Installer (msiexec) .msi package, the following error may appear:
Event Type: Error
Event Source: MsiInstaller
Event Category: None
Event ID: 11327
Description:
Product: ‘Whatever this product name is’ — Error 1327.Invalid Drive: h:\
Tags: error, event id 1327, eventid 11327, invalid drive, msiexec, msiinstaller, shellfolders, usershellfolders, Windows 2003
Filed under Windows 2003 | No Comments »


