打扫 WSUS - 删除“不必要的更新文件”时超时

净化 WSUS, 这已经没有长时间完成了 - 使用唯一选择的选项“不必要的更新文件”运行清洁向导:


在处理大约三分钟后,主人由于超时异常完成了工作:

这是一条我点击的消息 "复制到剪贴板" 在控制台中:

The WSUS administration console was unable to connect to the WSUS Server via the remote API. 

Verify that the Update Services service, IIS and SQL are running on the server. If the problem persists, try restarting IIS, SQL, and the Update Services Service.

System.Net.WebException -- The operation has timed out

Source System.Windows.Forms

Stack Trace:
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at Microsoft.UpdateServices.UI.SnapIn.Wizards.ServerCleanup.ServerCleanupWizard.OnCleanupComplete(Object sender, PerformCleanupCompletedEventArgs e)

... 我在实例中尝试了相同 PowerShell 凭据提升:

到目前为止,我尝试过的东西:

自等待时间是 ~ 3 几分钟,我设置了连接时间 Wsus-Site 在 IIS 从 180 到 10800 秒:


确保与之关联的帐户 IIS-ApplicationPool, 该文件夹具有足够的权限 WSUSContent

确保推出主人的帐户 / 脚本是管理员组的成员 WSUS (和服务器管理员组)

断开查询超时在我的SQL Server上的连接 SUSDB (最初在清除未使用的更新和版本的更新时完成)

所有其他清洁步骤 WSUS 工作 - 起初我在清洁“未使用的更新和更新”时有几个问题,因为没有长时间执行清洁。 但是,在手动从数据库中删除多个更新并关闭超时后,此步骤结束而没有错误。 我还必须提及服务器 WSUS 是SCCM环境的一部分,由我们管理 SUP (使用计划更新同步启用清洁).

通过论坛浏览,我发现了一些有用的主题与清洁“未使用的更新和更新”时的超时相关,但在清洁“不必要的更新文件”时,我没有找到许多类似的问题。 因此,这里将得到任何帮助。
已邀请:

三叔

赞同来自:

http://www.culham.net/other/us ... wsus/
老,但我很幸运能在我的服务器上运行它 WSUS. 我继承了完全失控的那个,并且控制台在不同的地方撤出了。 我也管理它
https://gallery.technet.micros ... dea61
此外,什么可以帮助。

从那以后,我把它们作为夜间服务。

要回复问题请先登录注册