WSUS 重置引导指南(WSUS Reset Guide Line)&& WSUS针对性获取上级补丁数据

本文提供了WSUS重置的详细步骤,包括移除WSUS角色、删除数据库及正常安装,强调了正确配置产品和分类以减少不必要的数据下载。此外,还提及了解决因错误分类导致的数据过载问题,并给出了相应的PowerShell命令示例。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

WSUS 重置引导指南 && WSUS针对性获取上级补丁数据

WSUS Reset Guide Line for Production/Infrastructure Servers

更新的目的:

We have found that a wrong configuration forces the master server to download more data than intended.
我们发现,错误的配置迫使主服务器下载比预期更多的数据。
注:针对性对WSUS服务器向上级服务器指定补丁数据进行下载!!!

WSUS Reset:

1. Remove WSUS Role:

管理员方式运行PowerShell :
Open PowerShell with Admin permissions:

Remove-WindowsFeature -Name UpdateServices,UpdateServices-DB,UpdateServices-RSAT,UpdateServices-API,UpdateServices-UI -IncludeManagementTools

重启服务器
Restart Server

2. Remove Database:

Remove the WID feature in Server Manager
我这里直接用命令移除的:
(管理员运行powershell)(在这里需要备份的可自行备份

Uninstall-WindowsFeature -Name 'Windows-Internal-Database'

重启服务器
Restart Server
重启后移除WID文件夹(推荐重命名文件夹)
After restart remove the entire C:\Windows\WID folder

3. Install WSUS as usual (ServerManager)

使用服务器管理正常安装WSUS

检查产品和分类的正确配置:
Check correct configuration of Products and Classifications:
以下选项应仅可用:
Following options should only be available:

Classifications: 分类:
Definitionsupdates: 定义更新
Service Packs: 服务包
Security Updates: 安全更新
Critical Updates: 关键更新

Categories: 类别
Exchange Server 2016
Microsoft SQL Server 2012
Microsoft SQL Server 2014
Microsoft SQL Server 2016
Microsoft SQL Server 2017
Microsoft SQL Server 2019
Office 2010
Office 2013
Office 2016
Report Viewer 2010
Skype for Business Server 2015
Visual Studio 2005
Visual Studio 2008
Visual Studio 2010
Visual Studio 2012
Visual Studio 2013
Visual Studio 2015 Update 3
Visual Studio 2015
Windows 10 LTSB
Windows 10, version 1903 and later
Windows 10
Windows 7
Windows Admin Center
Windows Defender
Windows Embedded Standard 7
Windows GDR-Dynamic Update
Windows Server 2008 R2
Windows Server 2008
Windows Server 2012 R2
Windows Server 2012
Windows Server 2016
Windows Server 2019

检查当前WSUS的配置:(使用PowerShell查看)
To check current configuration settings please run following commands in PowerShell

(Get-WsusServer).GetSubscription().GetUpdateCategories() | select Title 
(Get-WsusServer).GetSubscription().GetUpdateClassifications
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值