Generate List of Missing Updates

Re: Generate List of Missing Updates

Postby josephbutler » 14.08.2019, 12:45

I just tried double-clicking on the vbs and I get the following:

Line: 58
Char: 1
Error: Permission Denied
Code: 800A0046

I am running as administrator on my machine. And do not receive this when I run the UpdateInstaller.exe so i am not sure why i am getting this when just running the vbs by itself.
josephbutler
 
Posts: 8
Joined: 09.08.2019, 16:32

Re: Generate List of Missing Updates

Postby aker » 16.08.2019, 22:17

Line 58 is
Code: Select all
Set objUpdateService = CreateObject("Microsoft.Update.ServiceManager").AddScanPackageService("Offline Sync Service", strTempFolder & "\wsusscn2.cab")


It tells WUA to use wsuscn2.cab in your temporary directory for searching the updates.

Could you try this:
Create a temporary directory (e.g. "C:\tmp"), copy .\client\wsus\wsusscn2.cab and .\client\cmdßListMissingUpdateIds.vbs to that directory, open an administrative command prompt, and enter the following commands (you'll need to adjust "C:\tmp" to your chosen path):
Code: Select all
cd /d C:\tmp
set TEMP=C:\tmp
set TMP=C:\tmp
cscript .\ListMissingUpdateIds.vbs /all

Wait until it finishes.
Does it generate a log now?
Then use "Get-WindowsUpdateLog" in Powershell to create a human-readable version of WindowsUpdate.log


Also: Windows 10 1903 (18362.239) was the July 2019 security update for Windows 10 1903. If your wsusscn2.cab was downloaded before the August security updates were released, wsusou will not install anything anymore as your system is considered as up to date (as the catalog doesn't contain newer ones). You can check the creation date by right-clicking wsusscn2.cab and viewing the digital signature under "Properties".
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to sell it.
aker
aker
 
Posts: 3345
Joined: 02.03.2011, 15:32
Location: %SystemRoot%\System32\Boot\winload.efi

Re: Generate List of Missing Updates

Postby josephbutler » 31.08.2019, 12:56

Do apologize for not responding sooner. I am setting up a virtual today on a windows 7 machine SP1 machine and will be trying this this weekend and will reply.
josephbutler
 
Posts: 8
Joined: 09.08.2019, 16:32

Re: Generate List of Missing Updates

Postby josephbutler » 18.09.2019, 19:27

Ok, so it worked on my Windows 7 SP1 virtual machine with no problem, listing about 20 patches that are missing.


However, I went back to my Windows 7 Test machine and tried to run it, and I get the following message:

c:\tmp\ListMissingUpdateIds.vbs(58, 1) (null): The timestamp signature and/or certificate could not be verified or is malformed.
josephbutler
 
Posts: 8
Joined: 09.08.2019, 16:32

Re: Generate List of Missing Updates

Postby aker » 23.09.2019, 21:16

Sorry for my late reply, I' a little bit busy at the moment.

Could you check for the digital signature of the file .\client\wsus\wsusscn2.cab (right-click -> Properties -> Digital Signature).
If it says something like "signature invalid", the file has most likely been damaged.
If it says something similar to "untruted root certificate" or "could find trusted root certificate", please try to install these updates first: :arrow: viewtopic.php?f=7&t=6653

In all cases, post your results here.
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to sell it.
aker
aker
 
Posts: 3345
Joined: 02.03.2011, 15:32
Location: %SystemRoot%\System32\Boot\winload.efi

Previous

Return to Installation / Updating

Who is online

Users browsing this forum: No registered users and 19 guests