Solved

MDT Update Deployment Share Wizard

Posted on 2013-01-22
3
3,310 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 81

Expert Comment

by:David Johnson, CD, MVP
ID: 38808683
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
ID: 38808825
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
ID: 38823895
Didn't read instructions
0

Featured Post

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Chrome VM 1 38
Can I increase Size of Advanced Search Button in Word 2013? 4 48
Installing Windows 10 on USB via VMware 10 75
Replaced printer and cannot print 15 39
No single Antivirus application (despite claims by manufacturers) will catch or protect you from all Virus / Malware or Spyware threats. That doesn't stop you from further protecting yourself however - and this article is to show you how.
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

738 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