Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3618
  • Last Modified:

MDT Update Deployment Share Wizard

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
donaldrwh
Asked:
donaldrwh
  • 2
1 Solution
 
David Johnson, CD, MVPOwnerCommented:
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
 
donaldrwhAuthor Commented:
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
 
donaldrwhAuthor Commented:
Didn't read instructions
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now