好不容易装上了sql server 2012数据库,可是却不能连接本地的数据库,后来发现缺少一些服务,于是决定重新安装,但是卸载却很麻烦,如果卸载不干净的话,重新安装会出问题,所以下面就总结一些方法:
  在卸载sql server 2012后,大家都希望能够将注册表信息完全删干净,下面就将教您彻底删除sql server 2012注册表的方法,供您参考,删除之前,请一定要做好备份工作哟。
  在卸载sql server 2012开始——运行:输入regedit 进入注册表编辑器,进入之后执行下列操作:
  1.彻底删除sql server 2012:
  hkey_local_machine\software\Microsoft\MSSQLServer
  hkey_local_machine\software\Microsoft\Microsoft SQL Server
  hkey_current_user\software\Microsoft\Microsoft SQL Server
  hkey_current_user\software\Microsoft\MSSQLServer
  hkey_local_machine\system\currentcontrolset\control\sessionmanager\pendingfileren       ameoperations
  2.注册表中的相关信息删除:
  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer。
  HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSDTC。
  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager中找到PendingFileRenameOperations项目,并删除它。这样就可以清除安装暂挂项目
  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\setup
  删除ExceptionComponents
  3.运行注册表,删除如下项:
  HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server
  HKEY_USERS\S-1-5-21-2668230077-3704407121-3760209252-500\Software\Microsoft\Microsoft SQL Server
  HKEY_USERS\.DEFAULT\Software\Microsoft\VisualStudio
  HKEY_USERS\.DEFAULT\Software\Microsoft\SQL Server Management Studio
  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server
  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer
  4.查看服务列表里面有哪些sqlserver的服务残留,然后在以下地方,将sqlserver相关的服务全部删除.
  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
  将SQL SERVER安装路径下,如:C盘——Program File下的Microsoft SQL Server 文件夹删除
  重启计算机
  SQL SERVER 2012 真的好烦~不容易卸干净的~下面的方法提供给那些懒得重装系统的“懒人”~ 亲测~
  1.停掉SQL SERVER 2012所有相关服务
  2.在控制面板“添加删除程序”中,删除SQL SERVER2012相关的程序
  3.下载 Windows Install Clean Up 工具卸载SQL 2012组件 (google it ~关于怎么用懒得写,看看就知道了)删除所有SQL服务
  4.清除注册表
  将HKEY_CURRENT_USER---Software----Microsoft下的Microsoft SQL Server文件夹全部删除
  将HKEY_LOCAL_mACHINE---SOFTWARE---Microsoft下的Microsoft SQL Native Client ,Microsoft SQL Server, Microsoft SQL Server 2012Redist全部删除
  5.删除残留文件
  6.将SQL SERVER安装路径下,如:C盘——Program File下的Microsoft SQL Server 文件夹删除
  7.重启计算机 (这世界清净了)
  注意:执行sqlserver2012提供的卸载实例程序,虽然卸载掉了实例,但是在系统的服务中任然看得到该实例.那么,先按照上面的方法清理注册表,然后再重启计算机即可修复软件安装问题和软件卸载问题
  自动诊断您的计算机上会阻止安装和卸载程序的问题。 帮助修复无法正常卸载的程序和阻止新程序安装的程序。
  修复的问题...
  删除 64 位操作系统上错误的注册表项。
  控制损坏的升级(修补)数据的 Windows 注册表项。
  解决阻止新程序安装的问题。
  解决阻止程序完全卸载和阻止新的安装和更新的问题。
  仅当程序无法使用 Windows 的“添加/删除程序”功能卸载时,才使用此疑难解答程序进行卸载。
  运行于...
  Microsoft Windows Server 2003
  Microsoft Windows Server 2003 R2
  Microsoft Windows XP
  Windows 7
  Windows Server 2008
  Windows Server 2008 R2
  Windows Vista
  Windows 8
  Windows 8.1
  Windows Server 2012 editions
  Windows Server 2012 R2
  适用于...
  Microsoft Visual Studio 2005
  Microsoft Visual Studio 2005 Professional Edition
  Microsoft Visual Studio 2005 Professional Edition with MSDN Premium Subscription
  Microsoft Visual Studio 2005 Professional Edition with MSDN Professional Subscription
  Microsoft Visual Studio 2008
  Microsoft Visual Studio 2008 Standard Edition
  Microsoft Visual Studio 2008 Professional Edition
  Microsoft Visual Studio 2008 Express Edition
  Microsoft Visual Studio 2008 Academic Edition
  Microsoft Visual Studio 2008 Software Development Kit
  Microsoft Visual Studio 2008 Tools for Applications Software Development Kit
  Microsoft Visual Studio 2008 Shell (integrated mode)
  Microsoft Visual Studio 2008 Shell (isolated mode) Redistributable Package
  Microsoft Visual Studio 2010
  Microsoft Visual Studio 2010 Ultimate with MSDN
  Microsoft Visual Studio 2010 Ultimate
  Microsoft Visual Studio 2010 Professional with MSDN
  Microsoft Visual Studio 2010 Professional
  Microsoft Visual Studio 2010 Professional with MSDN Embedded
  Microsoft Visual Studio 2010 Premium
  Microsoft Visual Studio 2008 Professional Edition with MSDN Embedded
  Microsoft Visual Studio 2010 Remote Debugger
  Microsoft Visual Studio 2010 Shell (Isolated)
  Microsoft Visual Studio 2010 Shell (Integrated)
  Microsoft Visual Studio 2010 Software Development Kit

最新文章

  1. 添加 Pool Member - 每天5分钟玩转 OpenStack(123)
  2. 将本地项目提交到coding上托管
  3. checkbox全选-取消-再全选没有显示问题
  4. ionic 接触的第一个Hybrid项目
  5. mac 快捷键大全
  6. 在Linux下使用RAID--使用mdadm工具创建软件Raid 0(1)
  7. 【转】${sessionScope.user}的使用方法
  8. The P4 Language Specification v1.0.2 Header and Fields
  9. AngularJs记录学习04
  10. Ruby 文件处理
  11. Android开发之使用意图调用内置应用程序
  12. 【转载】MongoDB中的MapReduce 高级操作介绍
  13. 基于visual Studio2013解决C语言竞赛题之1063分橘子
  14. 老李谈HTTP1.1的长连接 1
  15. struts2-Action处理请求参数
  16. MySQL(九)之数据表的查询详解(SELECT语法)一
  17. HtmlUnit入门二
  18. Hibernate与Spring的事务管理
  19. JavaScript 节流函数 Throttle 详解
  20. poj 1741

热门文章

  1. Python系统调用——运行其他程序
  2. Shiro 缓存失效以后的一个问题
  3. [Windows Azure] Querying Tables and Entities
  4. 3140:[HNOI2013]消毒 - BZOJ
  5. 团体程序设计天梯赛-练习集L1-004. 计算摄氏温度
  6. iOS socket编程 第三方库 AsyncSocket(GCDAsyncSocket)
  7. Java 方法覆盖和方法重载
  8. [itint5]Excel数转换
  9. Maven中聚合与继承
  10. 219. Contains Duplicate II