405 questions
2
votes
0
answers
103
views
Find the same not-installed Windows updates as the UI with PowerShell
Here is what Windows Settings shows me:
I try to get the same list using PowerShell. Here is my script
$session = New-Object -ComObject 'Microsoft.Update.Session';
$searcher = $session....
1
vote
1
answer
310
views
How to detect if there's a Windows Update available using Delphi code?
I need to know from within my app whether the person has a pending Windows Update available or not, and then prompt him to update his Windows if it's not updated yet.
Is there a way to check if an ...
1
vote
0
answers
128
views
Using pywin32 and flask to build a windows update scanner and i am having a problem where any function using COM objects blocks the next function
As the title states, i am trying to build a remote windows update scanner in python using pywin32 and flask. My intended functionality is for a listener to receive a post request to the /trigger ...
0
votes
0
answers
84
views
The COM library for checking Windows updates search does not work according to the C++ MFC source code
Environment: Visual Studio 2015, MFC
Issue:
hr = CoInitialize(NULL);
if (FAILED(hr))
{
jvResult[_T("result")] = JsonValue::number((int)ISPT_ResultEnum::ISPTResult_Fail);
jvResult[_T(...
3
votes
1
answer
790
views
Media Foundation cannot initialise transform (cannot connect to Windows Update)
I have a Media Foundation based video decoder that works with the HEVC Codec from Microsoft.
On my development machine it works just fine.
However, on our production machines (which are very locked ...
0
votes
1
answer
311
views
WSUS delete computer in DownstreamServer
I have a problem when i delete a computer on a downstreamserver.
I do it by powershell with the class .Delete() in the object Microsoft.UpdateServices.Administration.ComputerTargetScope.
The computer ...
2
votes
3
answers
3k
views
PostgreSQL Error: Database Locale Incompatibility Following Windows Update (From Turkish_Turkey.1254 to Turkish_Türkiye.1254)
I'm encountering an issue while trying to connect to a PostgreSQL database in a Flask web application. I'm getting an error message like "Database connection failed." Upon investigating the ...
-1
votes
1
answer
1k
views
Import update into WSUS by .msu file
I have a Windows6.2-KB2712101-x86 update file cannot find it on Windows Update Catalog.But can find the x64 version.
So, cannot import it's x86 version into WSUS by Windows Update Catalog using ...
2
votes
0
answers
107
views
How do I test if the changes I made to the Windows 10 Update process work
I have several Windows 10 computers that run our App which controls our hardware. Each run of our App takes several days to complete. When a Windows Update comes in, it reboots the computer which ...
0
votes
1
answer
942
views
Could not load file or assembly Microsoft.AspNetCore.*
On a service running Dotnet 7 which worked without issues, started continuously logging the following event. Service process continues to run, but nothing works on it. No requests are accepted. ...
1
vote
0
answers
135
views
Object error during installation of Windows updates
My code used to work but now I get:
"The requested action with this object has failed"
The script crashes when I try to install drivers on a new operating system:
Func download_and_install(...
-1
votes
1
answer
382
views
windows update Updateorchestrator restart after installation of updates Server 2016
Server 2016 windows updates are downloading and installing. But the server is never rebooting to apply the updates.
Configure automatic updating: 4 - Auto download and schedule the install
Install ...
4
votes
3
answers
2k
views
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 ...
0
votes
1
answer
924
views
Add reg key through Powershell
I'm trying to remove and add a reg key through PS and I end up getting an error. See below. I don't know why it's causing this error.
$path1 = 'HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\...
0
votes
0
answers
167
views
Windows Update WUAPILib - Updates still showing as pending after install
Anyone have this issue, I install updates using this class. Updates are downloaded, installed correctly but still show in the WU GUI as not installed. Pressing install now on the GUI refreshes the ...