删除WSUS SERVER,也不是那么容易的

现在想切换WSUS SERVER至WINDOWS SERVER 2012。这个WSUS已作为一个ROLE FEATURE合成到系统里了。

可以迁移WINDOWS 2008上的WSUS 3.0 SP2过来,但也麻烦。

还不如弄了重新干。

GPO再重弄一下就OK了。

WINDOWS布置就是比较快。

但,真的只是简单的卸载就可以了么???

显然,我试过,不OK的。让你再重装是,失去的一切都会回来,原来WIDS没搞定呀。

找文档,一步一步来。

How to manually remove all of WSUS

~~~~~~~~~~

http://blogs.technet.com/b/sus/archive/2008/11/05/how-to-manually-remove-all-of-wsus.aspx

Hey, let's face it, bad luck can strike the best of us, so if you find yourself in a position where your WSUS box is corrupt beyond repair, the regular uninstall isn't working and you have no choice but to do a complete removal and reinstallation then maybe these steps by Ellis George will help you get through it a little easier. These are specific to the SP1 version but should be OK for others as well.  Keep in mind that this is a measure of last resort and should only be used if you have no choice but to manually remove WSUS.  This will also remove WIDS so when you're done you'll be able to reinstall and start from scratch.

WARNING: Do Not Do This if you are running WSUS on SBS 2008!  SBS 2008 installs Sharepoint and WSUS on the same server and both applications store their database in Windows Internal Database. Removing Windows Internal Database (MICROSOFT##SSEE) using steps 6-8 will break Sharepoint and anything else you may have installed that relies on Windows Internal Database.

========

1. Please download and install the Windows Installer Cleanup Utility.  To install it simply run msicuu2.exe.

2. Once it is installed go to Start>All Programs>Windows Install Clean Up

3. Scroll through the options and highlight Microsoft Windows Server Update Services 3.0 SP1 (3.1.6001.65)

4. Click remove

5. Open a command prompt and run the following commands:

net stop wsusservice

net stop wsuscertserver

sc delete wsusservice

sc delete wsuscertserver

6. When complete, go back to the Windows Installer Cleanup Utility and highlight Windows Internal Database (MICROSOFT##SSEE) and click remove.

7. Go back to the command line and run the following commands

net stop mssql$microsoft##ssee

sc delete mssql$microsoft##ssee

8. Delete or edit the associated reg keys as noted below:

a. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server and edit the "InstalledInstances" value and remove "MICROSOFT##SSEE"

b. Remove the "MICROSOFT##SSEE" subkey under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server

c. Remove the "MSSQL.2005" subkey under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server

d. Rename the following folder:

\%Windir%\SYSMSI\SSEE\MSSQL.2005\MSSQL\Data

to

\%Windir%\SYSMSI\SSEE\MSSQL.2005\MSSQL\Data.old

At the completion of this you should be at a point where you can reinstall WSUS from scratch if you like.

========

Thanks Ellis!

J.C. Hornbeck | Manageability Knowledge Engineer

时间: 2024-10-18 15:56:46

删除WSUS SERVER,也不是那么容易的的相关文章

最简单删除SQL Server中所有数据的方法

其实删除数据库中数据的方法并不复杂,为什么我还要多此一举呢,一是我这里介绍的是删除数据库的所有数据,因为数据之间可能形成相互约束关系,删除操作可能陷入死循环,二是这里使用了微软未正式公开的sp_MSForEachTable存储过程. 也许很多读者朋友都经历过这样的事情:要在开发数据库基础上清理一个空库,但由于对数据库结构缺乏整体了解,在删除一个表的记录时,删除不了,因为可能有外键约束,一个常见的数据库结构是一个主表,一个子表,这种情况下一般都得先删除子表记录,再删除主表记录. 说道删除数据记录,

如何手动删除SQL Server 2000默认实例

概要 删除 Microsoft SQL Server 2000 前应考虑的事项 删除 SQL Server 的步骤 删除 SQL Server 的特定实例 删除 SQL Server 的所有已知实例 删除 SQL Server 的默认实例 删除 SQL Server 的命名实例 如何包含全文检索删除 重新安装 SQL Server 前删除临时文件夹中的内容 参考 这篇文章中的信息适用于: 概要 本文中的步骤介绍如何为重新安装 SQL Server 程序的系统做准备工作. 删除 Microsoft

winform 项目删除sql server事务问题

问题描述 winform 项目删除sql server事务问题 当我点击删除时报下面错误,是什么意思? 怎么解决?项目是winform 数据库是sql server 如果分配给命令的连接位于本地挂起事务中,ExecuteReader 要求命令拥有事务.命令的 Transaction 属性尚未初始化. 事务部分代码 bool isSucess = false; using (DbBase DbContext = new DbBase(connectionName)) { using (IDbTra

如何从计算机中删除Windows Server迁移工具

&http://www.aliyun.com/zixun/aggregation/37954.html">nbsp;   微软的Windows Server 2008 R2在性能和功能上都得到了前所未有的提升,诸多企业可将旧有的Windows Server 2003等服务器角色.操作系统设置和数据迁移到运行Win2008 R2.本文则介绍如何从计算机中删除 Windows Server 迁移工具. 一.使用 Windows PowerShell 删除 Windows Server

删除sql server中重复的数据

原文:删除sql server中重复的数据 with list_numbers as( select Name, AuthorOrTime, Url, Price, EstimatePrice, Size, Category, ROW_NUMBER() over (order by Name, AuthorOrTime, Url, Price, EstimatePrice, Size, Category) as 'rownumber' from Arts)delete list_numbers

彻底删除SQL Server注册表的方法_MsSql

一般在卸载完数据库时,大家都希望能够将注册表信息完全删干净,下面就将教您彻底删除SQL Server注册表的方法,供您参考. 在卸载SQL Server开始--运行:输入regedit 进入注册表编辑器,进入之后执行下列操作: 1.彻底删除SQL Server: hkey_local_machine\software\Microsoft\MSSQLServer hkey_local_machine\software\Microsoft\Microsoft SQL Server hkey_curr

彻底删除SQL Server注册表的方法

一般在卸载完数据库时,大家都希望能够将注册表信息完全删干净,下面就将教您彻底删除SQL Server注册表的方法,供您参考. 在卸载SQL Server开始--运行:输入regedit 进入注册表编辑器,进入之后执行下列操作: 1.彻底删除SQL Server: hkey_local_machine\software\Microsoft\MSSQLServer hkey_local_machine\software\Microsoft\Microsoft SQL Server hkey_curr

有关重复记录的删除(SQL SERVER)

server|重复|重复记录 以下就重复记录删除的问题作一阐述. 有两个意义上的重复记录,一是完全重复的记录,也即所有字段均重复的记录,二是部分关键字段重复的记录,比如Name字段重复,而其他字段不一定重复或都重复可以忽略.1.对于第一种重复,比较容易解决,使用select distinct * from tableName就可以得到无重复记录的结果集.如果该表需要删除重复的记录(重复记录保留1条),可以按以下方法删除select distinct * into #Tmp from tableN

删除sql server大容量日志的方法

1: 删除LOG 1:分离数据库 企业管理器->服务器->数据库->右键->分离数据库 2:删除LOG文件 3:附加数据库 企业管理器->服务器->数据库->右键->附加数据库 此法生成新的LOG,大小只有520多K 再将此数据库设置自动收缩 或用代码: 下面的示例分离 77169database,然后将 77169database中的一个文件附加到当前服务器. EXEC sp_detach_db @dbname = '77169database' EXEC