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