Hello Arjun,
I hope you have a great day ahead,
As you were mentioned the previous patches also unable to be installed. I would like to point out that some updates rely on other updates being installed first. If a prerequisite update is missing, the main update might be marked as "not applicable".
I would recommend you to follow solutions below:
Scenario 1: Required SSU ( KB5005112) has not been install yet.
Following the latest public detail of June Patch, you must install the August 10, 2021 SSU (KB5005112) before installing June cumulative update. Please kindly double check if the mentioned SSU install yet.
If it not, please install the SSU and install June patch again.
If the scenario 1 is failed, please follow the scenario 2.
Scenario 2: Required SSU (****KB5005112) **has been installed. **
A.Reset Windows Update components
Search for "Powershell" in the Start menu, right-click it, and select "Run as administrator"
Type and enter each command separately:
- net stop wuauserv
- net stop cryptSvc
- net stop bits
- net stop msiserver
- Ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
- net start wuauserv
- net start cryptSvc
- net start bits
- net start msiserver
B. Expand the MSU file
1.Download the June patch on the problematic device via Microsoft Update Catalog website
https://www.catalog.update.microsoft.com/Search.aspx?q=KB5060531
2.Rename the original name .msu file to KB5060531.msu
3.Create a "Temp" folder in _C:_ and move the KB5060531.msu
4__.__Create "Cab" folder in C:\Temp
5.Search for "Powershell" in the Start menu, right-click it, and select "Run as administrator"
- expand -F: C:\Temp_KB5060531.msu_ C:\Temp\Cab*
6.The command will expand the .msu to 4 files .cab in the cab folder.
There will be a cab file name : SSU-17763.XXXX-xXX.cab. It would be SSU that need to be installed before the cumulative updates ( biggest size cab file)
Run the commands in PS as below:
- dism /online /add-package /packagepath:C:\Temp\Cab\SSU-17763.XXXX-xXX.cab
- dism /online /add-package /packagepath:C:\Temp\Cab\actual update.cab
Your devices will restart once the installation is successfully completed. Else you may need to restart your PC.
If my response was helpful and successfully addressed your issue, I would sincerely appreciate it if you could take a moment to upvote it. Thank you for your time and consideration.
Warm Regards,