[SOLVED] Server 2022 Core: Cannot install KB5034439 (resized partition already)

ddit

Member
Joined
Jan 4, 2019
Posts
19
Hello.
Like many, I have needed to resize the Recovery partition on many machines to get KB5034439 installed. This has worked on many servers, but it not working on a Windows 2022 Server Core VM. I have resized the winre partition multiple times to a current size of 1.8GB, but after re-enabling reagentc and attempting to install the above KB, it continues to fail.

I have run
Code:
sfc /scannow
and
Code:
DISM /scanhealth and DISM /restorehealth
...restarted the OS and still this KB fails. All other updates (eg MS Defender) appear in install correctly.

Attached are links to the two logs as requested. Please let me know if you need any other info.
CBS.zip
ComponentsScanner.txt
 
Hi. Thanks for the reply. Yep, I used exactly those instructions on all my 2022 servers. 9 out of 10 worked, except this one I have written about above.
 
Please run the following commands in an elevated prompt and copy and paste the result in your next post.
Rich (BB code):
reagentc /info
diskpart
list disk
sel disk 0
list part
 
Wierd. I just ran reagentc /info and it said 'disabled'. I swore it was enabled the last time I was troubleshooting this a few weeks ago. I also noticed the recovery partition was missing. Anyway, I just created a new recovery partition (approx 1.5GB size) using the same MS guide linked above, then enabled reagentc, rebooted, and just tried to install this KB again. Still fails. Below are the two commands requested.

Code:
PS C:\Users\admin> reagentc /info
Windows Recovery Environment (Windows RE) and system reset configuration
Information:


    Windows RE status:         Enabled
    Windows RE location:       \\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE
    Boot Configuration Data (BCD) identifier: 48db121a-8e28-11ed-aab3-00155d724220
    Recovery image location:
    Recovery image index:      0
    Custom image location:
    Custom image index:        0


REAGENTC.EXE: Operation Successful.

Code:
DISKPART> list part

  Partition ###  Type              Size     Offset
  -------------  ----------------  -------  -------
  Partition 1    System             100 MB  1024 KB
  Partition 2    Reserved            16 MB   101 MB
  Partition 3    Primary             98 GB   117 MB
  Partition 4    Recovery          1579 MB    98 GB

DISKPART>
 
Hmm, please post also the result of the following command.
Code:
list disk
 
Code:
DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
* Disk 0    Online          100 GB      0 B        *

DISKPART>
 
Please run the following command diskmgmt.msc and take a screenshot of this window when maximized.
 
Was this originally an MBR partition which is converted to GPT? Normally on GPT formatted drives the RE partition is the first first one before the EFI partition.
 
Was this originally an MBR partition which is converted to GPT? Normally on GPT formatted drives the RE partition is the first first one before the EFI partition.
Don't think so. It was a fresh 2022 install a few months back. I'm pretty sure all fresh installs are GPT now by default.
 
Okay, and all the other Servers have the same partition layout were KB5034439 is installed successfully after resizing the WinRE partition?
 
Okay, and all the other Servers have the same partition layout were KB5034439 is installed successfully after resizing the WinRE partition?
Yep. This is a screenshot of diskmgmr for another 2022 server built around the same time... This has been patched with KB5034439 successfully.RemoteDesktopManager_2024-06-03_14-25-42.png
 
Please run the the following commands on this server as well to compare some things.
Code:
diskpart
list disk

The result of list disk is also strange on the problematic server, normally the partition-layout start at sector 2048 and will show 1024KB of free space.
Code:
DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
* Disk 0    Online          100 GB      0 B        *

Example:
Rich (BB code):
DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online          465 GB  1024 KB        *
 
This is from the successfully patched server

Code:
DISKPART> list disk


  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online          127 GB      0 B        *
  Disk 1    Online          127 GB  1024 KB        *


DISKPART>
 
I'm checking a few other 2022 servers, which are also patched, and these too have 0B free on disk0.
 
Presumably if I delete the recovery patition, I'll have approx 1.5GB free space showing.
 
I'm checking a few other 2022 servers, which are also patched, and these too have 0B free on disk0.
And do these servers also have a disk 1? And is this a virtual RAID setup.
 
Please try also the following when Windows Defender is in use.
  • Open the Settings window > Update Security > Windows Security > Virus & threat protection.
  • Under "virus & threat protection updates" click on Check for updates.

Please post a screenshot of this window with the latest Security Intelligence version.
 

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

Back
Top