我使用SSM文档来修补我的windows服务器。在尝试运行它时,我的一个服务器出现了以下错误:
Invoke-PatchBaselineOperation : Exception Details: An error occurred when
attempting to search Windows Update.
Exception Level 1:
Error Message: Server execution failed (Exception from HRESULT: 0x80080005
(CO_E_SERVER_EXEC_FAILURE))
Stack Trace: at WUApiLib.IUpdateSearcher.Search(String criteria)
at Amazon.Patch.Baseline.Operations.PatchNow.Implementations.WindowsUpda
teAgent.SearchByGuids(List`1 kbGuids)
At C:\ProgramData\Amazon\SSM\InstanceData\i-0931550e0e5fd124d\document\orchestr
ation\52bc9b99-6ee4-4819-9234-8461530012f9\PatchWindows\_script.ps1:198 char:13
+ $response = Invoke-PatchBaselineOperation -Operation Install -SnapshotId
'0b2d54 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : OperationStopped: (Amazon.Patch.Ba...UpdateOpera
tion:InstallWindowsUpdateOperation) [Invoke-PatchBaselineOperation], Excep
tion
+ FullyQualifiedErrorId : Exception Level 1:
Error Message: Exception Details: An error occurred when attempting to
se arch Windows Update.
Exception Level 1:
Error Message: Server execution failed (Exception from HRESULT:
0x800800 05 (CO_E_SERVER_EXEC_FAILURE))
Stack Trace: at WUApiLib.IUpdateSearcher.Search(String criteria)
at
Amazon.Patch.Baseline.Operations.PatchNow.Implementations.WindowsU
pdateAgent.SearchByGuids(List`1 kbGuids)
Stack Trace: at
Amazon.Patch.Baseline.Operations.PatchNow.Implementati
ons.InstallWindowsUpdateOperation.DoWindowsUpdateOperation()
at
Amazon.Patch.Baseline.Operations.PatchNow.Implementations.WindowsUp
dateOperation.DoBeginProcessing()
,Amazon.Patch.Baseline.Operations.PowerShellCmdlets.InvokePatchBaselineOpe
ration
failed to run commands: exit status 4294967295我试着检查这个键:HKEY_LOCAL_MACHINE > Software > Policies > Microsoft > Windows > WindowsUpdate > UseWUServer,但是我在服务器中找不到它。我的服务器是windows server 2012 R2.,在执行修补程序基线时,我还查看了Cloudwatch上的CPUUtilization度量,这似乎是正常的。有什么线索吗?
发布于 2021-09-20 17:07:23
我试着在下面工作:
注意:重要的本节、方法或任务包含告诉您如何修改注册表的步骤。但是,如果您不正确地修改注册表,可能会出现严重的问题。因此,请确保您仔细遵循这些步骤。为了增加保护,请在修改注册表之前备份它。然后,如果出现问题,可以还原注册表。
参考如何在Windows中备份和还原注册表的文章
如果您无法找到PushNotifications密钥,请按照以下步骤操作。
有关更多细节,请查看哈雷答案。
https://stackoverflow.com/questions/58731305
复制相似问题