Solved

MDT Update Deployment Share Wizard

Posted on 2013-01-22
3
3,025 Views
Last Modified: 2013-01-27
When I run MDT 2012 on Windows Server 2012 the MDT Update Deployment Share Wizard fails at the copy background.bmp step. The error is;
[b]System.Management.Automation.CmdletInvocationException: Cannot create a file when that file already exists.
 ---> System.IO.IOException: Cannot create a file when that file already exists.
[/b]


I have looked at one other similar query but it does not have a custom background and the $INSTALLDIR% variable seems to work although I cannot locate it in system environment variables

Full  output from the wizard:

=== Making sure the deployment share has the latest x86 tools ===
=== Processing LiteTouchPE (x86) boot image ===
Building requested boot image profile.
Determining if any changes have been made in the boot image configuration.
No existing boot image profile found for platform x86 so a new image will be created.
Calculating hashes for requested content.
Changes have been made, boot image will be updated.
Windows PE WIM C:\Program Files\Windows AIK\Tools\PETools\x86\winpe.wim will be used.
WIM file mounted.
Set Windows PE system root.
Set Windows PE scratch space.
Added component winpe-hta
Added component winpe-scripting
Added component winpe-wmi
Added component winpe-securestartup
Added component winpe-fmapi
Added component winpe-mdac
Copy: D:\Data\Deploymentshare\Control\Bootstrap.ini to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\Bootstrap.ini
Copy: C:\Program Files\Microsoft Deployment Toolkit\Templates\Unattend_PE_x86.xml to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Unattend.xml
Copy: C:\Program Files\Microsoft Deployment Toolkit\Templates\winpeshl.ini to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Windows\system32\winpeshl.ini
Copy: D:\Data\Deploymentshare\Scripts\LiteTouch.wsf to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\LiteTouch.wsf
Copy: D:\Data\Deploymentshare\Scripts\ZTIUtility.vbs to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\ZTIUtility.vbs
Copy: D:\Data\Deploymentshare\Scripts\ZTIBCDUtility.vbs to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\ZTIBCDUtility.vbs
Copy: D:\Data\Deploymentshare\Scripts\ZTIDiskUtility.vbs to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\ZTIDiskUtility.vbs
Copy: D:\Data\Deploymentshare\Scripts\ZTIDataAccess.vbs to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\ZTIDataAccess.vbs
Copy: D:\Data\Deploymentshare\Scripts\ZTIConfigFile.vbs to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\ZTIConfigFile.vbs
Copy: D:\Data\Deploymentshare\Scripts\ZTIGather.wsf to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\ZTIGather.wsf
Copy: D:\Data\Deploymentshare\Scripts\ZTIGather.xml to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\ZTIGather.xml
Copy: D:\Data\Deploymentshare\Scripts\Wizard.hta to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\Wizard.hta
Copy: D:\Data\Deploymentshare\Scripts\Credentials_ENU.xml to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\Credentials_ENU.xml
Copy: D:\Data\Deploymentshare\Scripts\Credentials_scripts.vbs to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\Credentials_scripts.vbs
Copy: D:\Data\Deploymentshare\Scripts\WizUtility.vbs to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\WizUtility.vbs
Copy: D:\Data\Deploymentshare\Scripts\Wizard.css to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\Wizard.css
Copy: D:\Data\Deploymentshare\Scripts\Wizard.ico to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\Wizard.ico
Copy: D:\Data\Deploymentshare\Scripts\BackButton.jpg to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\BackButton.jpg
Copy: D:\Data\Deploymentshare\Scripts\plusicon.gif to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\plusicon.gif
Copy: D:\Data\Deploymentshare\Scripts\minusico.gif to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\minusico.gif
Copy: D:\Data\Deploymentshare\Scripts\Summary_Definition_ENU.xml to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\Summary_Definition_ENU.xml
Copy: D:\Data\Deploymentshare\Scripts\Summary_scripts.vbs to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\Summary_scripts.vbs
Copy: D:\Data\Deploymentshare\Scripts\LTICleanup.wsf to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\LTICleanup.wsf
Copy: D:\Data\Deploymentshare\Scripts\BDD_Welcome_ENU.xml to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\BDD_Welcome_ENU.xml
Copy: D:\Data\Deploymentshare\Scripts\WelcomeWiz_Choice.xml to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\WelcomeWiz_Choice.xml
Copy: D:\Data\Deploymentshare\Scripts\WelcomeWiz_Choice.vbs to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\WelcomeWiz_Choice.vbs
Copy: D:\Data\Deploymentshare\Scripts\WelcomeWiz_DeployRoot.xml to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\WelcomeWiz_DeployRoot.xml
Copy: D:\Data\Deploymentshare\Scripts\WelcomeWiz_DeployRoot.vbs to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\WelcomeWiz_DeployRoot.vbs
Copy: D:\Data\Deploymentshare\Scripts\WelcomeWiz_Initialize.xml to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\WelcomeWiz_Initialize.xml
Copy: D:\Data\Deploymentshare\Scripts\WelcomeWiz_Initialize.vbs to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\WelcomeWiz_Initialize.vbs
Copy: D:\Data\Deploymentshare\Scripts\SelectItem.jpg to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\SelectItem.jpg
Copy: D:\Data\Deploymentshare\Scripts\WelcomeBanner.jpg to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\WelcomeBanner.jpg
Copy: D:\Data\Deploymentshare\Scripts\btnout.png to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\btnout.png
Copy: D:\Data\Deploymentshare\Scripts\btnover.png to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\btnover.png
Copy: D:\Data\Deploymentshare\Scripts\btnsel.png to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\btnsel.png
Copy: D:\Data\Deploymentshare\Scripts\LTIGetFolder.wsf to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\LTIGetFolder.wsf
Copy: D:\Data\Deploymentshare\Scripts\NICSettings_Definition_ENU.xml to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\NICSettings_Definition_ENU.xml
Copy: D:\Data\Deploymentshare\Scripts\ZTINicUtility.vbs to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\ZTINicUtility.vbs
Copy: D:\Data\Deploymentshare\Scripts\ZTINicConfig.wsf to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\ZTINicConfig.wsf
Copy: D:\Data\Deploymentshare\Scripts\BackButton.png to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\BackButton.png
Copy: D:\Data\Deploymentshare\Scripts\FolderIcon.png to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\FolderIcon.png
Copy: D:\Data\Deploymentshare\Scripts\ItemIcon1.png to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\ItemIcon1.png
Copy: D:\Data\Deploymentshare\Scripts\MinusIcon1.png to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\MinusIcon1.png
Copy: D:\Data\Deploymentshare\Scripts\PlusIcon1.png to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\PlusIcon1.png
Copy: D:\Data\Deploymentshare\Scripts\SelectItem.png to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\SelectItem.png
Copy: D:\Data\Deploymentshare\Scripts\header-image.png to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\header-image.png
Copy: D:\Data\Deploymentshare\Scripts\NavBar.png to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\NavBar.png
Copy: D:\Data\Deploymentshare\Scripts\Computer.png to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\Computer.png
Copy: D:\Data\Deploymentshare\Scripts\WelcomeWiz_Background.jpg to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\WelcomeWiz_Background.jpg
Copy: D:\Data\Deploymentshare\Scripts\DeployWiz_Administrator.png to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Scripts\DeployWiz_Administrator.png
Copy: D:\Data\Deploymentshare\Tools\x86\BDDRUN.exe to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Windows\system32\BDDRUN.exe
Copy: D:\Data\Deploymentshare\Tools\x86\WinRERUN.exe to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Tools\x86\WinRERUN.exe
Copy: D:\Data\Deploymentshare\Tools\x86\CcmCore.dll to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Tools\x86\CcmCore.dll
Copy: D:\Data\Deploymentshare\Tools\x86\CcmUtilLib.dll to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Tools\x86\CcmUtilLib.dll
Copy: D:\Data\Deploymentshare\Tools\x86\Smsboot.exe to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Tools\x86\Smsboot.exe
Copy: D:\Data\Deploymentshare\Tools\x86\SmsCore.dll to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Tools\x86\SmsCore.dll
Copy: D:\Data\Deploymentshare\Tools\x86\TsCore.dll to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Tools\x86\TsCore.dll
Copy: D:\Data\Deploymentshare\Tools\x86\TSEnv.exe to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Tools\x86\TSEnv.exe
Copy: D:\Data\Deploymentshare\Tools\x86\TsManager.exe to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Tools\x86\TsManager.exe
Copy: D:\Data\Deploymentshare\Tools\x86\TsmBootstrap.exe to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Tools\x86\TsmBootstrap.exe
Copy: D:\Data\Deploymentshare\Tools\x86\TsMessaging.dll to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Tools\x86\TsMessaging.dll
Copy: D:\Data\Deploymentshare\Tools\x86\TsmBootstrap.exe to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Tools\x86\TsmBootstrap.exe
Copy: D:\Data\Deploymentshare\Tools\x86\TsProgressUI.exe to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Tools\x86\TsProgressUI.exe
Copy: D:\Data\Deploymentshare\Tools\x86\TSResNlc.dll to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Tools\x86\TSResNlc.dll
Copy: D:\Data\Deploymentshare\Tools\x86\xprslib.dll to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Tools\x86\xprslib.dll
Copy: D:\Data\Deploymentshare\Tools\x86\00000409\tsres.dll to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Tools\x86\00000409\tsres.dll
Copy: D:\Data\Deploymentshare\Tools\x86\Microsoft.BDD.Utility.dll to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Deploy\Tools\x86\Microsoft.BDD.Utility.dll
Copy: C:\Program Files\Microsoft Deployment Toolkit\Samples\Background.bmp to C:\Users\ADMINI~1.COR\AppData\Local\Temp\MDTUpdate.1968\Mount\Windows\system32\winpe.bmp

System.Management.Automation.CmdletInvocationException: Cannot create a file when that file already exists.
 ---> System.IO.IOException: Cannot create a file when that file already exists.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost)
   at Microsoft.BDD.Core.DirectoryUtility.CopyFile(DEInfo sourceFile, DEInfo destFile, String destFullName)
   at Microsoft.BDD.Core.DirectoryUtility.BeginCopyFile(String theSourceFile, String theDestFile)
   at Microsoft.BDD.PSSnapIn.UpdateDeploymentPoint.UpdateBootImage(String template, String platform, String dpPath, Boolean createISO, String isoName)
   at Microsoft.BDD.PSSnapIn.UpdateDeploymentPoint.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()
   --- End of inner exception stack trace ---
   at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
   at Microsoft.BDD.Wizards.UpdateProgress.WizardProcessing()
   at Microsoft.BDD.Wizards.WizardProgress.InitiateWizardProcessing()
0
Comment
Question by:donaldrwh
  • 2
3 Comments
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
Comment Utility
check the contents of your deploymentshare$\boot folder you've probably got a stuck file there.. delete the .iso\temp files and then update the folder again.
0
 

Accepted Solution

by:
donaldrwh earned 0 total points
Comment Utility
Thanks,

Not the problem. I managed to solve. The custom background file is the problem and I did not follow the suggested solution through and only deleted entry in X86 tab. Once I had deleted in the X64 tab it worked...
0
 

Author Closing Comment

by:donaldrwh
Comment Utility
Didn't read instructions
0

Featured Post

Shouldn't all users have the same email signature?

You wouldn't let your users design their own business cards, would you? So, why do you let them design their own email signatures? Think of the damage they could be doing to your brand reputation! Choose the easy way to manage set up and add email signatures for all users.

Join & Write a Comment

Several part series to implement Internet Explorer 11 Enterprise Mode
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now