zoukankan      html  css  js  c++  java
  • 如何彻底的卸载sql server数据库

    如何彻底的卸载sql server数据库
     
     好不容易装上了sql server 2012数据库,可是却不能连接本地的数据库,后来发现缺少一些服务,于是决定重新安装,但是卸载却很麻烦,如果卸载不干净的话,重新安装会出问题,所以下面就总结一些方法:
     
    在卸载sql server 2012后,大家都希望能够将注册表信息完全删干净,下面就将教您彻底删除sql server 2012注册表的方法,供您参考,删除之前,请一定要做好备份工作哟。
    在卸载sql server 2012开始——运行:输入regedit 进入注册表编辑器,进入之后执行下列操作: 
    1.彻底删除sql server 2012: 
    hkey_local_machinesoftwareMicrosoftMSSQLServer
    hkey_local_machinesoftwareMicrosoftMicrosoft SQL Server
    hkey_current_usersoftwareMicrosoftMicrosoft SQL Server
    hkey_current_usersoftwareMicrosoftMSSQLServer
    hkey_local_machinesystemcurrentcontrolsetcontrolsessionmanagerpendingfileren       ameoperations 
     
    2。注册表中的相关信息删除: 
    HKEY_LOCAL_MACHINESOFTWAREMicrosoftMSSQLServer。 
    HKEY_LOCAL_MACHINESystemCurrentControlSetServicesMSDTC。 
    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession Manager中找到PendingFileRenameOperations项目,并删除它。这样就可以清除安装暂挂项目
    HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionsetup 
    删除ExceptionComponents 
    3、运行注册表,删除如下项: 
    HKEY_CURRENT_USERSoftwareMicrosoftMicrosoft SQL Server 
     
    HKEY_USERSS-1-5-21-2668230077-3704407121-3760209252-500SoftwareMicrosoftMicrosoft SQL Server 
     
    HKEY_USERS.DEFAULTSoftwareMicrosoftVisualStudio
     
    HKEY_USERS.DEFAULTSoftwareMicrosoftSQL Server Management Studio
     
    HKEY_LOCAL_MACHINESOFTWAREMicrosoftMicrosoft SQL Server 
     
    HKEY_LOCAL_MACHINESOFTWAREMicrosoftMSSQLServer 
     
    4、查看服务列表里面有哪些sqlserver的服务残留,然后在以下地方,将sqlserver相关的服务全部删除. 
    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices 
    将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
  • 相关阅读:
    ArcGIS Server JavaScript API 各命名空间的含义【转】
    python datetime 转timestamp
    python re 里面match 和search的区别
    django 两种创建模型实例的方法
    delete old data in elasticsearch
    iptables做nat网络地址转换
    zabbix trapper items
    pssh远程执行命令的利器
    gentoo 下安装lamp
    xshell密钥登录服务器
  • 原文地址:https://www.cnblogs.com/endv/p/4006764.html
Copyright © 2011-2022 走看看