<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Andrew Morgan &#187; Office</title>
	<atom:link href="http://andrewmorgan.ie/tag/office/feed/" rel="self" type="application/rss+xml" />
	<link>http://andrewmorgan.ie</link>
	<description>Grumpy ramblings</description>
	<lastBuildDate>Fri, 30 Jun 2017 09:24:25 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.0</generator>
	<item>
		<title>How do i remove the language bar? (Updated)</title>
		<link>http://andrewmorgan.ie/2008/07/how-do-i-remove-the-language-bar/</link>
		<comments>http://andrewmorgan.ie/2008/07/how-do-i-remove-the-language-bar/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 06:28:07 +0000</pubDate>
		<dc:creator><![CDATA[andyjmorgan]]></dc:creator>
				<category><![CDATA[Batch Scripting]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Remote Desktop Services (RDS)]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Server Based Computing]]></category>
		<category><![CDATA[Virtual Desktop Infrastructure]]></category>
		<category><![CDATA[XenApp]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://andymorgan.wordpress.com/?p=71</guid>
		<description><![CDATA[The language bar, as handy as Microsoft think it is can cause real hassle in terminal services or Citrix sessions. Seeing a language bar for each opened application is both annoying and confusing&#8230; and well lets face it, how do often you actually use it? As the language bar is part on the office installation, i did not want to go fiddling with the installation properties incase it knocked anything else in the office install out of sync but i [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><img class="alignright" src="/wp-content/uploads/2008/07/images.jpg?w=144&amp;h=108" alt="" width="144" height="108" />The language bar, as handy as Microsoft think it is can cause real hassle in terminal services or Citrix sessions. Seeing a language bar for each opened application is both annoying and confusing&#8230; and well lets face it, how do often you actually use it?</p>
<p>As the language bar is part on the office installation, i did not want to go fiddling with the installation properties incase it knocked anything else in the office install out of sync but i did need to remove it from 70+ citrix servers without much overhead.</p>
<p>I read an article recently on the citrix forums and it suggested that ctfmon.exe was the owner of the language bar, once i knew this i wrote a script to deny users access to this file, which in turn would block from running.</p>
<p>I decided to use <a href="http://support.microsoft.com/kb/318754" target="_blank">xcacls</a> as a command line utility, i used xcacls to straight out deny members of the users group (locally) to access the file, this is done like this:</p>
<p><strong>xcacls.exe C:windowssystem32ctfmon.exe /E /d users /Y</strong></p>
<p>if you are using windows 2000, you can copy the xcacls.exe to an network share and run it from there without any issue.</p>
<p><strong>serversharexcacls.exe %SystemRoot%system32ctfmon.exe /E /d users /Y</strong></p>
<p>and if you want to hit 60+ servers remotely, use psexec</p>
<p><strong>psexec @servers.txt -u domainusername cmd /c &#8220;servernamectxutilsxcacls.exe %SystemRoot%system32ctfmon.exe /E /d users /Y&#8221;</strong></p>
<p>Servers.txt would be in the same directory as psexec, and would contain the server names one per line.</p>
<p>I&#8217;ve uploaded the script <a href="http://www.4shared.com/file/55640127/c56b7b7d/language_bar_disable.html">here</a>:</p>
<h2><strong>Update:</strong></h2>
<p>As of server 2008 / windows vista the above fix no longer works, this is due to the language bar being heavily integrated.</p>
<p>The following key controls the language bar in these operating systems:</p>
<p>HKEY_CURRENT_USERSoftwareMicrosoftCTFLangBar</p>
<p>Showstatus (DWORD).</p>
<p><img class="alignright wp-image-558 size-full" title="langbar" src="http://andrewmorgan.ie/wp-content/uploads/2011/08/langbar.png" alt="" width="719" height="205" /></p>
<p>To hide the language bar, set the value of showstatus to 3.</p>
<p>This can be done using a mandatory profile or group policy as below:</p>
<p><img class="alignright wp-image-568 size-full" title="Group policy" src="http://andrewmorgan.ie/wp-content/uploads/2011/08/group-policy1.png" alt="" width="1025" height="216" /></p>
]]></content:encoded>
			<wfw:commentRss>http://andrewmorgan.ie/2008/07/how-do-i-remove-the-language-bar/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
