Jump to content


Mark C

OSD Task Sequence without MDT

Recommended Posts

We currently have MDT integration with Configuration Manager, however due to Microsoft no longer developing MDT and vbscript being removed in the future, I've being reviewing our Task Sequences. I've been able to remove MDT from the base metal pxe boot TS and it works, however we also use the Refresh Only part of the MDT TS which as an 0x80070057 when the TS starts the Apply Operating System. I've replaced the MDT Gather task with powershell script from GitHub - jonconwayuk/PowerShell_Gather: PowerShell script to replace MDT Gather in Windows OSD which doesn't work. The TS only works if I add the Use Toolkit Package and Gather tasks for MDT which then allows the TS to wipe the C drive and apply the wim file.

I presume the MDT Gather is setting a variable that the Powershell script doesn't.

 

 

Share this post


Link to post
Share on other sites

the variables detected/set should be revealed in the smsts.log during the Gather steps, so look there and then add them to the new Powershell script, have you tried that ?

Share this post


Link to post
Share on other sites

I think I've now found the cause, the apply operating system task is using the variable OSDisk which as it isn't in the Powershell script I've set a set variable task, however it was set to C and in the BDD.log it is showing as c: 

Edited by Mark C

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.