windows-update

Determine Windows Update classification

血红的双手。 提交于 2019-12-31 03:55:27
问题 From the Windows Update COM Library (WUAPILib) I have access to the IUpdate interface however I don't see of any way to use to get the update classification (Critical, Important, Optional) to group updates in the same way like the Windows Update UI in Control Panel does. 回答1: With the help of the IUpdate, you can get the IcategoryCollection from the Update ID. Now, the first ICategory stores the classification of update type for the OS. Do pay special attention to the line where comment is

Use C# to interact with Windows Update

随声附和 提交于 2019-12-28 03:54:06
问题 Is there any API for writing a C# program that could interface with Windows update, and use it to selectively install certain updates? I'm thinking somewhere along the lines of storing a list in a central repository of approved updates. Then the client side applications (which would have to be installed once) would interface with Windows Update to determine what updates are available, then install the ones that are on the approved list. That way the updates are still applied automatically

WUA API unable to uninstall updates

孤街醉人 提交于 2019-12-22 12:38:43
问题 I have encountered an issue when using Windows Update Agent (WUA) API. Whenever I try to uninstall an update using IUpdateInstaller.IsForced := True; IUpdateInstaller.BeginUninstall(... i'm getting WU_E_UNINSTALL_NOT_ALLOWED ( The update could not be uninstalled because the request did not originate from a WSUS server ). Does it mean that I can't use WUA API to uninstall updates? In that case, why are BeginUninstall/Uninstall methods there? 回答1: According to Hey, Scripting Guy! How Can I

Change windows updates setting with Powershell

强颜欢笑 提交于 2019-12-21 22:05:08
问题 Im working with Windows Server 2008 r2, and trying to configure a PowerShell script to change the settings of windows updates to download but let me choose to install. 回答1: You can do it right from the registry with this command: Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\AUoptions" -Name newproperty -Value "4" 回答2: Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name AUOptions -Value 3 2 = Notify before download. 3

Windows update caused MVC3 and MVC4 stop working

喜欢而已 提交于 2019-12-17 03:52:42
问题 am i the only one who installed a Windows Update (8.1) on october 15, and suddenly MVC stop working because of this warning? Warning 1 Could not resolve this reference. Could not locate the assembly "System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. It seems that this windows update installs a newer version of

Retrieve Windows Update history using WUAPILib from a remote machine

依然范特西╮ 提交于 2019-12-13 14:21:11
问题 Is it possible to view Windows Update history on a remote machine using the WUAPI 2.0 Type Library? It must be compatible with both Windows XP and Windows 7 machines. It is possible according to Microsoft's article Using WUA From a Remote Computer: "The Windows Update Agent (WUA) API can be used by a user on a remote computer or by an application that is running on a remote computer." ...but I cannot find anywhere that explains how to actually query a remote machine or where to specify a

Failed to install CAB file as device is in the middle of an update

我的未来我决定 提交于 2019-12-13 03:57:06
问题 I try to install .cab file via Windows Device Portal running on Raspberry Pi 3 with Windows IoT Core 10. How ever there is eternal update process. I get error: Failure reason: Failed to install CAB file as device is in the middle of an update. Some other error I get via Power Shell: Windows IoT error on driver install: Could not start update, (0x8024A10F) I stopped the update service as described here: https://developers.de/blogs/indraneel/archive/2016/04/22/how-to-disable-the-auto-update-on

Checking with VBScript if server has all critical updates installed — managed by WSUS

蹲街弑〆低调 提交于 2019-12-12 02:05:41
问题 I am developing a script that gets deployed and executed on a server (so it is as if I am running it locally and not remote). I need to check to see if all critical updates are installed. Each server has a WSUS server managing its updates. Is there a way for me to do this with VBScript. I was looking at this post, Windows Update Check with vbscript but I don't know if it will help me since I'm not too familiar with how windows update works, but I only need critical updates. If I follow the

Is there RESTful webservice calls avaible in WSUS

旧街凉风 提交于 2019-12-11 17:25:38
问题 I want to know details of an update from a remote WSUS server through RESTFul or any other Webservice call, Is that possible. I'm aware of Microsoft.UpdateServices.Administration and it's usage. 回答1: RESTful web services are not supported by WSUS Administration API. SOAP has to be used to communicate with the server. There are many open source SOAP client appliations which can be used for this task. Remember about the authentication mechanism which developing the solution. I used Python3

How to make a SOAP call to WSUS Server

爱⌒轻易说出口 提交于 2019-12-11 16:35:41
问题 How can I create an SOAP envelope to get update details from WSUS Server? I found complete WSDL file and documentation, when I tried hitting 10.66.195.242/ApiRemoting30/WebService.asmx I'm getting Server error Server Error in '/ApiRemoting30' Application. Error: 2018-10-08 05:10:20 10.66.195.242 GET /ApiRemoting30/WebService.asmx - 80 NH-2K8-R2-3\administrator 10.44.141.162 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64;+rv:62.0)+Gecko/20100101+Firefox/62.0 500 0 0 5003 来源: https://stackoverflow