Questions tagged [windows-update]

Windows Update (WU), a service offered by Microsoft, provides updates for the Microsoft Windows operating system and its installed components, including Internet Explorer. This tag should be used exclusively for programming questions, not general issues with Windows updates or the Windows operating system; these questions should be directed to Super User instead.

Windows Update includes the following:

  • The Windows Update (WU) Service offered by Microsoft, which provides updates for Microsoft Windows operating systems.
  • The Windows Update Agent (WUA) which perform the communications with WU, searching for updates and install updates.
  • Windows Automatic Updates (AU) which schedule automatic, notifications, downloads, and installations of Updates. "Windows Update and Automatic Updates are two separate components designed to work together to keep Windows secure. " See, How to configure Automatic Updates and Difference between Windows Update and Automatic Updates
  • The WUA API, which enables programmers and administrators to manage WU updates on the local system. See WUA API reference.

Open Issue

  • Should WSUS question be covered under this tag?
409 questions
6
votes
11 answers

Excel/VBA Automation Errors due to Office Service Pack 3.0 caused by Forms

After installing all latest windows updates my Excel VBA code is showing an automation error at the very start of the first module. It contains some forms as well as numerous modules of VBA code. However, when removing the forms (and associated…
Rob
  • 1,048
  • 4
  • 11
  • 22
6
votes
2 answers

How to keep a tree of VM snapshots up to date with Windows Update?

For testing our product's installer, I maintain a tree of virtual machine snapshots with different previous versions installed. It is a tedious task to do Windows Update, re-snapshot, delete parent snapshot on each VM. Is there an automated solution…
Aidan Ryan
  • 11,389
  • 13
  • 54
  • 86
5
votes
1 answer

Windows Update API with C# not finding any installed updates

I have a number of Windows 7 PC's that need patching with a particular Windows update, using the Windows Update API in a C# console app. The API needs to search the installed updates and report back if it's already installed and perform the…
SausageFingers
  • 1,796
  • 5
  • 31
  • 52
5
votes
3 answers

Suddenly getting "Unable to make the session state request to the session state server"

The setup: 2 web servers and a seperate state server I have two production web servers in a load balanced configuration. The ASP.NET web app they host shares state (like a web farm) using this line in their web.configs:
MGOwen
  • 6,562
  • 13
  • 58
  • 67
5
votes
1 answer

How to handle changeover from ASP MVC version 4.0.0.0 to 4.0.0.1

This is a followup to Windows update caused MVC3 and MVC4 stop working I also had the issue where windows update on my development machine caused my MVC 4 project to stop working. I changed the assembly reference to target version 4.0.0.1 and it…
Adam
  • 6,539
  • 3
  • 39
  • 65
5
votes
3 answers

How to Discover if Windows Update is optional, recommended, or important

I'm currently writing a type of automated program that among other things searches for windows updates. It can search for and retrieve updates just fine, but I am having trouble drilling down for what priority an update is. I would like to have an…
WoofDg79
  • 131
  • 2
  • 7
4
votes
3 answers

ClickOnce thinks there's an update available after Windows Update KB5029649, even when there's none

Hello StackOverflow community, I'm experiencing an unusual issue with our ClickOnce deployed VB.NET applications. Despite not having published any recent updates, some of our users are prompted to update the application. When they proceed, it…
Antolin11
  • 51
  • 7
4
votes
1 answer

Is there a way to detect a System-Shutdown from a .net C# Console App and delay the shutdown until your program can gracefully exit?

Keep in mind, this is a Console App running .NET with C#. Also, I might later convert this into a service, but for now, I need to handle the shutdown while my Console App is running. My system sometimes gets shutdown automagically by Windows…
Curtis
  • 5,794
  • 8
  • 50
  • 77
4
votes
3 answers

Pause windows update for up to 35 days and find out until which date updates are paused, via powershell

In Windows 10 it is possible to pause windows updates for up to 35 days using the "Windows Update - Advanced Options" settings dialog (please see screenshot). Question 1: How do i accomplish that via powershell or command-line ? Question 2: How do i…
impact79
  • 69
  • 1
  • 3
4
votes
2 answers

Opening WebMatrix solutions in VS failing when 2 versions of VS installed

Microsoft's WebMatrix development tool has a "Visual Studio" button to launch the VS editor and load it with the site you have open in WebMatrix. Normally it loads VS 2010, since that's the only version that supports WebMatrix sites. But the other…
Andy West
  • 12,302
  • 4
  • 34
  • 52
4
votes
0 answers

TLS 1.2 on Windows Server 2016 and .NET 3.5

I have this error using .NET 3.5 on Windows Server 2016 when I try to use TLS 1.2: Unhandled Exception: System.NotSupportedException: The requested security protocol is not supported.     at System.Net.ServicePointManager.set_SecurityProtocol…
cralu
  • 71
  • 1
  • 5
4
votes
1 answer

Programmatically get a list of all installed updates in Windows

I want to programmatically get a list of all installed KBs. This could be python code, WinAPI (which I will call from python), running another process and parsing its output, etc. What interests me are security updates, I don't care whether or not…
Eran Zimmerman Gonen
  • 4,375
  • 1
  • 19
  • 31
4
votes
1 answer

How to detect if .NET Framework hotfix is installed

According to Microsoft Download Page for .NET Framework 3.5 SP1, I should install KB959209 and KB967190 immediately after installing the .NET Framework package: IMPORTANT: After installing the .NET Framework 3.5 SP1 package (either the bootstrapper…
Paya
  • 5,124
  • 4
  • 45
  • 71
4
votes
2 answers

Is it possible to use Windows Update to update a program?

As we know we can set an address so Windows downloads its updates from specific address. I want to make update files and put them on that specific address on a server and computers on network download updates from that address and install updates.…
user415789
4
votes
2 answers

DateTime.ToLocalTime() stopped working on XP in August 2013

We have a VB.NET application installed on a customer's PC running XP, on which it appears that DateTime.ToLocalTime() has stopped working. The problem first manifested itself in August 2013. The customer is based in Texas, and their timezone is…
James Lavery
  • 920
  • 4
  • 25
1 2
3
27 28