[SOLVED] Windows Server 2019 - KB5031361 failing to install

No, there's nothing in that folder that begins after the letter M - even with Show hidden items turned on:
 

Attachments

  • packages screenshot.PNG
    packages screenshot.PNG
    86.1 KB · Views: 1
Please post also screenshot(s) to look at the files which are started with Package_940_for_.
 
If I browse to that folder in Command Prompt and run dir, I get this:

(EDIT: wrong screenshot attached initially, apologies)
 

Attachments

  • packages screenshot 3.PNG
    packages screenshot 3.PNG
    156.5 KB · Views: 2
Hmm, please run the following command and attach dirlist to your next post.
Code:
dir /s /a %systemroot%\Servicing\Packages > "%userprofile%\Desktop\Dirlist.txt"
 
Ah, it seems the File Not Found error appears when it tries to log all the files with the letter O/P! So let's check the system first with check disk.
Code:
chkdsk
 
Check disk detected errors, so I would advise to run the following command as well.
Code:
chkdsk c: /f /r
At the question "Would you like to schedule this volume to be checked the next time the system restarts? (Y/N)", press Y.
 
After running chkdsk, I ran dir again to produce dirlist.txt and Package_940_for_KB5032196~31bf3856ad364e35~amd64~~10.0.1.11 now seems to be present. I then tried installing KB5032196 again but it failed - here are dirlist.txt and the CBS logs:
 

Attachments

Hi,

Verify the catalog database by using Esentutl
  • Open the Start menu of Windows and type the command CMD
  • When you see Command Prompt on the list, right-click on it and select Run as administrator.
  • Copy and paste the following commands one at a time into the command prompt and press enter after each.
Code:
net stop cryptsvc
esentutl /g %systemroot%\System32\catroot2\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\catdb
net start cryptsvc
  • Take a screenshot of the command prompt window and paste it into your next reply.
 
Thanks, please do the following to repair the catalog database.

Repair the catalog database by using Esentutl
  • Open the Start menu of Windows and type the command CMD
  • When you see Command Prompt on the list, right-click on it and select Run as administrator.
  • Copy and paste the following commands one at a time into the command prompt and press enter after each.
Code:
net stop cryptsvc
esentutl /p %systemroot%\System32\catroot2\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\catdb
net start cryptsvc
  • Take a screenshot of the command prompt window and paste it into your next reply.
 
Repairing the catalog database failed, so please run the following commands in an elevated prompt and post the result.
Code:
net stop wuauserv
net stop cryptSvc
net stop bits
ren %SystemRoot%\System32\catroot2 Catroot2.old
net start wuauserv
net start cryptSvc
net start bits
 
Great, please reboot the server and attempt to update again. If it fails attach a new copy of the CBS logs.
 
That's now installed successfully, thank you so much for all of your help and persistence! Hopefully the server won't get in such a state again.
 

Attachments

  • Capture.PNG
    Capture.PNG
    22.2 KB · Views: 1
Hi,

You're welcome. Glad to hear the update installed successfully after rebuilding the catalog database. (y)
I will mark this thread as solved.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top