/build/static/layout/Breadcrumb_cap_w.png

Windows Search (KB940157)

I have decided that I no longer want this installed on our PCs but I don't see it listed as a Software title. I was going to create a report to see which ones still need to be done and can't find it.

Thanks.


0 Comments   [ + ] Show comments

Answers (2)

Posted by: jknox 12 years ago
Red Belt
2

It may show in inventory under Windows>Type>Patch Software

If not, create a software inventory item that uses a custom inventory rule to verify this directory exists:

c:\windows\$ntUninstallKB940157\

You can report on that software inventory item to see how many have it installed.

Then, you can script the removal by doing something like this:

Create a script to uninstall Windows Search by verifying service Wsearch exists, stop Wsearch and then run a command to uninstall:

c:\windows\$ntUninstallKB940157\spuninst\spuninst.exe /qn /norestart

 Appears to need a restart to completely remove. You could also use your software inventory item above to create a machine smart label to target the uninstall.


Comments:
  • look for %systemroot%\$NtUninstallKB940157$\spuninst\spuninst.exe
    you can even create a k1000 script that veifies this files exists if it does then run the same command with silent switch - SMal.tmcc 12 years ago
  • Oops, left out spuninst.exe. Thanks! - jknox 12 years ago
  • No problem - SMal.tmcc 12 years ago
  • Some of the computers have already had it uninstalled but they fit under this software inventory because that file is still there. I also found that on XP the service is wSearch so that gives me a quick list that will work. Thanks. I really appreciate you taking the time to answer questions. I learn so much. - jfrasier 12 years ago
    • Oh, so the uninstall using spuninst.exe doesn't remove the folder? Does it leave spuninst.exe itself afterwards? If not, you could modify the rule to look for that. - jknox 12 years ago
  • glad you found the correct service name, I think it changed between version 3 and 4.
    When we were running xp we just killed the service so the users saw nothing. If you are using sus I believe you can also withdraw that push and sus will take it away. - SMal.tmcc 12 years ago
  • Also found on google spunist does not support conventional msi switches /qn /norestart
    these are the switches it supports
    •/? : Show the list of installation switches.
    • /u : Use Unattended mode.
    • /f : Force other programs to quit when the computer shuts down.
    • /z : Do not restart when the installation is completed.
    •/q : Use Quiet mode (no user interaction). - SMal.tmcc 12 years ago
    • Really? Pretty sure that's what I used. Will have to check my KBOX. - jknox 12 years ago
      • looks like either will work - SMal.tmcc 12 years ago
  • I did not realize that either till I found that goggling, it surprised me, have used the switches you mentioned in the past. I did more searching and have found both as usable switches.
    http://support.microsoft.com/kb/886185
    http://coreworx.blogspot.com/2010/08/how-to-uninstall-microsoft-patch-using.html
    This one lists msi style switches, go figure
    http://support.microsoft.com/kb/262841 - SMal.tmcc 12 years ago
Posted by: SMal.tmcc 12 years ago
Red Belt
2

On your K1000 go to inventory and look under the service tab

search for cisvc and these are the machines with search/index service installed

If you just want to stop it from running you can disable the service with a k1000 script

verify the this key exists

"HKLM\SYSTEM\CurrentControlSet\Services\CiSvc"

and if it does

net stop cisvc
REG add "HKLM\SYSTEM\CurrentControlSet\Services\CiSvc" /v Start /t REG_DWORD /d 4 /f

 

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ