I am getting an error when I do update deployment share in MDT. It only happens if I fill the "extra directory to add" or add in "packages". If I don't have any packages or leave the extra directory blank, the share updates successfully. I am using MDT 2012 and have tried from different computers. I have enough space and full write access to the MDT share. Any help would be appreciated.
Joe
Set Windows PE system root.
Set Windows PE scratch space.
Copy: \\gvault\galdeploy$\Extra Files\x64 to c:\temp\2\MDTUpdate.2440\Mount\
System.Management.Automation.CmdletInvocationException: Access to the path 'c:\temp\2\MDTUpdate.2440\Mount\Windows\System32\bcdboot.exe' is denied. ---> System.UnauthorizedAccessException: Access to the path 'c:\temp\2\MDTUpdate.2440\Mount\Windows\System32\bcdboot.exe'
is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.Delete(String path)
at Microsoft.BDD.Core.DirectoryUtility.CopyFile(DEInfo sourceFile, DEInfo destFile, String destFullName)
at Microsoft.BDD.Core.DirectoryUtility.CopyDirectory(String theSource, String theDest)
at Microsoft.BDD.Core.DirectoryUtility.CopyDirectory(String theSource, String theDest)
at Microsoft.BDD.Core.DirectoryUtility.CopyDirectory(String theSource, String theDest)
at Microsoft.BDD.Core.DirectoryUtility.BeginCopy()
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.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)
at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper()
at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProc()