MDT 2012 - Updating deployment share failed.
-
Wednesday, April 11, 2012 12:49 PM
Hi guys,
my Situation: MDT 2012 RC1 running on Server 8 Beta, WAIK for Windows 7 installed.
I created a deployment share, imported an OS (Server 2008 R2) and created a Standard Task Sequence. When i want to update the deployment share now it fails with the following error message (complete output below):
=== 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-mdac
Copy: D:\DeploymentShare2\Control\Bootstrap.ini to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\Bootstrap.ini
Copy: C:\Program Files\Microsoft Deployment Toolkit\Templates\Unattend_PE_x86.xml to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Unattend.xml
Copy: C:\Program Files\Microsoft Deployment Toolkit\Templates\winpeshl.ini to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Windows\system32\winpeshl.ini
Copy: D:\DeploymentShare2\Scripts\LiteTouch.wsf to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\LiteTouch.wsf
Copy: D:\DeploymentShare2\Scripts\ZTIUtility.vbs to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\ZTIUtility.vbs
Copy: D:\DeploymentShare2\Scripts\ZTIBCDUtility.vbs to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\ZTIBCDUtility.vbs
Copy: D:\DeploymentShare2\Scripts\ZTIDiskUtility.vbs to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\ZTIDiskUtility.vbs
Copy: D:\DeploymentShare2\Scripts\ZTIDataAccess.vbs to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\ZTIDataAccess.vbs
Copy: D:\DeploymentShare2\Scripts\ZTIConfigFile.vbs to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\ZTIConfigFile.vbs
Copy: D:\DeploymentShare2\Scripts\ZTIGather.wsf to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\ZTIGather.wsf
Copy: D:\DeploymentShare2\Scripts\ZTIGather.xml to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\ZTIGather.xml
Copy: D:\DeploymentShare2\Scripts\Wizard.hta to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\Wizard.hta
Copy: D:\DeploymentShare2\Scripts\Credentials_ENU.xml to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\Credentials_ENU.xml
Copy: D:\DeploymentShare2\Scripts\Credentials_scripts.vbs to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\Credentials_scripts.vbs
Copy: D:\DeploymentShare2\Scripts\WizUtility.vbs to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\WizUtility.vbs
Copy: D:\DeploymentShare2\Scripts\Wizard.css to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\Wizard.css
Copy: D:\DeploymentShare2\Scripts\Wizard.ico to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\Wizard.ico
Copy: D:\DeploymentShare2\Scripts\BackButton.jpg to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\BackButton.jpg
Copy: D:\DeploymentShare2\Scripts\plusicon.gif to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\plusicon.gif
Copy: D:\DeploymentShare2\Scripts\minusico.gif to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\minusico.gif
Copy: D:\DeploymentShare2\Scripts\Summary_Definition_ENU.xml to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\Summary_Definition_ENU.xml
Copy: D:\DeploymentShare2\Scripts\Summary_scripts.vbs to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\Summary_scripts.vbs
Copy: D:\DeploymentShare2\Scripts\LTICleanup.wsf to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\LTICleanup.wsf
Copy: D:\DeploymentShare2\Scripts\BDD_Welcome_ENU.xml to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\BDD_Welcome_ENU.xml
Copy: D:\DeploymentShare2\Scripts\WelcomeWiz_Choice.xml to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\WelcomeWiz_Choice.xml
Copy: D:\DeploymentShare2\Scripts\WelcomeWiz_Choice.vbs to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\WelcomeWiz_Choice.vbs
Copy: D:\DeploymentShare2\Scripts\WelcomeWiz_DeployRoot.xml to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\WelcomeWiz_DeployRoot.xml
Copy: D:\DeploymentShare2\Scripts\WelcomeWiz_DeployRoot.vbs to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\WelcomeWiz_DeployRoot.vbs
Copy: D:\DeploymentShare2\Scripts\WelcomeWiz_Initialize.xml to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\WelcomeWiz_Initialize.xml
Copy: D:\DeploymentShare2\Scripts\WelcomeWiz_Initialize.vbs to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\WelcomeWiz_Initialize.vbs
Copy: D:\DeploymentShare2\Scripts\SelectItem.jpg to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\SelectItem.jpg
Copy: D:\DeploymentShare2\Scripts\WelcomeBanner.jpg to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\WelcomeBanner.jpg
Copy: D:\DeploymentShare2\Scripts\btnout.png to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\btnout.png
Copy: D:\DeploymentShare2\Scripts\btnover.png to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\btnover.png
Copy: D:\DeploymentShare2\Scripts\btnsel.png to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\btnsel.png
Copy: D:\DeploymentShare2\Scripts\LTIGetFolder.wsf to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\LTIGetFolder.wsf
Copy: D:\DeploymentShare2\Scripts\NICSettings_Definition_ENU.xml to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\NICSettings_Definition_ENU.xml
Copy: D:\DeploymentShare2\Scripts\ZTINicUtility.vbs to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\ZTINicUtility.vbs
Copy: D:\DeploymentShare2\Scripts\ZTINicConfig.wsf to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\ZTINicConfig.wsf
Copy: D:\DeploymentShare2\Scripts\BackButton.png to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\BackButton.png
Copy: D:\DeploymentShare2\Scripts\FolderIcon.png to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\FolderIcon.png
Copy: D:\DeploymentShare2\Scripts\ItemIcon1.png to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\ItemIcon1.png
Copy: D:\DeploymentShare2\Scripts\MinusIcon1.png to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\MinusIcon1.png
Copy: D:\DeploymentShare2\Scripts\PlusIcon1.png to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\PlusIcon1.png
Copy: D:\DeploymentShare2\Scripts\SelectItem.png to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\SelectItem.png
Copy: D:\DeploymentShare2\Scripts\header-image.png to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\header-image.png
Copy: D:\DeploymentShare2\Scripts\NavBar.png to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\NavBar.png
Copy: D:\DeploymentShare2\Scripts\Computer.png to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\Computer.png
Copy: D:\DeploymentShare2\Scripts\WelcomeWiz_Background.jpg to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\WelcomeWiz_Background.jpg
Copy: D:\DeploymentShare2\Scripts\DeployWiz_Administrator.png to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Scripts\DeployWiz_Administrator.png
Copy: D:\DeploymentShare2\Tools\x86\BDDRUN.exe to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Windows\system32\BDDRUN.exe
Copy: D:\DeploymentShare2\Tools\x86\WinRERUN.exe to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Tools\x86\WinRERUN.exe
Copy: D:\DeploymentShare2\Tools\x86\CcmCore.dll to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Tools\x86\CcmCore.dll
Copy: D:\DeploymentShare2\Tools\x86\CcmUtilLib.dll to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Tools\x86\CcmUtilLib.dll
Copy: D:\DeploymentShare2\Tools\x86\Smsboot.exe to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Tools\x86\Smsboot.exe
Copy: D:\DeploymentShare2\Tools\x86\SmsCore.dll to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Tools\x86\SmsCore.dll
Copy: D:\DeploymentShare2\Tools\x86\TsCore.dll to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Tools\x86\TsCore.dll
Copy: D:\DeploymentShare2\Tools\x86\TSEnv.exe to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Tools\x86\TSEnv.exe
Copy: D:\DeploymentShare2\Tools\x86\TsManager.exe to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Tools\x86\TsManager.exe
Copy: D:\DeploymentShare2\Tools\x86\TsmBootstrap.exe to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Tools\x86\TsmBootstrap.exe
Copy: D:\DeploymentShare2\Tools\x86\TsMessaging.dll to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Tools\x86\TsMessaging.dll
Copy: D:\DeploymentShare2\Tools\x86\TsmBootstrap.exe to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Tools\x86\TsmBootstrap.exe
Copy: D:\DeploymentShare2\Tools\x86\TsProgressUI.exe to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Tools\x86\TsProgressUI.exe
Copy: D:\DeploymentShare2\Tools\x86\TSResNlc.dll to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Tools\x86\TSResNlc.dll
Copy: D:\DeploymentShare2\Tools\x86\xprslib.dll to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Tools\x86\xprslib.dll
Copy: D:\DeploymentShare2\Tools\x86\00000409\tsres.dll to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Tools\x86\00000409\tsres.dll
Copy: D:\DeploymentShare2\Tools\x86\Microsoft.BDD.Utility.dll to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Deploy\Tools\x86\Microsoft.BDD.Utility.dll
Copy: C:\Program Files\Microsoft Deployment Toolkit\Samples\Background.bmp to C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\MDTUpdate.2732\Mount\Windows\system32\winpe.bmpSystem.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()I checked on Folder C:\Users\ADMINI~1.TES\AppData\Local\Temp\2\ but it's empty...
Any idea what the problem might be? WAIK? Server 8? If you need any more information just let me know.
//EDIT Looks like this is related to the Windows Server 8 OS, as i just did exactly the same on a Windows 2008 R2 SP1 Server and it works like a charm...
Thanks in advance.
Stefan
- Edited by Stefan Schipper Wednesday, April 11, 2012 1:51 PM
All Replies
-
Wednesday, June 06, 2012 10:38 AM
Hi Stefan,
I was also experiencing the same issue when updating the Deployment Share with MDT 2012 (under Windows Server 8 RC), so my workaround was to remove the Custom Background which is as follows:-
- Right-click on the Deployment Share, and then click on the Properties menu-item.
- Click on the Windows PE tab, and then delete the Custom background bitmap file entry.
- Click on the Apply button, and then the OK button.
- Right-click on the Deployment Share, and then click on the Update Deployment Share menu-item.
Regards,
spirosl
- Proposed As Answer by spirosl Wednesday, June 06, 2012 10:38 AM
- Marked As Answer by Stefan Schipper Monday, June 11, 2012 1:58 PM
-
Monday, June 11, 2012 1:59 PM
Thanks, this works like a charm :)Hi Stefan,
I was also experiencing the same issue when updating the Deployment Share with MDT 2012 (under Windows Server 8 RC), so my workaround was to remove the Custom Background which is as follows:-
- Right-click on the Deployment Share, and then click on the Properties menu-item.
- Click on the Windows PE tab, and then delete the Custom background bitmap file entry.
- Click on the Apply button, and then the OK button.
- Right-click on the Deployment Share, and then click on the Update Deployment Share menu-item.
Regards,
spirosl
-
Tuesday, June 26, 2012 4:09 PMHi same in Windows Server 2012..Strange
/SaiTech
-
Wednesday, July 04, 2012 6:52 PM
Hi all,
We experienced the exact same behavor when we customized the name of the .iso file that is created when you update the DS. Exact same errors in logs. We changed the name of the winpe.ISO to be generated and everything worked fine.
In the past when the name of the .iso has been left at the default LiteTouchPE_x86.iso we could update the DS and optimize the process but it would blow away the existing LiteTouchPE_x86 and create a new one with no hassle. Maybe these little customizations are not so little to MDT 2012?
Just thought I'd toss it out there since it was encountering the same issue (.iso failed to create due to existing file) but for a different reason.
Rhonda J. Layfield
-
Friday, September 28, 2012 12:31 AM
Hi Stefan,
The same thing appears to happen when using MDT on WS2012, spirosl also pointed me to my solution.
It seems to me that the environment variable "INSTALLDIR" did not get created during the install so there are 2 possible manual solutions until MS resolve hopefully in the next update to MDT.
- Create a global environment variable INSTALLDIR with a value pointing to the location that you installed MDT in my case 'C:\Program Files\Microsoft Deployment Toolkit'
- Change all instances of %INSTALLDIR% within the property tabs of the "Deployment Share" and point to the location that you installed MDT in my case 'C:\Program Files\Microsoft Deployment Toolkit'
I opted for option 1 for my solution, hope this helps and that Microsoft will resolve this for the WS2012 and W8 OS's in the next SP.
Regards
Cy
- Proposed As Answer by CyMadigan Friday, September 28, 2012 12:32 AM
-
Wednesday, March 20, 2013 11:37 PM
Hi,
I also had the same trouble, but if I removed the boot image from WDS first, it worked every time
Dave
Dave

