“Please reinsert the media (CD, DVD, or USB) needed to complete the deployment.” error when deploying via an MDT Media Share

By | July 14, 2016
Share

Please reinsert the media

When a computer takes longer than MDT likes to locate the Media share to complete the Deployment, this error is presented. It will retry to locate the deployment when OK is clicked, but if this happens on a unit quite a bit, use this workaround.

Add the following code to your Scripts\Litetouch.wsf

'//----------------------------------------------------------------------------
'// Set the deployment method
'//----------------------------------------------------------------------------
bFoundMedia = False


'//----------------------------------------------------------------------------
'// FIX for locating USB Deployment Media
'//----------------------------------------------------------------------------
'Delay search for media 10 seconds.
Wscript.Sleep 10000
'Device Manager action: Scan for Hardware ...
sCmd = "c:\Windows\System32\rundll32.exe cfgmgr32.dll ,CM_Reenumerate_DevNode"
'Delay for 5 seconds to allow hw to ennumerate
Wscript.Sleep 5000


iRetVal = RunAndLog(sCmd, true)
For Each oDrive in oFSO.Drives

/BrianG

5 thoughts on ““Please reinsert the media (CD, DVD, or USB) needed to complete the deployment.” error when deploying via an MDT Media Share

  1. Ramon

    Hello,

    I’m having the same error, the strange thing is, I have three different platform which the WDS deployed to two are giving the error and one is building no problem.

    Can anyone help?

    Reply
    1. Brian Gonzalez Post author

      Ramon, I would suggest you to look at MDT for deployment instead of WDS alone. I honestly haven’t used WDS alone in 10+ years. /BG

      Reply

Leave a Reply

Your email address will not be published.

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.