-Bulk
+_pin (catalog)
DISM.exe /Online /Remove-Package /PackageName:Package_4057_for_KB5001342~31bf3856ad364e35~amd64~~10.0.1.5
Failed to bulk stage deployment manifest and pin deployment for package:Package_4387_for_KB5022286
C:\temp>DISM /Online /Get-Packages /Format:Table >a.txt & a.txt
search for KB
DISM.exe /Online /Remove-Package /PackageName:Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.3887.1.7
DISM.exe /Online /Remove-Package /PackagePath:"C:\test\kb5001342.cab"
DISM.exe /Online /add-Package /PackagePath:"C:\test\kb5001342.cab"
Expand -f:* "C:\temp\kb5001342.msu" "C:\Test"
c:\windows\log\CBS.log
Go to end
Search backword for ", err" Notice space
Then search again backward for "kb"
look at the line that has "bulk" in it. Must remove this first
Go on Google and search for that KB
Find the version of it. Similar like #####.####
Run this command to get all packages:
DISM /Online /Get-Packages /Format:Table >a.txt & a.txt
Search for that #####.####
Uninstall that package with this command:
DISM.exe /Online /Remove-Package /PackageName:PackageName
For example:
DISM.exe /Online /Remove-Package /PackageName:Package_for_RollupFix~31bf3856ad364e35~amd64~~17763.3887.1.7
Say "No" to a reboot
Go back to your CBS file
Look for the line above or around that has "pin" in it
You'll need to add this package
Go to Microsoft Update Catalog and download the package
Download and rename your download to "kb.." to the c:\temp location
Extract your KB to c:\test with the following command:
Expand -f:* "C:\temp\kb.....msu" "C:\Test"
Go into c:\test and rename that large "cab" file to KB....
Now, you want to install the missing patch:
DISM.exe /Online /add-Package /PackagePath:PathTocab
For example:
DISM.exe /Online /add-Package /PackagePath:"C:\test\kb4598296.cab"
Reboot
Try adding your features
** If both the PIN and BULK have the same ID and you have issues, install that package in the procedure
after downloading from the Microsoft Catalog