1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

FIX for Thinkpad runs slow on Sundays

Discussion in 'All Other Software' started by T60, Dec 11, 2011.

Thread Status:
Not open for further replies.
Advertisement
  1. T60

    T60 Thread Starter

    Joined:
    Dec 11, 2011
    Messages:
    8
    I realise there's already a thread about lenovo Thinkpads (e.g. T60, T500) running slow on Sundays due to the automatic invocation of launcheg.exe which itself launches egather2.exe which then results in 100% CPU, requiring Task Manager to be opened and the associated processes killed manually.

    However:

    Being an ex-programmer, and getting extremely fed up with having the same chore each Sunday, I finally had a lightbulb moment: why not create my own versions of launcheg.exe and egather2.exe, such that they return immediately without doing anything, and replace the existing ones on my system with my own new ones? For added bells and whistles, I coded the two exe's so that they log themselves to a simple text file under C:\Windows\System32 showing that they've been invoked.

    For those of you who don't understand code, ignore the following lines, and scroll further down... for the rest of you, here's my C# code used to build these exe's

    using System;
    using System.Collections.Generic;
    using System.Text;
    using System.IO;

    namespace launcheg
    {
    class Program
    {
    static void Main(string[] args)
    {
    StreamWriter sw = new StreamWriter(".\\launchegLog.txt", true);
    sw.WriteLine(DateTime.Now.ToString("") + " invoked.");
    sw.Close();
    }
    }
    }


    Basically this creates an executable called "launcheg" which logs to a text file called launchegLog.txt with a date & time stamp and then stops.
    I did a similar thing for egather2.exe but strictly speaking that's not necessary since this is only ever invoked from launcheg.exe so once you've replaced that with the above, the original egather2.exe will never run again.

    Ok, non-coders, welcome back.
    Attached are the two exes in a winrar archive. Unpack these somewhere on your system.
    Locate launcheg.exe under C:\Program Files\Lenovo\Rescue and Recovery
    Rename the existing launcheg.exe to launcheg.exe.old, and copy the new launcheg.exe into this location from where you unpacked it from the rar
    (If you like, do the same for egather2.exe under C:\Program Files\Common Files\Lenovo\egatherer, but this is entirely optional)

    That's all there is to it.
    Now every Sunday your lenovo Thinkpad will invoke the new launcheg.exe which will log an entry in the following file: C:\WINDOWS\system32\launchegLog.txt

    Here's what my file currently looks like:
    20/11/2011 05:36:07 invoked.
    27/11/2011 12:28:56 invoked.
    04/12/2011 06:57:41 invoked.
    11/12/2011 13:01:00 invoked.
    (yes I've been up early on a couple of Sundays last month :) )

    Good luck!
    May your slow-running-lenovo-Thinkpad problems be a thing of the past.
     

    Attached Files:

  2. T60

    T60 Thread Starter

    Joined:
    Dec 11, 2011
    Messages:
    8
    By the way, I've not really got to the bottom of what this might do to the lenovo Rescue and Recovery system, other than deny it a file containing info about hardware of the host machine.
    But to be honest, I'm not bothered.
    Maybe I'll regret it if I ever have a need to use the Rescue and Recovery system....but I've been using lenovo Thinkpads for over 5 years - T43 & T60 - and never had cause to yet.
    Anyway, it's your choice.....:)
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1030722