最近不慎被Windows自动更新装上了桌面搜索。

这个玩意速度很慢不说,关键是还查不到文件。

要卸载桌面搜索,正常情况可以通过控制面板或 执行"%WINDOWS%$NtUninstallKB917013$/"里的文件删除。如果在你本机上找不到卸载文件 ,可以通过手工搞定。

下面这种方法也适用于其他较复杂的Windows程序卸载。步骤如下:

1. To find the setup configuration file "update.inf" in the distributive
2. To collect in some special folder the files: spuninst.exe, updspapi.dll (在%WINDOWS%/$NtUninstallKBxxxxxx目录下随便找一份)
3. To convert the setup information from update.inf to uninstall information file spuninst.inf and put spuninst.inf to the same folder as in spuninst.exe
4. To run spuninst.exe - that's all!

也可以直接复制下面的内容作为 spuninst.inf :

[Version]
    Signature = "$Windows NT$"
    NtServicePackVersion = 0
    NtServicePackVersionText = "KB917013"
    NtServicePackVersionFullText = "Windows Desktop Search 3.01"
    NtServicePackPreviousVersion = 512
    NtServicePackPreviousVersionText = "No KB917013"
    IEVersion = "0.0.0.0"
    DisplayTitle = "KB917013"
    SP_TITLE = "Windows Desktop Search 3.01"
    RebootRequired  = 1

[SourceDisksNames]
    1="Windows Desktop Search Source Files"

[SourceDisksFiles]
    msscolmn.txt=1
    gathrprm.txt=1
    schema.txt=1
    msscntrs.dll=1
    mssitlb.dll=1
    searchprotocolhost.exe=1
    searchfilterhost.exe=1
    searchindexer.exe=1
    mssph.dll=1
    mssphtb.dll=1
    mssprxy.dll=1
    mssrch.dll=1
    msstrc.dll=1
    propdefs.dll=1
    tquery.dll=1
    msscb.dll=1
    gsrvctr.h=1
    gsrvctr.ini=1
    gthrctr.h=1
    gthrctr.ini=1
    idxcntrs.h=1
    idxcntrs.ini=1
    msshsq.dll=1
    structuredqueryschema.bin=1
    structuredqueryschematrivial.bin=1
    xmlfilter.dll=1
    rtffilt.dll=1
    srchadmin.dll=1
    propsys.dll=1
    searchindexer.exe.mui=1
    mssrch.dll.mui=1
    tquery.dll.mui=1
    mssphtb.dll.mui=1
    mssph.dll.mui=1
    srchadmin.dll.mui=1
    propsys.dll.mui=1
    dsksrch.chm=1
    deskbar.cfg=1
    deskbar.dll=1
    dbsetup.dll=1
    dbres.dll=1
    wordwheel.dll=1
    wwres.dll=1
    msnlDl.dll=1
    msnldlps.dll=1
    msnlExt.dll=1
    msnlExtRes.dll=1
    msnlNamespaceMgr.dll=1
    msnlRed.dll=1
    WdsMktTools.dll=1
    wdsShell.dll=1
    wdsView.dll=1
    WindowsSearch.exe=1
    WindowsSearchRes.dll=1
    MarketStrings.cfg=1
    mapine.dll=1
    mapineres.dll=1
    dbres.dll.mui=1
    msnlExtRes.dll.mui=1
    WindowsSearchRes.dll.mui=1
    wwres.dll.mui=1
    mapineres.dll.mui=1
    oeph.dll=1
    OEphRes.dll=1
    OEphRes.dll.mui=1
    UncPH.dll=1
    UncRes.dll=1
    UncCplExt.dll=1
    UncNE.dll=1
    UncDMS.dll=1
    UncRes.dll.mui=1

[DestinationDirs]
    System32.Files                  = 11     ; %windir%/system32 (replace if exist)
    Search.Config.Files             = 16419, "Microsoft/Search/Config" ; .../All Users/Application Data/Microsoft/Search/Config
    Search.Data.Config.Files        = 16419, "Microsoft/Search/Data/Config" ; .../All Users/Application Data/Microsoft/Search/Data/Config
    Mui.Name.Files                  = 11, "%WDS_MARKET%" ; %windir%/system32/<en-US style locale>
    Mui.ID.Files                    = 11, "mui/%WDS_MARKET_LCID%" ; %windir%/system32/mui/<lcid>
    WindowsDesktopSearch.UI.Files   = 16422, "%WDSAppsSubDir%" ; Program Files/Windows Desktop Search
    Ext.files                       = 16422, "%WDSAppsSubDir%" ; Program Files/Windows Desktop Search
    Ext.Mui.Files                   = 16422, "%WDSAppsSubDir%/%WDS_MARKET%" ; Program Files/Windows Desktop Search/%WDS_MARKET%
    OEPH.Files                  = 11     ; %windir%/system32 (replace if exist)
    OEPH.Mui.Files              = 11, "%WDS_MARKET%" ; %windir%/system32/<en-US style locale>
    UNCPH.Files                 = 11     ; %windir%/system32 (replace if exist)
    UNCPH.Mui.Files             = 11, "%WDS_MARKET%" ; %windir%/system32/<en-US style locale>

[ProductCatalogsToInstall.delete.files]

KB917013.cat

[ProcessesToRunBeforeUninstall]
    "%SystemRoot%/System32/cmd.exe /c ""%SystemRoot%/System32/unlodctr.exe UGatherer"""
    "%SystemRoot%/System32/cmd.exe /c ""%SystemRoot%/System32/unlodctr.exe UGTHRSVC"""
    "%SystemRoot%/System32/cmd.exe /c ""%SystemRoot%/System32/unlodctr.exe wsearchidxpi"""

[Configuration]
    UninstallationType    = "Hotfix"
    UnInstallLogFileName  = "KB917013Uninst.log"
    EventLogKeyName       = "NtServicePack"
    ProductName           = ""
    CustomizationDll      = ""
    WaitTimeForServiceStop = 0
    OverwriteThirdParty    = 0
    RestartDevice          = 0
    ServiceFileInUseDetect       = "0"
  UninstallCustomizationDLL = wss_SpCustom.dll

[GlobalRegistryChanges]
 DelReg = Del.Reg

[Del.Reg]
    HKLM, Software/Microsoft/Windows/Windows Search
    HKLM, Software/Microsoft/Windows Desktop Search
    HKLM, Software/Microsoft/Windows Search Service
    HKLM, Software/Microsoft/Windows Search, "CurrentVersion"
    HKLM, Software/Microsoft/Windows Search, "DataDirectory"
    HKLM, Software/Microsoft/Windows Search, "InstallDirectory"
    HKLM, Software/Microsoft/Windows Search, "DefaultColumnFile"
    HKLM, Software/Microsoft/Windows Search, "UseLowPriorityConfiguration"
    HKLM, Software/Microsoft/Windows Search, "SetupCompletedSuccessfully"
    HKLM, Software/Microsoft/Windows Search, "indexer:ci:MaxRestrictionNodes"
    HKLM, Software/Microsoft/Windows Search/Applications
    HKLM, Software/Microsoft/Windows Search/CatalogNames
    HKLM, Software/Microsoft/Windows Search/ContentIndexCommon
    HKLM, Software/Microsoft/Windows Search/CrawlScopeManager
    HKLM, Software/Microsoft/Windows Search/Databases
    HKLM, Software/Microsoft/Windows Search/DataDirectory
    HKLM, Software/Microsoft/Windows Search/Gather
    HKLM, Software/Microsoft/Windows Search/Gathering Manager
    HKLM, Software/Microsoft/Windows Search/Indexer
    HKLM, Software/Microsoft/Windows Search/InstallDirectory
    HKLM, Software/Microsoft/Windows Search/PerformanceCounters
    HKLM, Software/Microsoft/Windows Search/SearchService
    HKLM, Software/Microsoft/Windows Search/UsnNotifier
    HKLM, Software/Microsoft/Windows Search/PreviousSettings
    HKCU, Software/Microsoft/Windows Search
    HKCU, Software/Microsoft/Windows Desktop Search

[Del.Reg.PerfCounters.Uninstall]
    HKLM, System/CurrentControlSet/Services/UGatherer
    HKLM, System/CurrentControlSet/Services/UGTHRSVC
    HKLM, System/CurrentControlSet/Services/wsearchidxpi

[Product.Del.Reg.UI]
    HKLM, Software/Microsoft/Search-ms
    HKLM, Software/Classes/CLSID/{70804ECC-7272-4dc8-AFFC-97CD66AAA282}
    HKLM, Software/Classes/Search.MapPI
    HKLM, Software/Microsoft/Windows Desktop Search

上述方法,我参考了:http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1456784&SiteID=1

手工删除Windows桌面搜索的方法相关推荐

  1. php文件在桌面删除不了图片吗,删除windows桌面上某个应用程序的图标,意味着什么...

    删除windows桌面上某个应用程序的图标,意味着:只删除了快捷图标,对应的应用程序被保留.桌面上的图标是一种快捷方式,是Windows提供的一种快速启动程序.打开文件或文件夹的方法. 本教程操作环境 ...

  2. 计算机运行时删除桌面上的应用程序图标,删除windows桌面上某个应用程序的图标,意味着什么...

    删除windows桌面上某个应用程序的图标,意味着:只删除了快捷图标,对应的应用程序被保留.桌面上的图标是一种快捷方式,是Windows提供的一种快速启动程序.打开文件或文件夹的方法. 本教程操作环境 ...

  3. Windows桌面暗水印方法与C++实现

    前往我的主页以获得更好的阅读体验Windows桌面暗水印方法与C++实现 - DearXuan的主页https://blog.dearxuan.com/2021/12/04/Windows%E6%A1 ...

  4. php删除垃圾文件,Python删除windows垃圾文件的方法

    本文实例讲述了Python删除windows垃圾文件的方法.分享给大家供大家参考.具体如下: #coding:utf-8 import os #from glob import glob if os. ...

  5. [图+视频]微软研究院视频揭示最新Windows桌面搜索技术

    导读: 一份来自微软研究院的最新视频显示,微软正在开发类似于Vista的搜索界面,这一技术可能将被运用到下一代的桌面搜索应用中去. 这一新技术的核心理念是搜索内容的可视化,不用去打开就可以看到一个文件 ...

  6. python修改电脑桌面壁纸_python设置windows桌面壁纸的方法

    #!/usr/bin/env python # -*- coding: UTF-8 -*- #----------------------------------------------------- ...

  7. 计算机远程桌面删除记录,win10系统删除远程桌面历史记录的处理方法

    有关win10系统删除远程桌面历史记录的操作方法想必大家有所耳闻.但是能够对win10系统删除远程桌面历史记录进行实际操作的人却不多.其实解决win10系统删除远程桌面历史记录的问题也不是难事,小编这 ...

  8. Windows文件搜索的高级语法--——怎么快速匹配找文件

    快速 启动运算符 输入此... 找到这个... 视窗 包含WinDOwS ,windows ,WINDOWS 或任何其他大小写字母组合的项目 微软Windows 包含单词Microsoft 和Wind ...

  9. python代码桌面壁纸_Python实现设置windows桌面壁纸代码

    Python实现设置windows桌面壁纸代码 发布于 2015-04-07 16:59:42 | 122 次阅读 | 评论: 0 | 来源: 网友投递 Python编程语言Python 是一种面向对 ...

最新文章

  1. PHP 选取数组中最大的 键 和 值
  2. 难道这又是个未解之谜?--- 关于DLL中使用ADODATASET出错的问题
  3. 常见面试题 - URL 解析
  4. B - 数据结构实验之查找二:平衡二叉树
  5. ML之LGBMRegressor(Competition):2018年全国大学生计算机技能应用大赛《住房月租金预测大数据赛》——设计思路以及核心代码—191017再次更新
  6. 【Java多线程】sleep与yield的辨析
  7. 移动端(H5)弹框组件--简单--实用--不依赖jQuery
  8. android tee,Android 9.0的新增安全特性与TEE
  9. “退学吧,开始行动”——埃里森在耶鲁的演讲(历史上最牛的演讲)
  10. Python内置GUI模块Tkinter的几点笔记
  11. ffmpeg_struct: AVRational
  12. 传奇脚本中提到的WIL序号是什么?在哪查看WIL序号?
  13. Activiti 任务的签收与委托
  14. php sqlite并发访问,PHP基于文件锁实现sqlite的并发操作
  15. 如何在Google Play 当中使用ASO?google play aso
  16. android rom打包解包工具,Android ROM包定制(解包,增删模块,打包)
  17. [CM311-1A]- Android 文件/目录 管理
  18. 高效开发:你的项目有接口聚合服务吗?
  19. 单线、三线和BGP服务器的区别
  20. war包访问php,nginx - JAVA 项目WAR包部署的适用场景?

热门文章

  1. 计算机设计大赛志愿服务活动,中国大学生计算机设计大赛 | 志愿者招募
  2. The 2021 ICPC Asia Shanghai Regional Programming Contest 2021ICPC上海站VP
  3. 京东集团与越秀集团达成战略合作
  4. 紧急通知!赶紧删除黄片,否则拘留15天,罚款3000元。
  5. Linux+开发+运维-推荐书籍与学习路线
  6. 人心本无染,心静自然清 ——赞“落梅”
  7. 2-8、蒙特卡洛模拟
  8. Smells and Heuristics
  9. c# ZipFile.Extract解压后,文件名中文乱码
  10. PTA 广西科技大学 胡伟平老师出的题目