Forum posts for ctfmon.exe

Batch file has errors when run, but enter trough command line works fine

I'm helping one of my friends with his QA work. A lot of the time ctfmon.exe is always running in the background and he says it takes up memory on the computer for when he's testing. My friends work machine is using Windows XP

He already tried what was said in this article but it didn't help.
http://www.howtogeek.com/howto/windows-vista/what-is-ctfmonexe-and-why-is-it-running/

We then tried to create a simple batch file that would stop the process for him.
Here are the two files that we have

delete_cftmon.reg:

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun]
'ctfmon.exe'=


Novoice.bat

taskkill /F /IM ctfmon.exe /T
regedit.exe /s delete_cftmon.reg
reg delete HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun C:WINDOWSsystem32ctfmon.exe
rem reg delete [HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun] 'ctfmon.exe'


I get the following errors 'invalid command line parameters' and 'Invalid key name'

When we enter the commands via the command line it works fine.

I believe it has to do with HKEY_CURRENT_USER but I'm not entirely sure why.
Any help would be greatly appreciated.

View complete forum thread with replies

Other posts related to ctfmon.exe

See Related Forum Messages: Follow the Links Below to View Complete Thread

python os.path.exists() can't locate the file however the file indeed exsits
How do I enable ctfmon.exe under Windows 7 Professional
Batch file has errors when run, but enter trough command line works fine

What is the carbon footprint of your coffee?

Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.