[THIN] Re: Language Bar

  • From: Jeremy Saunders <Jeremy.Saunders@xxxxxxxxxxxxxx>
  • To: "thin@xxxxxxxxxxxxx" <thin@xxxxxxxxxxxxx>
  • Date: Thu, 21 Oct 2010 00:34:38 +0000

At build time. It's all machine settings that an Administrator need to 
execute.....these are not user settings.

But you just triggered another thought. If you want to clean up the user 
profiles, you can run the following vbscript as a login script.

---------------------------------start of 
vbscript-----------------------------------------
Option Explicit

Dim WshShell, strKey1, strKey2

set WshShell = WScript.CreateObject("WScript.Shell")
strKey1 = "HKCU\Software\Microsoft\Windows\CurrentVersion\Run\"
strKey2 = "HKCU\Software\Microsoft\CTF\"

'If the ctfmon.exe value is not there, the script will return an error, so we 
need to resume.
On Error Resume Next

WshShell.RegDelete strKey1 & "ctfmon.exe"

'Clear the error and turn error reporting back on
Err.Clear
On Error Goto 0

WshShell.RegWrite strKey2 & "Disable Thread Input Manager", "00000001", 
"REG_DWORD"
WshShell.RegWrite strKey2 & "\MSUTB\ShowDeskBand", "00000000", "REG_DWORD"

Set WshShell=Nothing

wscript.quit(0)
---------------------------------end of 
vbscript-----------------------------------------

Cheers,
Jeremy.

-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of 
Greg Reese
Sent: Thursday, 21 October 2010 8:15 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Language Bar

Yeah but at login for everyone or just one time at build?




On Oct 20, 2010, at 6:56 PM, Jeremy Saunders <Jeremy.Saunders@xxxxxxxxxxxxxx> 
wrote:

> In a .cmd script.
>
> -----Original Message-----
> From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On 
> Behalf Of Bruce Ricker
> Sent: Thursday, 21 October 2010 7:01 AM
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Re: Language Bar
>
> Thanks jeremy...do you use that as a .vbs and just execute once on the box?
>
> On 10/20/10, Jeremy Saunders <Jeremy.Saunders@xxxxxxxxxxxxxx> wrote:
>> This is what I use...
>>
>> :: Disable the Language Bar.
>> IF EXIST %SystemRoot%\system32\MSCTF.dll regsvr32 /u /s 
>> %SystemRoot%\system32\MSCTF.dll IF EXIST 
>> %SystemRoot%\system32\MSUTB.dll regsvr32 /u /s 
>> %SystemRoot%\system32\MSUTB.dll
>>
>> :: Disable CTFMON the easy way by denying Users the ability to execute it.
>> TAKEOWN /f "%SystemRoot%\System32\ctfmon.exe"
>> ICACLS "%SystemRoot%\System32\ctfmon.exe" /remove:g Users /deny
>> Users:(X) /grant Administrators:F /grant System:F ICACLS 
>> "%SystemRoot%\System32\ctfmon.exe" /setowner "NT 
>> Service\TrustedInstaller"
>>
>> ::Hide language bar for the .Default user SET 
>> KEY=HKU\.DEFAULT\Software\Microsoft\CTF
>> REG ADD "%KEY%\LangBar" /V ShowStatus /T REG_DWORD /D 0 /F REG ADD 
>> "%KEY%\MSUTB" /V ShowDeskBand /T REG_DWORD /D 0 /F
>>
>> SET KEY=HKU\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Run
>> REG DELETE "%KEY%" /v "CTFMON.EXE" /f
>>
>> Cheers,
>> Jeremy.
>>
>> From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On 
>> Behalf Of Bruce Ricker
>> Sent: Thursday, 21 October 2010 6:37 AM
>> To: thin@xxxxxxxxxxxxx
>> Subject: [THIN] Re: Language Bar
>>
>> yeah i removed users from it...no dice On Wed, Oct 20, 2010 at 2:58 
>> PM, Joe Shonk <joe.shonk@xxxxxxxxx<mailto:joe.shonk@xxxxxxxxx>> wrote:
>> Have you tried denying execute rights to ctfmon.exe?
>>
>> Joe
>>
>> From: thin-bounce@xxxxxxxxxxxxx<mailto:thin-bounce@xxxxxxxxxxxxx>
>> [mailto:thin-bounce@xxxxxxxxxxxxx<mailto:thin-bounce@xxxxxxxxxxxxx>]
>> On Behalf Of Bruce Ricker
>> Sent: Wednesday, October 20, 2010 11:21 AM
>> To: thin@xxxxxxxxxxxxx<mailto:thin@xxxxxxxxxxxxx>
>> Subject: [THIN] Language Bar
>>
>> The Office Language Bar used to be so easy to remove on Server 2003.
>> Does any one have a step by step on how to do this on 2008R2? Should 
>> i just pop a reg key into CU?
>>
>>
>> #####################################################################
>> #
>> ###############
>> Confidentiality and Privilege Notice
>> This document is intended solely for the named addressee.  The 
>> information contained in the pages is confidential and contains 
>> legally privileged information. If you are not the addressee 
>> indicated in this message (or responsible for delivery of the message 
>> to such person), you may not copy or deliver this message to anyone, 
>> and you should destroy this message and kindly notify the sender by 
>> reply email. Confidentiality and legal privilege are not waived or lost by 
>> reason of mistaken delivery to you.
>> #####################################################################
>> #
>> ###############
>>
>
> --
> Sent from my mobile device
> ************************************************
> For Archives, RSS, to Unsubscribe, Subscribe or set Digest or Vacation mode 
> use the below link:
> //www.freelists.org/list/thin
> Follow ThinList on Twitter
> http://twitter.com/thinlist
> ************************************************
> ######################################################################
> ###############
> Confidentiality and Privilege Notice
> This document is intended solely for the named addressee.  The information 
> contained in the pages is confidential and contains legally privileged 
> information. If you are not the addressee indicated in this message (or 
> responsible for delivery of the message to such person), you may not copy or 
> deliver this message to anyone, and you should destroy this message and 
> kindly notify the sender by reply email. Confidentiality and legal privilege 
> are not waived or lost by reason of mistaken delivery to you.
> ######################################################################
> ###############
> ************************************************
> For Archives, RSS, to Unsubscribe, Subscribe or set Digest or Vacation 
> mode use the below link:
> //www.freelists.org/list/thin
> Follow ThinList on Twitter
> http://twitter.com/thinlist
> ************************************************
************************************************
For Archives, RSS, to Unsubscribe, Subscribe or set Digest or Vacation mode use 
the below link:
//www.freelists.org/list/thin
Follow ThinList on Twitter
http://twitter.com/thinlist
************************************************
#####################################################################################
Confidentiality and Privilege Notice 
This document is intended solely for the named addressee.  The information 
contained in the pages is confidential and contains legally privileged 
information. If you are not the addressee indicated in this message (or 
responsible for delivery of the message to such person), you may not copy or 
deliver this message to anyone, and you should destroy this message and kindly 
notify the sender by reply email. Confidentiality and legal privilege are not 
waived or lost by reason of mistaken delivery to you.
#####################################################################################
************************************************
For Archives, RSS, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
//www.freelists.org/list/thin
Follow ThinList on Twitter
http://twitter.com/thinlist
************************************************

Other related posts: