如何徹底卸載sql server 2012


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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM