Office-2007、2010卸载清理问题及批处理.docx_第1页
Office-2007、2010卸载清理问题及批处理.docx_第2页
Office-2007、2010卸载清理问题及批处理.docx_第3页
Office-2007、2010卸载清理问题及批处理.docx_第4页
Office-2007、2010卸载清理问题及批处理.docx_第5页
免费预览已结束,剩余17页可下载查看

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

一、清理使用必读(转自不得去除本说明部分)1、下面的批处理脚本及注册表清理脚本都是面向Office 2010默认安装到Program Files目录下的清理引擎,如果是安装到其它驱动器,需要对应修改清理脚本部分,注册表清理部分需要修改最后一行-HKEY_CLASSES_ROOTInstallerWin32AssembliesC:|Program Files|Microsoft Office|Office14|ADDINS|MSOSEC.DLL中的路径信息C:|Program Files|Microsoft Office。2、Office 2010代号(Codename)是14.0,Office 2007代号是12.0,如果用于Office 2007清理,下文的清理脚本需要把路径部分的14换成12(14.0替换成12.0),关于缓存文件部分文件名是否统一暂未测试,此外,还需要确认MSOCache缓存目录下文件名跟本清理脚本一致,如果不一致,清理脚本和清理注册表部分都需要对应修改,Office 2007部分稍后有时间再验证确认,如果有网友提前确认过也可以帮忙回复修改。3、清理脚本部分是清理默认安装路径下的安装文件、缓存文件、临时文件等,特别注意确认这些目录下没有重要文件需要备份时才可进行清理,天缘不对由于复制、使用等操作导致的误操作或误删除后果负责(如果出现资料丢失后,切勿重启机子,一般都可以使用数据恢复文件恢复出来),目前版本只是天缘个人两台机子上验证通过,如果您对脚本不熟悉建议谨慎使用或不使用。4、对Office 2007/2010正常安装或使用出现无法卸载问题时,第一次运行本脚本,会出现有几个DLL文件无法清理现象,第一次运行后请重启动机子一次,然后再次运行本脚本即可清理完毕,清理完毕后,如需立即重装Office,建议重启机子一次。5、使用方法:把下文两部分分割线中间部分分别保存为两个文件,清理脚本名为autoClear.bat,注册表清理脚本为clearOffice.reg,其中clearOffice.reg在autoClear.bat中调用,所以两个文件要同一目录下。Windows 7上请以管理员权限手动执行上述两个文件(clearOffice.reg单独执行一次)。6、如果发现本清理脚本清理后仍然存在残留文件或注册信息,或脚本存在不足之处,请留言添加方便大家共享,安装问题请参考:Office 2007、2010常见安装问题及解决办法二、清理Office安装文件及缓存等-保存文件名:autoClear.bat-echo offecho.echo (c) echo.set /P var=是否开始清理Office(2007/2010)安装和注册信息,确认删除之前请确认Office目录下没有需要备份的文档资料?Y/Nif %var%=Y goto sureif not %var%=Y goto bye:sureecho -开始删除Office 2007/2010安装和缓存文件,请稍候.-echo 停止Office Source Engine服务.net stop OSEecho 清理安装共享文件和目录.del /f /s /q %ProgramFiles%Microsoft OfficeCLIPART*.*rd /s /q %ProgramFiles%Microsoft OfficeCLIPARTdel /f /s /q %ProgramFiles%Microsoft OfficeDocument Themes 14*.*rd /s /q %ProgramFiles%Microsoft OfficeDocument Themes 14del /f /s /q %ProgramFiles%Microsoft OfficeMEDIA*.*rd /s /q %ProgramFiles%Microsoft OfficeMEDIAdel /f /s /q %ProgramFiles%Microsoft OfficeOffice14*.*rd /s /q %ProgramFiles%Microsoft OfficeOffice14del /f /s /q %ProgramFiles%Microsoft OfficeStationery*.*rd /s /q %ProgramFiles%Microsoft OfficeStationerydel /f /s /q %ProgramFiles%Microsoft OfficeTemplates*.*rd /s /q %ProgramFiles%Microsoft OfficeTemplatesdel /f /s /q %CommonProgramFiles%Microsoft SharedOffice14*.*rd /s /q %CommonProgramFiles%Microsoft SharedOffice14del /f /s /q %CommonProgramFiles%Microsoft SharedSource Engine*.*rd /s /q %CommonProgramFiles%Microsoft SharedSource Engineecho 清理模板文件.del /f /s /q %appdata%microsofttemplatesNormal.dotmdel /f /s /q %appdata%microsofttemplatesNormalemail.dotmdel /f /s /q %appdata%microsoftdocument building blocks205214Built-In Building Blocks.dotxdel /f /s /q %appdata%microsoftdocument building blocks103314Built-In Building Blocks.dotxdel /f /s /q %AllUsersprofile%Application DataMicrosoftOfficeData*.*echo 清理缓存文件.rd /s /q %SystemDrive%MSOCacheAll Users90140000-0010-0804F1CE-Crd /s /q %SystemDrive%MSOCacheAll Users90140000-0011-0000F1CE-Crd /s /q %SystemDrive%MSOCacheAll Users90140000-0015-0804F1CE-Crd /s /q %SystemDrive%MSOCacheAll Users90140000-0016-0804F1CE-Crd /s /q %SystemDrive%MSOCacheAll Users90140000-0018-0804F1CE-Crd /s /q %SystemDrive%MSOCacheAll Users90140000-0019-0804F1CE-Crd /s /q %SystemDrive%MSOCacheAll Users90140000-001A-0804F1CE-Crd /s /q %SystemDrive%MSOCacheAll Users90140000-001B-0804F1CE-Crd /s /q %SystemDrive%MSOCacheAll Users90140000-002C-0804F1CE-Crd /s /q %SystemDrive%MSOCacheAll Users90140000-0044-0804F1CE-Crd /s /q %SystemDrive%MSOCacheAll Users90140000-006E-0804F1CE-Crd /s /q %SystemDrive%MSOCacheAll Users90140000-00A1-0804F1CE-Crd /s /q %SystemDrive%MSOCacheAll Users90140000-00BA-0804F1CE-Crd /s /q %SystemDrive%MSOCacheAll Users90140000-00BA-0804F1CE-Cecho 清理临时文件.rd /s /q %windir%temp & md %windir%tempecho 清理Office注册表记录.regedit /s clearOffice.regecho 已清理完成(http:/www.M),重装Office之前请重启机子goto end:byeecho 操作已被取消,任意键退出goto end:endecho. & pause-三、注册表清理部分-保存文件名:clearOffice.reg-Windows Registry Editor Version 5.00-HKEY_CURRENT_USERSoftwareMicrosoftOffice14.0-HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice14.0-HKEY_LOCAL_MACHINESOFTWAREMicrosoftOfficeDeliverySourceEngineDownloads90140000-0010-0804F1CE-C-HKEY_LOCAL_MACHINESOFTWAREMicrosoftOfficeDeliverySourceEngineDownloads90140000-0011-0000F1CE-C-HKEY_LOCAL_MACHINESOFTWAREMicrosoftOfficeDeliverySourceEngineDownloads90140000-0015-0804F1CE-C-HKEY_LOCAL_MACHINESOFTWAREMicrosoftOfficeDeliverySourceEngineDownloads90140000-0016-0804F1CE-C-HKEY_LOCAL_MACHINESOFTWAREMicrosoftOfficeDeliverySourceEngineDownloads90140000-0018-0804F1CE-C-HKEY_LOCAL_MACHINESOFTWAREMicrosoftOfficeDeliverySourceEngineDownloads90140000-0019-0804F1CE-C-HKEY_LOCAL_MACHINESOFTWAREMicrosoftOfficeDeliverySourceEngineDownloads90140000-001A-0804F1CE-C-HKEY_LOCAL_MACHINESOFTWAREMicrosoftOfficeDeliverySourceEngineDownloads90140000-001B-0804F1CE-C-HKEY_LOCAL_MACHINESOFTWAREMicrosoftOfficeDeliverySourceEngineDownloads90140000-002C-0804F1CE-C-HKEY_LOCAL_MACHINESOFTWAREMicrosoftOfficeDeliverySourceEngineDownloads90140000-0044-0804F1CE-C-HKEY_LOCAL_MACHINESOFTWAREMicrosoftOfficeDeliverySourceEngineDownloads90140000-006E-0804F1CE-C-HKEY_LOCAL_MACHINESOFTWAREMicrosoftOfficeDeliverySourceEngineDownloads90140000-00A1-0804F1CE-C-HKEY_LOCAL_MACHINESOFTWAREMicrosoftOfficeDeliverySourceEngineDownloads90140000-00BA-0804F1CE-C-HKEY_LOCAL_MACHINESOFTWAREMicrosoftOfficeDeliverySourceEngineDownloads90140000-00BA-0804F1CE-C-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall90140000-0010-0804F1CE-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall90140000-0011-0000F1CE-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall90140000-0015-0804F1CE-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall90140000-0016-0804F1CE-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall90140000-0018-0804F1CE-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall90140000-0019-0804F1CE-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall90140000-001A-0804F1CE-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall90140000-001B-0804F1CE-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall90140000-001F-0409F1CE-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall90140000-001F-0804F1CE-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall90140000-0028-0804F1CE-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall90140000-002C-0804F1CE-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall90140000-0044-0804F1CE-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall90140000-006E-0804F1CE-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall90140000-00A1-0804F1CE-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall90140000-00BA-0804F1CE-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallOffice14.PROPLUS-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUpgradeCodesarticle_content0004100010000000000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUpgradeCodesarticle_content0004100110000000000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUpgradeCodesarticle_content00041001A0000000000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUpgradeCodesarticle_content0004100440000000000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUpgradeCodesarticle_content0004100510000000000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUpgradeCodesarticle_content0004100610000000000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUpgradeCodesarticle_content0004100810000000000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUpgradeCodesarticle_content0004100820000000000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUpgradeCodesarticle_content0004100910000000000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUpgradeCodesarticle_content0004100A10000000000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUpgradeCodesarticle_content0004100AB0000000000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUpgradeCodesarticle_content0004100B10000000000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUpgradeCodesarticle_content0004100C20000000000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUpgradeCodesarticle_content0004100E60000000000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUpgradeCodesarticle_content0004100F10000000000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Productsarticle_content0004109010040800000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Productsarticle_content0004109110000000000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Productsarticle_content00041091A0040800000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Productsarticle_content0004109440040800000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Productsarticle_content0004109510040800000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Productsarticle_content0004109610040800000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Productsarticle_content0004109810040800000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Productsarticle_content0004109820040800000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Productsarticle_content0004109910040800000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Productsarticle_content0004109A10040800000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Productsarticle_content0004109AB0040800000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Productsarticle_content0004109B10040800000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Productsarticle_content0004109C20040800000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Productsarticle_content0004109E60040800000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Productsarticle_content0004109F10040800000000000F01FEC-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Productsarticle_content0004109F10090400000000000F01FEC-HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesose-HKEY_CLASSES_ROOTInstallerFeaturesarticle_content0004109010040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerFeaturesarticle_content0004109110000000000000000F01FEC-HKEY_CLASSES_ROOTInstallerFeaturesarticle_content00041091A0040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerFeaturesarticle_content0004109440040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerFeaturesarticle_content0004109510040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerFeaturesarticle_content0004109610040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerFeaturesarticle_content0004109810040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerFeaturesarticle_content0004109820040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerFeaturesarticle_content0004109910040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerFeaturesarticle_content0004109A10040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerFeaturesarticle_content0004109AB0040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerFeaturesarticle_content0004109B10040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerFeaturesarticle_content0004109C20040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerFeaturesarticle_content0004109E60040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerFeaturesarticle_content0004109F10040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerFeaturesarticle_content0004109F10090400000000000F01FEC-HKEY_CLASSES_ROOTInstallerProductsarticle_content0004109010040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerProductsarticle_content0004109110000000000000000F01FEC-HKEY_CLASSES_ROOTInstallerProductsarticle_content00041091A0040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerProductsarticle_content0004109440040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerProductsarticle_content0004109510040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerProductsarticle_content0004109610040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerProductsarticle_content0004109810040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerProductsarticle_content0004109820040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerProductsarticle_content0004109910040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerProductsarticle_content0004109A10040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerProductsarticle_content0004109AB0040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerProductsarticle_content0004109B10040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerProductsarticle_content0004109C20040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerProductsarticle_content0004109E60040800000000000F01FEC-HKEY_CLASSES_ROOTInstallerProductsarticle_content0004109F10040800000000000F01FEC-HK

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论