Skip to main content
Microsoft profile picture

Stuart Milby

3 months ago

Windows Updates On Virtual Machine Server 2019

Hi all, We are experiencing an issue when attempting to download and install Windows Updates on a Windows Server 2019 Virtual Machine, any help would be appreciated. From some reading online I believe the log which shows errors related to updates is the CBS.log, I have copied some of the first error lines below, 2021-02-26 17:20:02, Error CSI 00000046@2021/2/26:17:20:02.401 (F) Attempting to mark store corrupt with category [l:26 ml:27]'CorruptComponentsRootItems'[gle=0x80004005] 2021-02-26 17:20:02, Error CSI 00000047@2021/2/26:17:20:02.401 (F) onecore\base\wcp\componentstore\csd_transact.cpp(3870): Store corruption detected in function CCSDirect::CreateTransaction expression: 0 2021-02-26 17:20:02, Error CSI 00000048 (F) HRESULT_FROM_WIN32(14098) #8463# from Windows::COM::CComponentStore::InternalTransact(...)[gle=0x80073712] 2021-02-26 17:20:02, Error CSI 00000049 (F) HRESULT_FROM_WIN32(14098) #8461# from Windows::ServicingAPI::CCSITransaction::ICSITransaction2_Analyze(Flags = 0, riid = {f4d9decb-0250-4ad4-9500-85c7f2f281ec}, ppUnk = NULL, disp = 0)[gle=0x80073712] These seem to point to Component Store being corrupted in some way. Many were saying on some community pages that a potential solution would be to rename the "SoftwareDistribution" folder incase the old downloads were corrupted, new ones would then be downloaded and a new "SoftwareDistribution" folder created, unfortunately this did not work. Another potential solution was to run admin command variations of the below, dism.exe /online /cleanup-image /startcomponentcleanup This command did kick off returning image version etc but did not continue, I ensured to leave this overnight as it was advised it can take hours to complete, again no success. Short of restoring the VM's image from backup which I imagine will be a painful process I am out of ideas, any help or advise would be appreciated. Regards, Stuart