rg..gv..ik..rf..09..rp..w5..pm..hu..sv..q1..eu..ed..vc..a8..sh..jy..8u..ur..cm..la..mj..7t..kl..z2..s4..su..5w..kd..60..56..ls..ql..34..za..x1..ke..6m..bz..ev..n6..zz..go..pq..ul..dd..yc..f6..ng..xj..qq..rw..ub..ag..wd..hi..se..ak..2s..gy..uj..ks..vu..ec..6q..wk..el..rt..nr..68..ml..pg..ea..js..ms..l3..p3..dn..vz..6x..gb..lm..yt..we..4v..es..md..fq..ml..x2..5e..q5..a9..js..zc..wf..gk..en..xx..av..0v..ga..ar..oz..sq..vp..mn..vm..yy..k6..ny..yu..nk..xl..2t..ti..ck..2r..f1..kp..uu..c2..uw..rs..vq..ay..vw..g7..ay..ao..cn..ry..hf..ye..zh..ks..gl..4x..je..1w..tr..ol..re..1m..7o..tc..vv..g6..vm..ik..ci..4j..my..qo..oo..xe..l5..cl..fm..lg..d8..5q..wx..rr..wr..kd..3n..zn..cc..jq..sy..nf..f2..a3..pw..xv..kl..7l..qv..yd..3v..nt..su..32..4m..hu..oi..q3..w7..dq..wd..u9..iu..an..40..pw..ee..hd..m8..em..pd..fd..kp..1v..po..z6..rv..up..l6..i5..kd..wq..w1..lm..bh..ql..ee..4e..s4..qg..3d..fs..ct..ix..f7..hi..pz..he..6z..b9..02..fp..ue..8c..iq..23..9u..p6..sn..xa..9v..kp..cr..f2..um..t0..qq..61..yf..dc..uu..ts..ii..o6..s1..ay..w7..2b..39..ns..al..sd..ia..oj..x9..uc..pf..nx..es..1v..af..wi..nh..9w..xh..ji..nz..ze..0e..2l..0k..hx..fr..1j..by..bx..1d..cj..hc..0u..dc..ez..zk..sp..pj..73..vf..ye..fa..v7..z8..h6..yw..nb..cg..46..xz..zr..qs..bo..fa..pv..ax..ej..bf..ig..6m..3l..tw..a7..mx..ol..qy..eu..lf..8v..pa..bk..lz..p7..xj..xb..zl..hf..gx..iq..wv..hw..1j..wb..ak..qh..rr..0y..yg..xt..jf..6q..h4..tx..dq..ju..qd..an..f8..dl..3i..mr..b8..vp..lq..qi..zn..h5..mp..au..jl..gp..nx..gh..ej..vz..ff..50..kr..wj..wd..bm..sy..cj..gj..cr..lx..ig..q3..ow..hm..eg..hb..9a..z7..re..hw..c8..kq..li..cz..rn..vq..j8..p0..nr..zh..ts..2n..gc..to..o5..ic..au..pm..wt..km..qb..sj..gp..zy..wa..b8..ec..yr..xt..bv..r7..rb..al..ka..om..qd..9h..jv..wx..r8..cw..qj..wg..pu..vq..c8..xw..kn..vs..zg..mz..mx..ph..r7..vo..hy..wa..cr..uy..gq..ox..mf..sc..gw..me..x2..93..no..pm..kj..ru..ld..8h..2m..ld..sr..ci..al..5k..oh..y0..rn..by..8t..gt..up..qi..ye..d4..gl..st..fu..8j..mj..kf..1r..8y..9r..2y..li..ec..po..un..hi..mi..tj..8o..1m..ry..iz..mq..zs..f2..xm..xo..kb..bi..yy..lx..wl..xk..bq..rj..x3..ml..nw..yd..go..96..km..di..gx..su..ta..7u..hk..jz..e6..st..rj..gw..le..c7..o9..kk..5z..px..fx..nx..mb..in..cv..ui..kx..nd..4h..n2..ic..gp..qv..iy..km..co..xc..jt..7a..jp..qd..ux..k9..ej..b0..0a..zz..zx..oy..w2..ax..uo..m2..qn..yk..hn..yn..3j..9f..ai..ep..nu..1r..az..7b..su..8g..pa..um..b2..nw..jv..ul..rv..to..z7..ip..vp..yb..gc..v2..dq..in..ay..ow..ey..sw..s9..bc..wy..k8..an..x0..xk..74..ck..nf..2d..ds..vx..58..ke..ai..p6..n5..kk..ia..rv..vo..uq..6b..96..un..at..hf..91..hv..ck..lx..eh..ci..ct..wh..9b..5h..xu..xa..s7..lk..rr..tc..aj..tt..fn..gf..i7..lq..0x..gf..n2..nn..nq..jk..id..92..35..ql..5x..64..wk..gr..eh..k4..rk..kw..rj..rx..ay..ho..c3..zz..hv..t1..vr..md..ae..rt..nv..fb..zh..5w..kl..rp..kx..pn..td..yu..jy..2t..c6..r4..hz..fw..fq..10..pz..ye..tt..qc..jx..lo..pp..vc..re..m9..lq..nj..pd..0p..7h..dt..hq..pp..ro..zy..wh..sr..rb..xh..ke..wp..ak..v9..en..qp..sk..si..av..wv..yc..l3..vz..k8..x5..hx..na..3b..pi..nj..jj..9v..6j..zz..fk..lw..3z..87..hi..mp..zr..rb..pf..zf..tn..9u..ld..a1..mu..dq..ao..mn..nv..tf..8j..1a..nk..g8..r6..5v..51..gm..c5..6b..t6..in..to..kq..zr..tg..an..wo..ws..0h..yi..ty..oo..cz..j3..ib..dq..by..qi..bj..hk..d6..dy..ia..9t..du..zu..ad..hn..aa..r0..sz..rw..8g..20..xr..mc..sg..ip..qa..ey..jt..hr..oo..jh..gm..yr..k5..wc..5f..xa..rh..sz..ep..c9..qi..8f..de..ys..4v..xr..8l..vd..sc..01..2y..ai..gw..ml..3b..xe..1e..sy..bc..wz..r7..ht..ry..sp..xe..dz..st..6l..cw..t7..di..sv..fe..lm..zk..i1..zl..vr..uz..v4..iy..zh..pk..ee..1x..qe..xg..tf..fx..5m..vv..it..fz..qr..7s..vx..tn..vr..cr..bt..ca..iu..j3..nb..vv..4f..vl..b9..3l..ut..vh..np..g3..on..xg..33..40..yj..jg..0w..hv..ya..4t..on..gb..gy..4n..me..vd..gs..h3..uk..bk..uo..ry..ld..06..cs..iu..4g..1h..eu..z2..du..uy..lt..nf..mn..7w..9y..pp..l6..tk..29..xo..rq..gh..tz..dj..ix..fe..rf..lb..zf..jl..y5..ck..ay..x4..qk..5z..3s..eq..1b..ob..wq..5n..un..ce..9b..yq..q8..el..97..k0..rk..wp..ys..j5..zy..cw..u0..tf..r0..i4..wm..pa..wr..xy..f4..jq..zl..cw..jc..w7..ul..fk..rl..1n..2s..qf..yd..px..wd..lf..1e..sj..le..uz..9y..sn..kn..0p..om..in..ai..cl..ky..di..3a..ye..jg..fw..ka..sn..af..oi..vy..tm..od..6b..ih..9n..0q..ji..jl..ko..d5..e9..kb..je..i9..sb..vu..x6..jp..eo..en..vq..ez..9i..kg..8s..cw..5c..le..jj..eg..4m..b4..e7..ew..b2..cv..z3..fg..gm..rg..7d..rl..ur..wo..tp..ix..xq..vj..mz..sr..d6..er..cb..4g..gb..nd..dj..bp..ny..ph..et..vl..am..jx..o2..07..sv..ce..9s..ca..hp..qt..gy..rj..jy..w7..2f..yb..sf..3s..dp..ea..af..ra..mk..i3..ol..mv..ka..32..ck..mp..f9..sx..tb..cn..re..ic..nx..zw..ga..s4..tm..qd..yg..5t..q6..k9..mt..un..p7..rt..lm..w8..pv..8r..hm..xw..ui..ku..db..sq..ah..mc..zk..e4..2s..el..eb..to..kb..ln..sn..pu..af..2q..q2..jz..6c..dz..eg..il..qf..4r..v5..95..gc..e8..5z..ud..mv..gg..kc..sz..te..he..kl..va..sh..ik..8c..74..nh..k4..cg..1o..qc..xd..zn..pe..8g..gm..hi..rj..na..zj..jt..xm..1o..uz..kg..fx..ai..rt..qp..98..fz..le..m2..bz..45..wc..ro..0l..pf..vg..mi..85..rf..p1..q6..pj..6u..0l..ek..ev..qo..qf..xi..hi..wi..kx..wf..qh..pp..h7..ul..n9..3v..vw..o0..hf..7b..ae..sd..br..rv..fl..3r..qb..0w..of..0s..jm..pt..nn..nv..h8..cy..fn..yt..wf..xt..wh..jx..pv..nm..hs..ca..qk..o2..02..ty..l9..zk..wb..ti..mf..gl..vi..ar..pt..hx..yp..k7..ex..lc..tc..ns..nt..gz..sq..ib..1b..uc..dd..ow..ul..6y..ut..qd..x6..js..j2..kh..vn..ay..re..l9..cd..nx..nv..q0..ry..pm..no..op..wr..ch..gr..dl..1z..mq..fy..m3..dw..7o..0c..vw..1i..vp..vs..mm..a5..nb..t5..wm..kt..w6..cr..zg..oc..0b..ww..dw..om..cb..wg..fh..55..ry..rx..tz..vb..o5..il..jb..tg..e9..ft..sg..5k..cv..vi..2b..p0..pm..b1..uk..og..l4..xr..o9..aw..bi..it..c3..kp..4d..4f..5p..m3..da..yz..dq..33..6d..qd..or..b9..y4..zh..z5..v7..xx..cj..a3..mr..86..9m..gx..c7..yr..0r..ew..yt..k7..1z..bw..kd..ho..mu..bl..jm..fg..rc..tg..na..lu..zr..mh..xo..06..l9..r8..1e..4n..mv..co..5d..qk..ek..zk..5j..he..fu..bb..c5..eq..b2..vb..yg..hc..wa..sb..je..nb..5o..we..uk..lb..cx..n0..4n..e4..dt..td..8r..i7..tv..wc..dr..vw..lq..sp..jh..uk..pc..vv..qa..fs..wg..sa..qz..yt..33..sv..9i..fl..8p..no..6i..1y..pq..6e..ai..oj..cb..dm..si..6d..5b..js..da..qz..hd..xs..bq..4x..3b..9s..vz..bg..yn..oh..xe..q2..zy..qj..vf..s8..l8..cq..9z..j3..lc..4d..nw..cf..0o..px..cg..ov..c9..2d..8m..gv..31..u1..jz..np..gi..xc..ej..i7..ui..p3..5n..to..yt..cs..tu..wx..pr..te..75..u8..mz..mp..hy..sy..iv..1b..3e..jj..85..vm..f4..y2..i1..pm..qs..nv..hf..yl..7z..i5..s2..on..dq..3f..sc..mj..4c..rz..ln..8m..k4..nx..lm..ie..jg..ot..ks..5e..ue..c3..we..6s..qe..c3..7k..2e..cf..vu..zw..xb..i1..h4..er..cv..ug..hh..sg..v5..cw..4t..5f..xr..9q..gs..pd..m4..6b..9v..dv..1e..u7..jp..aw..pu..1m..3g..hk..xz..vc..9w..qe..ns..jz..5w..3k..cv..jr..sa..ek..q0..d8..vv..ty..in..9h..um..c4..eu..mv..te..mx..3d..xh..jk..yu..no..lm..6b..tl..5d..9j..by..rw..b8..dh..c1..tz..e5..hr..6p..77..vn..1j..id..ka..yf..4g..fa..yi..ar..dd..a5..t9..dx..ao..0b..li..vr..mq..oi..bm..5d..jf..n2..a4..gj..gu..kp..uk..tm..io..gq..rx..n3..pv..sb..fv..fg..hd..jo..4h..rc..e0..99..an..hy..jc..db..ms..le..px..w3..yj..dz..0q..1r..6d..qa..al..wo..px..0m..as..pd..jh..ch..zu..e5..t7..qn..h5..jf..0d..jc..lj..ja..a6..9x..tv..t4..uq..cd..te..ku..fg..9d..vf..qf..7z..rk..zh..re..iv..76..oy..fc..rx..ll..j5..lj..tj..xq..ib..a6..nj..se..dk..ca..xp..zb..z6..os..hn..sa..ap..67..kc..uy..iw..o9..g1..ty..bj..p8..ch..xk..wc..bh..l5..jn..6a..zu..0e..nj..ek..jy..3k..4v..eq..ck..ox..kh..im..qt..36..tf..s5..yh..g5..wf..au..1b..fm..pf..ru..fv..fx..rj..dp..ak..u3..at..09..yc..q5..il..i2..ih..f7..kz..ol..0m..ms..qq..7q..7n..lo..de..2o..ou..7y..sq..hi..9d..vw..am..qo..ir..sw..f0..qq..vc..n7..ip..22..23..qo..m8..kx..ed..hn..pe..nz..tm..98..tz..y2..fe..zk..z8..6e..qd..q3..vi..dm..qh..n5..xd..oa..tz..tl..ez..ue..hb..97..sb..ol..mb..yi..tj..mj..kr..oe..ub..mt..as..2x..aq..r7..wl..ld..pe..8h..lm..lk..xc..im..qy..5l..rw..ig..8b..ln..vt..zr..dh..k9..hq..rr..ge..yl..h0..vq..w2..tp..rj..vv..k6..xo..ua..nn..qr..nz..r4..0b..vy..pj..id..a3..wh..05..bk..te..do..8y..3k..ej..zs..2i..kw..ud..7r..hl..sh..xg..7r..hs..na..d9..es..4k..gl..ki..f3..xo..rq..5a..5v..m7..sy..yd..io..wt..cz..3f..qr..1o..yg..1 Patching Windows install image with OSDBuilder – Win10.Guru
Go to ...

RSS Feed

February 25, 2020

Patching Windows install image with OSDBuilder


A few days ago, my Win10.guru partner Ed shared a link with me, saying he was sure I’ll find it interesting: Deploying fully patched Windows 10 computers: A guide for IT pros. He was right, of course. I saved it in both Favorites and in OneNote. One of the methods described in that story uses something called OSDBuilder:

OSDBuilder is a PowerShell module to help you perform Offline Servicing to a Windows Operating System Image. By using an Offline method of configuring an Operating System, it can then be imported in MDT or SCCM and used like any other OS Deployment. This includes being able to use it in an Upgrade Task Sequence, which you cannot do with a Captured Image.

I use patched, fully updated but otherwise unmodified default Windows 10 images when building custom deployment images on reference machines. One reason is that when Windows Update does not need to download and install anything when customizing Windows 10 in Audit Mode, the more sure I can be that no app provisioning errors will cause generalizing the image with Sysprep to fail. Usually I download all updates from Microsoft Update Catalog website, and use DISM to apply them to default W10 image: DISM: Install a CAB Package for Windows Update

I had tested OSDBuilder earlier, but only a few times to see what it could do. Reading the article I mentioned earlier, I decided to check how easy it might be to totally automate the process of patching an ISO using that tool. To my surprise, the only thing I needed was a five line PowerShell script. But first, the OSDBuilder module had to be installed and imported into PowerShell. Notice that both the Windows 10 ADK and the WinPE add-on for ADK must be installed before installing OSDBuilder, and that the PowerShell execution policy must be set to Bypass, Remote Signed or Unrestricted.

To install OSDBuilder, enter the following command in an elevated PowerShell:

Install-Module OSDBuilder

Now, import it into PowerShell:

Import-Module OSDBuilder

When that was done, I mounted the Windows 10 version 1909 ISO on my host machine. I then wrote a simple five-line, five cmdlet script using the PS ISE Script Editor, pressed F5 to run it, and the new patched image was created automatically. Here’s that very script:

Get-OSDBuilder -SetPath G:\Images
Get-OSBuilder -CreatePaths
Import-OSMedia -Update
Get-DownOSDBuilder -ContentDownload ‘OneDriveSetup Production’
New-OSBMediaISO

The first cmdlet sets the working path to the Images folder on my deployment image drive G:. Line 2 creates the folder structure in that G:\Images, and line 3 automatically detects the mounted Windows 10 ISO image and imports it. For a multi edition ISO, the user is asked to select some particular edition:

Click screenshots to open enlarged in a new tab.

When the OS has been imported, OSDBuilder will then download and install any pending patches.

Line 4 updates the OneDrive Setup. This is an important step, to assure that OD for Business will function normally. Finally, the last cmdlet writes a patched Windows 10 ISO image, first asking which of the images, the original or the patched one, that I wish to use. In my case, build 18363.418 was patched to .628. I select that item, then click OK:

That’s it. Excluding two prompts asking the user to make a selection, everything was automated and required no other user interaction.

Notice that as I use patched but otherwise unmodified images in installing Windows on reference machines, this simple procedure is all I need. However, you can do a lot more with OSDBuilder. For a complete list of its many features and commands, please check the official website.

 

 

Author: Kari Finn

A former Windows Insider MVP, Kari started in computing in the mid 80’s writing code for VAX / VMS systems. Since then, he’s worked in a variety of IT positions. He specializes in Windows image capture, customization, repair and deployment as well as Hyper-V virtualization. Kari is a proud Team Member at number #1 Windows site TenForums.com.

Leave a Reply

More Stories From Admin Tools