CmdAgent.exe utilizing 100% CPU


Yesterday was a very bad day for me.  No sooner had I posted yesterday’s article then my computer became impossible to use.

Even though I have anti-virus software installed on my computer, every indication was that I had picked up some virus, not just on the tower I use every day, but on the 2003 server I have my exchange server on.

Tracking down the problem took 4 hours.  I hope this can save someone a few of those hours.

My first mistake tracking this down was that I didn’t check the “show processes from all users” check box in task manager.  So when I looked in task manager I couldn’t see any tasks that were eating up CPU time even though I could see that the CPU was at 100% utilization. 

Tip:  Go turn on the “show processes from all users” check box now while you aren’t in the middle of trying to solve a similar problem.  You probably won’t see it when you are in the middle of panic problem solving and it is off by default.

Once I turned that on, which was about 2 hours into this because my computers were running so slowly, I could see that CmdAgent.exe was using 100% of the CPU time.  What’s CmdAgent.exe?

A Google search indicates that this program is part of the Comodo Firewall package.  Sometimes a cold boot or a warm boot clears up the problem.

I also found a post that said something about how to configure the firewall.  But it was working perfectly fine up until yesterday morning.

Then I saw an article that said that if the update process sends down a corrupt file, CmdAgent.exe can go into a tailspin.  The only reliable way to fix the problem is to uninstall and re-install the software.

  • On a computer that doesn’t have the problem, download a recent version of the Comodo Pro package (virus and firewall) and put it on a USB.
  • Disconnect your computer from the network.
  • Reboot your computer into “safe” mode.  You can get there by pressing F8 while booting up.  You should eventually see a menu screen with “safe mode” as one of the options.
  • In safe mode, uninstall Comodo Pro
  • Reboot the computer
  • Install the Comodo Pro you just downloaded.  This will end by rebooting your computer one more time.
  • Once you’ve rebooted, reconnect to your network.

Like I said, I hope this helps someone else save a little time in the future.

Related Post

  • DataSets, TableAdapters, and Transient Retry Logic For SqlAzureDataSets, TableAdapters, and Transient Retry Logic For SqlAzure The main project I’m working on these days is moving several web sites to Azure.  It is something I’ve wanted to be able to try for a while.  I’m working with several other agencies on this project...
  • Upgrading Vista 32 bit to Windows 7 64bitUpgrading Vista 32 bit to Windows 7 64bit Since I own an MSDN subscription, I was able to get my hands on a copy of Windows 7 last Thursday. I didn’t actually install it until this past Sunday because Sunday is the only day I don’t need...
  • Some days, technology is more trouble than it’s worth.Some days, technology is more trouble than it’s worth. As I sit down to write this morning, thinking about what I could write that would be valuable to you, the only thing I can think is, “Blah, I have nothing in me.” But why is this?  Why is it...
  • Synergy – The Virtual KVM (sort of)Synergy – The Virtual KVM (sort of) This afternoon (last Thursday by the time this actually goes live) one of my clients introduced me to Synergy.  This is one of the coolest tools I've seen since VNC. Now, to be honest, this ...
  • SubVersion Instead of Visual SourceSafeSubVersion Instead of Visual SourceSafe By now, many of you using Visual SourceSafe with Visual Studio 2008 know that VSS doesn't work with VS2008 out of the box.  There is a fix available which the link below will lead you to.  However,...
  • Luis

    Thanks dude, I was having this problem so do a couple of my friends, atm comodo is behaving but not all the time

  • Jason

    Same thing happened to me today. I guess something must have been wrong with an update they pushed out recently. My computer was literally unusable, and so I removed comodo firewall and av from my computer and installed avast and outpost firewall. Much better now!

  • joao carmo

    thank you very much great tip i was having the same problem !!!