Solved

MDT Update Deployment Share Wizard

Posted on 2013-01-22
3
3,197 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 80

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
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…

830 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