[SOLVED] Number of Reclaimable Packages Stuck/won't clear out - Server 2012 R2 Standard

soj4trade

Member
Joined
Jul 14, 2022
Posts
133
Location
US East
Howdy folks,

I'm running a Server 2012 R2 Standard OS (VM) and I've recently repaired several corruptions via SFCFix.exe. The symptom (failure to install updates) has been resolved, so I know the repair was successful, at least a little bit. Currently DISM /Online /Cleanup-Image /RestoreHealth succeeds without trouble, as where prior to the repairs it'd say that the source files couldn't be downloaded. Also, SFC /SCANNOW completes successfully, as where prior to the repairs it'd say that integrity violations were found that cannot be repaired.

So, the symptoms are gone, which is good. The one strange anomaly that I've been fighting with is that DISM /Online /Cleanup-Image /AnalyzeComponentStore says that 11 reclaimable packages exist, and that component cleanup is recommended. OK, that's great. That's when I run DISM /Online /Cleanup-Image /StartComponentCleanup. This completes successfully, but within 3 seconds. It's not doing anything. Furthermore, a subsequent /AnalyzeComponentStore returns the same message: 11 reclaimable packages exist, and cleanup is recommended.

I've scoured DISM.log, CBS.log, and even setupapi.dev.log to no avail. Absolutely nothing is jumping out at me as problematic. This post is pretty much my last resort. I've worked all week on this server and it's driving me nuts! :)

Please find attached all relevant logs.

Anything you can do for me would be fantastic!!
 

Attachments

Rich (BB code):
2022-08-12 17:56:43, Info                  DISM   DISM Package Manager: PID=7340 TID=7460 Feature NetFx4ServerFeatures with CBS state 7(CbsInstallStateInstalled) being mapped to dism state 7(DISM_INSTALL_STATE_INSTALLED) - CDISMPackageFeature::LogInstallStateMapping
2022-08-12 17:56:52, Error                 DISM   DISM Package Manager: PID=7340 TID=7460 Failed to get the State of the Feature - CDISMPackageFeature::Internal_GetCbsState(hr:0x800f0902)
2022-08-12 17:56:52, Error                 DISM   DISM Package Manager: PID=7340 TID=7460 Failed to get the CBS State of the Feature - CDISMPackageFeature::get_State(hr:0x800f0902)
2022-08-12 17:56:52, Error                 DISM   API: PID=6900 TID=3048 Failed to get feature state - DismFeature_InternalToPublicEx(hr:0x800f0902)
2022-08-12 17:56:52, Error                 DISM   API: PID=6900 TID=3048 Failed to transform 2 feature from internal to public - IDismFeatureCollection_InternalToPublicEx(hr:0x800f0902)
2022-08-12 17:56:52, Error                 DISM   API: PID=6900 TID=3048 Transform feature collection internal to public failed - CGetFeaturesCommandObject::InternalExecute(hr:0x800f0902)
2022-08-12 17:56:52, Error                 DISM   API: PID=6900 TID=3048 InternalExecute failed - CBaseCommandObject::Execute(hr:0x800f0902)
2022-08-12 17:56:52, Error                 DISM   API: PID=6900 TID=2484 CGetFeaturesCommandObject internal execution failed - DismGetFeaturesExInternal(hr:0x800f0902)

Hi,

It seems there is a problem with an .NET feature, please run the following command and attach Features.txt.
Code:
DISM /online /Get-Features /Format:table > "%userprofile%\desktop\Features.txt"
 
Please try to disable the following features through DISM or the Server Manager, maybe it will trigger an error - so that the CBS log may show more information.
Code:
DISM /online /disable-feature /FeatureName:NetFx4ServerFeatures 
DISM /online /disable-feature /FeatureName:NetFx4

Could you please check if the following mum/cat pair exists in the C:\Windows\Servicing\Packages directory.
  • Microsoft-Windows-NetFx4-OC-Package~31bf3856ad364e35~amd64~~6.3.9600.16384.cat
  • Microsoft-Windows-NetFx4-OC-Package~31bf3856ad364e35~amd64~~6.3.9600.16384.mum
 
Sure, I'm running those commands now. In the meantime though, it's worth mentioning that I don't have those cat/mum files in the directory you mentioned. I have cat/mum files that start with Microsoft-Windows-NetFx4-OC-Package~, but as soon as I throw in 31bf3856ad364e35 there are no results.
 
Wait! Sorry, I have these cat/mum files:
  • Microsoft-Windows-NetFx4-OC-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384.cat
  • Microsoft-Windows-NetFx4-OC-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384.mum
  • Microsoft-Windows-NetFx4-OC-Package~31bf3856ad364e35~amd64~~6.3.9600.16384.cat
  • Microsoft-Windows-NetFx4-OC-Package~31bf3856ad364e35~amd64~~6.3.9600.16384.mum
So clearly I do have them. Not sure why Windows wasn't seeing them when I did a search, but I can confirm they are present.
 
Great, let's check the SHA256 hashes to verify these files.
Code:
certutil -hashfile "C:\Windows\Servicing\Packages\Microsoft-Windows-NetFx4-OC-Package~31bf3856ad364e35~amd64~~6.3.9600.16384.cat" SHA256
certutil -hashfile "C:\Windows\Servicing\Packages\Microsoft-Windows-NetFx4-OC-Package~31bf3856ad364e35~amd64~~6.3.9600.16384.mum" SHA256
certutil -hashfile "C:\Windows\Servicing\Packages\Microsoft-Windows-NetFx4-OC-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384.cat" SHA256
certutil -hashfile "C:\Windows\Servicing\Packages\Microsoft-Windows-NetFx4-OC-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384.mum" SHA256
 
Code:
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Windows\system32>certutil -hashfile "C:\Windows\Servicing\Packages\Microsoft-
Windows-NetFx4-OC-Package~31bf3856ad364e35~amd64~~6.3.9600.16384.cat" SHA256
SHA256 hash of file C:\Windows\Servicing\Packages\Microsoft-Windows-NetFx4-OC-Pa
ckage~31bf3856ad364e35~amd64~~6.3.9600.16384.cat:
b0 d9 b2 a0 56 1a b2 19 80 a6 66 25 4e 3b 91 a3 a4 b6 05 48 53 7d 34 6d 9f fd 57
 c6 50 74 42 47
CertUtil: -hashfile command completed successfully.

C:\Windows\system32>certutil -hashfile "C:\Windows\Servicing\Packages\Microsoft-
Windows-NetFx4-OC-Package~31bf3856ad364e35~amd64~~6.3.9600.16384.mum" SHA256
SHA256 hash of file C:\Windows\Servicing\Packages\Microsoft-Windows-NetFx4-OC-Pa
ckage~31bf3856ad364e35~amd64~~6.3.9600.16384.mum:
25 c6 65 bc df d3 49 ae a1 3f f9 76 0d fc df 9e 13 af fc af 78 a1 6a a1 d6 52 1e
 e7 5a f1 aa c5
CertUtil: -hashfile command completed successfully.

C:\Windows\system32>certutil -hashfile "C:\Windows\Servicing\Packages\Microsoft-
Windows-NetFx4-OC-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384.cat" SHA25
6
SHA256 hash of file C:\Windows\Servicing\Packages\Microsoft-Windows-NetFx4-OC-Pa
ckage~31bf3856ad364e35~amd64~en-US~6.3.9600.16384.cat:
ce 1e c8 68 f2 f3 cf 6c 8b 73 94 cf 8d c3 17 57 20 54 bb 2b 35 8e 56 1f e6 4b f5
 b2 2e 69 11 6b
CertUtil: -hashfile command completed successfully.

C:\Windows\system32>certutil -hashfile "C:\Windows\Servicing\Packages\Microsoft-
Windows-NetFx4-OC-Package~31bf3856ad364e35~amd64~en-US~6.3.9600.16384.mum" SHA25
6
SHA256 hash of file C:\Windows\Servicing\Packages\Microsoft-Windows-NetFx4-OC-Pa
ckage~31bf3856ad364e35~amd64~en-US~6.3.9600.16384.mum:
24 ca 63 c0 75 e4 a5 5e ca 04 d2 28 e0 b3 58 6a 56 b9 4b 8d d0 10 d6 44 d0 21 78
 0f 14 8f 7e df
CertUtil: -hashfile command completed successfully.

By the way, the DISM /online /disable-feature /FeatureName:NetFx4ServerFeatures command is still hanging with no progress bar (yet)...
 
The hashes are all fine, same as on my VM.
By the way, the DISM /online /disable-feature /FeatureName:NetFx4ServerFeatures command is still hanging with no progress bar (yet)...
That is not a good sign at all, here it jumps almost directly to 20% and finish within 5 minutes, if there is no progress within a few minutes, I would restart the machine and attach the latest CBS log to see what happens. Maybe a config file or something like that is corrupt.
 
No problem. I'm actually having a tough time opening CBS.log as it's 250 MB and keeps crashing various text editors. Let me keep working on that. If I get it, I'll send it over. Otherwise I'll set this server to restart tonight and we'll collect the CBS.log file on Monday!
 
Could you copy that file at the moment, and send it through WeTransfer?

Can you open the log with Glogg?
 
Rich (BB code):
2022-08-12 17:56:52, Info                  CBS    Cannot perform concurrent read operation while CSI transaction is on the way. [HRESULT = 0x800f0902 - CBS_E_BUSY]
2022-08-12 17:56:52, Info                  CBS    Failed to get inventory. [HRESULT = 0x800f0902 - CBS_E_BUSY]
2022-08-12 17:56:52, Info                  CSI    000035b8@2022/8/12:21:56:52.261 CSI Transaction @0x1f53535760 destroyed
2022-08-12 17:56:52, Info                  CBS    Failed to get CSI Inventory [HRESULT = 0x800f0902 - CBS_E_BUSY]
2022-08-12 17:56:52, Info                  CBS    Failed to get component state. [HRESULT = 0x800f0902 - CBS_E_BUSY]
2022-08-12 17:56:52, Info                  CBS    Failed to get current state of the deployment [HRESULT = 0x800f0902 - CBS_E_BUSY]
2022-08-12 17:56:52, Info                  CBS    Failed to get Transaction State for package: Microsoft-Windows-NetFx4-OC-Package~31bf3856ad364e35~amd64~~6.3.9600.16384, update: NetFx4 [HRESULT = 0x800f0902 - CBS_E_BUSY]
2022-08-12 17:56:52, Error                 CBS    Failed to get store state [HRESULT = 0x800f0902 - CBS_E_BUSY]

In the previous CBS log I've noticed the above excerpt, so I think a reboot is the best way to perform first. It seems there's something pending why you couldn't run the "/StartComponentCleanup" switch with DISM.
 
Here's CBS.log, although it's fairly small. I'm re-running that DISM /online /disable-feature /FeatureName:NetFx4ServerFeatures command again now.
 

Attachments

Rich (BB code):
2022-08-12 17:56:52, Info                  CBS    Failed to get current state of the deployment [HRESULT = 0x800f0902 - CBS_E_BUSY]
2022-08-12 17:56:52, Info                  CBS    Failed to get Transaction State for package: Microsoft-Windows-NetFx4-OC-Package~31bf3856ad364e35~amd64~~6.3.9600.16384, update: NetFx4 [HRESULT = 0x800f0902 - CBS_E_BUSY]
2022-08-12 17:56:52, Error                 CBS    Failed to get store state [HRESULT = 0x800f0902 - CBS_E_BUSY]

Hi,

The latest CBS log no longer shows the error above, so hopefully you are able to run that command now...
 
Apologies, as this is not what you wanted to hear. But, the command is hanging again. Same as before. I've attached CBS.log. It's quite large! I'm digging in now. I'll let you know if I find something!
 

Attachments

Please try to run this command DISM /Online /Cleanup-Image /StartComponentCleanup again, if it fails attach a new copy of the CBS log as well the DISM log.
The latest CBS does not provide any useful information despite the size of it..
 
Please try to run this command DISM /Online /Cleanup-Image /StartComponentCleanup again, if it fails attach a new copy of the CBS log as well the DISM log.
The latest CBS does not provide any useful information despite the size of it..
I think the previous DISM command is still running; I was unable to abort it, so I just closed the Command Prompt window. I may restart this server tonight, unless you know of a surefire way to abort the /Disable-Feature operation...
 

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

Back
Top