qileilove

blog已经转移至github,大家请访问 http://qaseven.github.io/

如何彻底的卸载sql server数据库

好不容易装上了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

posted on 2014-10-11 11:22 顺其自然EVO 阅读(10135) 评论(0)  编辑  收藏 所属分类: 测试学习专栏


只有注册用户登录后才能发表评论。


网站导航:
 
<2014年10月>
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

导航

统计

常用链接

留言簿(55)

随笔分类

随笔档案

文章分类

文章档案

搜索

最新评论

阅读排行榜

评论排行榜