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: 6
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: 3287
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 10 guests