
If you are having trouble reading that command, here it is (watch for word wrap!):Ĭmd.exe /c X:\windows\system32\dism.exe /ScratchDir:%OSDisk%\Scratch /Image:%OSDisk%\ /Add-Package /PackagePath:%_SMSTSMDataPath%\Packages\EB20019E\Windows6.1-KB2685811-圆4.cabĪnd there you have it. You may need to change this to whatever variable you are referencing in your Format and Partition Step. Pay special attention to where %OSDisk% is referenced.

Here we are using DISM.EXE to inject the. I have mine after the Apply Windows Settings step.Īfter the Scratch directory has been created (this gets removed as part of a Post-OSD cleanup script) we add yet another Run Command Line Step to actually inject the update. This step goes anywhere AFTER the OS WIM is dropped onto the system but BEFORE the Setup Windows and ConfigMgr step runs. I create this because I actually inject quite a few items offline (depending on the scenario) and ensures that DISM has enough space to work with. Next we need a new Run Command Line Step to create a Scratch directory used by DISM. As you can see from the below screenshot, I’m using “ OSDisk” as the Task Sequence variable. Specifically, we are looking for (or need to set) a variable used to store the “real” drive letter for our OS partition. The first thing you’ll want to do is check your Format and Partition step.

Setting up your Task Sequence to inject the update offline. Now I’m not going to go into details here, I assume that you already know how to create an SCCM package so copy your files, create your package (no program needed) and distribute the content to your DP(s). Your folder should now look something like this: I prefer to use a tool like 7zip to do this. MSU since that is what DISM will use later on. Next we need to extract the CAB file out of the. Ok, so you’ve downloaded the necessary files, placed them into a folder labeled “Windows 7 KMDF 1.11” or something like that. Grab the download! Get the one appropriate for your architecture. So lets go over the steps on just HOW to inject this hotfix (or any really) in an offline way using your existing OSD Task Sequence. I don’t know about you but I prefer #2 and will inject the hotfix during my next image build.

