Feanor

Blogging since the First Age

How to uninstall Windows Search KB940157

,

You have installed Windows Search, then you run CCleaner. Unfortunately CCLeaner considers Windows Search as an "hotfix" (those patches from Windows Update) and then removes the uninstaller. After that you can't remove Windows Search any more. You have downloaded the "stand alone" installer "WindowsSearch-KB940157-XP-x86-enu.exe" from Microsoft to install it again and then uninstall but you see installing it does not re-create the entry in "control panel - installed apps" either the "$NtUninstallKB940157$" subdir in "Windows".

Solution:
1. manually create a restore point (just in case)

2. delete these keys from the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB940157
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KB940157

3. reinstall the standalone "exe".

4. now you can see the "$NtUninstallKB940157$" directory. Open this dir and look for a dir named "spuninst". Within the spuninst dir you should find a file named "spuninst.exe". Running this file should manually uninstall Windows Search.

Versione italiana qui: http://eldalie.blogspot.com/2009/01/come-disinstallare-windows-search.html

Opera and FirefoxMy prophecy

Comments

Shaunak DeShaunak Sunday, January 25, 2009 9:28:37 AM

I used the ol' noodle and never installed it p

Lorenzo CelsiLorenzoCelsi Sunday, January 25, 2009 9:38:45 AM

I installed it to see how it works. I don't know the implications of retrieving data when deployed over a complex network but on my laptop it was just nonsense, wasting an incredible amount of CPU and RAM for continuous indexing of directory and files, while basically not adding anything useful to the usual search. At least, for the way I perform the search. I don't see the sense in proposing this thing via the Windows Update, as long as .Net framework updates.

On a side note: I still remember old good times when utilities like "Volkov Commander" (a file manager for Dos) were written in Assembler and took maybe 10KB of the first 640KB of memory.

Aux Sunday, January 25, 2009 10:58:39 AM

I don't see this one in Windows Update (: This is because I have stripped down by vLite Vista without search engine at all - I use Far Manager for all file operations.

Shaunak DeShaunak Monday, January 26, 2009 3:52:12 AM

@Aux: it should be under optional updates...

Speaking of Assembler....

I tried a little experiment.
I wrote a simple program, to display a triangular pattern and compiled it with Turbo CPP and MS visual C++.
Turbo C++ returned a 24.5 KB application. The same thing in VC++ returned nearly a Several Hundred KB monster...(I dont remember the exact figure)

I preserved the TurboCPP exe though: http://rapidshare.com/files/189496067/TEST.EXE.html

My question is, are we moving a step forward and two steps back?

Lorenzo CelsiLorenzoCelsi Monday, January 26, 2009 8:45:03 AM

The official explanation I got was: "since hardware is less expensive than programmers, today's programming tools are focused on making the development easier and faster, regardless the "efficiency" of the resulting code".
I guess the same goes for the software design phase (when you set the specs, requirements and goals) and the testing/quality assurance (when you verify how the software performs).

I mean, I was speaking with a girl who bought a new laptop and complained it was so slow she could barely work on it. She told me the PC had 2 GB of RAM. I checked and the girl did not have anything wrong on the PC, besides Vista, some MS tools like Windows Defender and a bunch of "utilities" like those "Norton Total Termo Nuclear Fotonic Protection" running in background. Once removed the useless tools and verified the Windows services, the computer worked much better, more or less like my laptop with WinXP and 512 GiB of RAM (that is 1/4) and a much older CPU.

Yes, we are moving backwards, technically speaking. But it is all about marketing and selling stuff, not about technicalities. The whole IT business is about selling "new" crap every day. In the field of home appliances like the washer, they just make the washer so it breaks after some amount of cycles, then people must buy a new one every "x" years. Since software does not break, they need to find a way to force people to buy new stuff and usually it is done by promising "new" fantastic features, which are then made with worse coding that requires "new" hardware and so on.

Aux Monday, January 26, 2009 9:33:27 AM

@Shaunak: the problem with big executables comes from a few issues.

First of all C language is not optimized for small executables, compiler can not detect what code to include into binary and what to skip, because it just compiles file by file and leaves all the dirty work to linker, which is not meant to detect application logic. So if you include io library and use only one function from it it does not matter - resulting binary will have all the code from library. For example, back in the days Borland Pascal was great because it had heuristics and removed unneeded code. Pascal is well-suited for such optimizations, C is not. OOP broke this feature in Delphi by the way.

Next is that nowadays compiler creators think that you always create compilcated software, so they include a lot of unneeded infrastructure like exception handling, memory managers etc. So even if you make Hello World you actually end up with a monster. Programming is not fun any more ):

Another issue is GUI frameworks. VCL, MFC and so on. Actually all of them is garbage, because current GUI APIs are lame and very unfriendly. So if you do not want to spend a few weeks in bloody warfare with WinAPI GDI or naked X you use MFC, Qt and so on rendering your small application into a big monster.

Actually I can continue this list, but who cares? Programmers have a lot of legacy nowadays. We need to drop C and, especially C++, we need to rewrite from scratch OS APIs and we need to teach programmers from start to adapt new and better technologies. But who will do it? Everyone know that X infrastructure sux for at least ten years now and what did open source geniuses made? Instead of dropping X they upgraded it to composite X. Whatta hell? And theese guys do not have any strings attached like Microsoft employees... Yet Microsoft guys work on Singularity with new technologies in mind - no C, no WinAPI, less stupidity. It is sad that Singularity is not Microsoft's target and they are busy with Windows...

Lorenzo CelsiLorenzoCelsi Monday, January 26, 2009 9:41:08 AM

Oh it is obvious they are busy with Windows, considering how good it became lately... smile

Aux Monday, January 26, 2009 9:48:23 AM

Considering amount of compatibility and legacy inside they did a good job with Windows 7, but they are moving in wrong direction. Good example of that is tray popups - Windows 9x had a bug and it is there now and is documented so old software aware of it would work correctly. And they have a lot of such buggy places for old software compatibility. They really need to start from scratch and bury Win32. They can even start with NT kernel once again, because theoretically it is one of the best kernels available today, but currently it is flooded with legacy and compatibility issues.

Lorenzo CelsiLorenzoCelsi Monday, January 26, 2009 9:59:57 AM

I have thought of it.
In my opinion the current situation depends on three factors:
1. Microsoft believing they did not have any competitor on the desktop. Same as IE for the browsers.
2. Microsoft believing their customers use the PC as a multimedia station where they just plug any sort of device, not caring of the technicalites of it and not minding of buy new hardware together with new software. This is very american IMHO.
3. Microsoft being focused in building a major stronghold in the server and development area, especially related to the corporate market (done via .net and related technologies opposed for example to Java).

I guess the only way to break backwards compatibility is to split their line of products in two or more. More or less like when they had NT4 and Win9x on the market.

Unregistered user Sunday, February 1, 2009 1:21:38 AM

Sutam1 writes: Like a charm!!! TX MAN

Unregistered user Thursday, October 8, 2009 8:53:56 AM

Ziyaretçi writes: I could uninstall that "pain in the neck" search thanks to you!... ;)

Unregistered user Tuesday, March 23, 2010 8:14:56 PM

TV writes: I followed your instructions here: 2. delete these keys from the registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Windows XP\SP3\KB940157 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KB940157 But I do not know how to do: 3. reinstall the standalone "exe". 4. now you can see the "$NtUninstallKB940157$" directory. Open this dir and look for a dir named "spuninst". Within the spuninst dir you should find a file named "spuninst.exe". Running this file should manually uninstall Windows Search. I just don't want the desktop search on my machine, it is slowing everything down and serves no purpose for me. However, i do not know HOW to reinstall the standalone "exe". where do i find it? I am not sure if i am on the right track or not. thank you for your excellent advice. TV

Unregistered user Tuesday, March 23, 2010 8:17:45 PM

Anonymous writes: I did not run CCleaner. I just looked for it in Add Remove and it was not there, so I followed your steps one and two, then rebooted. It is still on the desktop toolbar at the bottom, but I am just trying to remove this option entirely. Thanks! TV

Unregistered user Friday, October 29, 2010 6:50:12 AM

Lucien writes: Thank you lorenzo You saved mt day !!!

Unregistered user Friday, December 17, 2010 12:45:25 AM

Someone writes: Thank you !!! It helped.

Unregistered user Friday, March 11, 2011 4:45:55 PM

Christian Blackburn writes: Hi Lorenzo, I haven't tried your steps yet, but I can see why it works. In my case, CCleaner didn't delete the uninstall folder, I did :). Hopefully, I won't do this ever again :). Thanks, Christian

Unregistered user Wednesday, March 30, 2011 10:31:12 AM

Christophe S. writes: Bonjour Excellent votre tutoriel. Merci.

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies

May 2013
M T W T F S S
April 2013June 2013
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31