Windows更新代理API [英] windows update agent API

查看:486
本文介绍了Windows更新代理API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用来自外部服务的WUA API运行静默安装更新(.NET,它在SYSTEM帐户下运行)。通常它工作正常,但对于驱动程序的某些更新它失败,错误代码为0x80240020(根据Windows更新日志)。我发现
代码意味着 WU_E_NO_INTERACTIVE_USER 操作未完成,因为没有登录的交互式用户。可以在不与用户进行任何交互的情况下解决此问题?启用服务选项"允许与
桌面交互"没有帮助。

Hi, I run silent installing of updates using WUA API from external service (.NET, it works under SYSTEM account). Generally it work fine, but for certain updates of drivers it failed with error code 0x80240020 (according with windows update log). I found that code means WU_E_NO_INTERACTIVE_USER Operation did not complete because there is no logged-on interactive user. It is possible to fix this problem without any interaction with user? Enabling of service option "Allow to interact with desktop" didn't help.

推荐答案

感谢您在此发帖。

据我所知,Windows Update Agent(WUA)API是一组COM接口,
使系统管理员和程序员能够访问Windows Update和

Windows Server Update Services(WSUS)< /a>. 

As far as I know that The Windows Update Agent (WUA) API is a set of COM interfaces that enable system administrators and programmers to access Windows Update and Windows Server Update Services (WSUS)

系统管理员可以使用WUA以编程方式确定应将哪些更新应用于计算机,下载这些更新,然后在很少或没有用户干预的情况下安装它们。

System administrators can use WUA to programmatically determine which updates should be applied to a computer, download those updates, and then install them with little or no user intervention.

所以,你没有使用管理员,我认为你无法成功运行,我认为这是理由。

So, you don't use the administrator, I think that you cannot run successfully, I think that this is reason.

Best 此致,

Best  Regards,

Hart


这篇关于Windows更新代理API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆