OSD Toolkit 1.9
WinPEGen.exe has been used to modify the WinPE boot image without error. BCEnabler is run during the OSD Task Sequence but the BranchCache Service will not start.
If you are familiar with the modified boot images that are created by WinPEGen.exe and you mount the new image you may notice that there appear to be files missing from the image.
If you use f8 command line support during the OSD process you will note that BranchCache is not available.
Using a patched OS source.
The latest version of WinPEGen.exe (OSD Toolkit 220.127.116.11) generates an image that requires that the WinPE image be at the same patch level as the OS Source (Not just version level).
WinPEGen.exe requires that the source boot image is unmodified. Therefore the sequence is as follows:-
1. Modify your boot.wim image as usual using WinPEGen.exe
2. Add the appropriate CU to the image.
We have a couple of scripts (please read the README.txt) that can help automate this process which you can download from here:-