Re: Disabling CTFMON.EXE on WIN2K3 Terminal Server Cluster.

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Alex K. Angelopoulos [MVP] (aka-at-mvps-dot-org)
Date: 08/20/04


Date: Fri, 20 Aug 2004 17:22:30 -0500

Geoffc wrote:
> Thanks Alex
>
> As per the KB 313176, I have already ticked the 'Turn off advanced text
> services' check box. No Luck!
>
> The last reply didnt have a link to the CTFMON.exe kill app.

Yes - it was attached to the post. There was no 'link' since I had written
it about 30 seconds before posting. :)

In case your newsreader is filtering attachments, the HTA is now online and
you can download it from here:
http://scripting.mvps.org/downloads/ctfmonkill.hta

> Could you please post the link again.

> I would still prefer to identify why the original 'fix' worked on one
> server, but not on it's identical partner.
>
>
> Geoff Craig
>
>
> "Alex K. Angelopoulos [MVP]" wrote:
>
>> Geoffc wrote:
>>> As noted in the MS KB Article below, I have attempted to disable an
>>> instance of CTFMON.EXE from running for every client that connects to
>>> our TS Cluster.
>>>
>>> http://support.microsoft.com/default.aspx?scid=kb;EN-US;q282599
>>>
>>> This has worked for 1 of the servers, but not the other.
>>>
>>> Any suggestions on what MAY be wrong would be appreciated.
>>
>> You may also want to check the information here:
>> http://support.microsoft.com/?kbid=313176
>> for additional steps to take.
>>
>> An alternative hack I have used for checking on ctfmon instances and
>> killing them is to run an application that requests notification via
>> WMI of ctfmon.exe creation events and then kills the instances.
>> Attached is an HTML Application that does precisely this; rename
>> ctfmonkill.hta.txt to ctfmonkill.hta, then run it in a session that
>> has administrative privileges on the Terminal Server. It will
>> automatically see and kill all ctfmon instances within 10 seconds of
>> their launch, and will log the event to its display window



Relevant Pages

  • Re: Disabling CTFMON.EXE on WIN2K3 Terminal Server Cluster.
    ... The last reply didnt have a link to the CTFMON.exe kill app. ... > An alternative hack I have used for checking on ctfmon instances and killing ... > ctfmon.exe creation events and then kills the instances. ... > on the Terminal Server. ...
    (microsoft.public.windows.terminal_services)
  • Re: Disabling CTFMON.EXE on WIN2K3 Terminal Server Cluster.
    ... An alternative hack I have used for checking on ctfmon instances and killing ... ctfmon.exe creation events and then kills the instances. ... on the Terminal Server. ...
    (microsoft.public.windows.terminal_services)
  • Killing a process
    ... which allowed you to kill a named process on a computer. ... FOR EACH oProcess IN oResult ... terminal server i get an error for some users. ... ERROR: OLE exception error: Exception code c0000005. ...
    (microsoft.public.fox.programmer.exchange)
  • Killing a Process second attempt
    ... I posted a script a few weeks back which attempted to use WMI scripts to ... kill all occurances of an exe for a specific user. ... User on Terminal server this fails with a C005 when attemptting to use the ...
    (microsoft.public.fox.programmer.exchange)