標籤:
好不容易裝上了
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
卸載sql server 2012