none
MDT Refresh Failure 5624 RRS feed

Answers

  • >   Also from earlier in the log you can see where MDT attempted to clean out the c:\documents and  settings folder, and was unable to do so. You should dig deeper into *why* the folder could not be removed.

    Yes I did notice that, but what would be causing that error?

    Could be anything. Either you don't have the correct permissions, or the file/folder may be in use.

    You should dig deeper into *why* the folder could not be removed.

    http://windows.microsoft.com/en-us/windows7/why-cant-i-delete-a-file-or-folder


    Keith Garner - keithga.wordpress.com

    • Marked as answer by pixa241 Monday, December 2, 2013 5:49 PM
    Monday, December 2, 2013 1:25 AM
    Moderator

All replies

  • Specifically what was the error when you ran the imagex.exe command manually from the WinPE F8 cmd.exe window?

    Keith Garner - keithga.wordpress.com

    Wednesday, November 27, 2013 4:26 AM
    Moderator
  • Specifically what was the error when you ran the imagex.exe command manually from the WinPE F8 cmd.exe window?

    Keith Garner - keithga.wordpress.com


    It tells me imagex is not recognizable as internal or external command. The wizard gets to applying image, as soon as it turns to 1% its when it error out and tell me that.
    Friday, November 29, 2013 11:22 PM
  • This is the log from BDD.log

    <![LOG[------  Applying Windows image using ImageX.exe ------]LOG]!><time="15:13:30.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[LTI applying image \\IS28\RRDeploymentShare$\Operating Systems\W7x64Master\W7x64Master.wim using ImageX]LOG]!><time="15:13:30.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Property SourcePath is now = \\IS28\RRDeploymentShare$\Operating Systems\W7x64Master]LOG]!><time="15:13:30.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Cleaning off old operating system]LOG]!><time="15:13:30.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\$RECYCLE.BIN]LOG]!><time="15:13:30.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\2 gig clearing]LOG]!><time="15:13:31.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\2 gig clearing - Copy]LOG]!><time="15:13:31.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\Alchemy]LOG]!><time="15:13:32.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\bank acct dec-2011]LOG]!><time="15:13:32.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\boot]LOG]!><time="15:13:32.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\California-overtime-rules.php_files]LOG]!><time="15:13:32.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\cash 10-31-2012 ar]LOG]!><time="15:13:32.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\cerner]LOG]!><time="15:13:33.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\closings 2012]LOG]!><time="15:13:33.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\Config.Msi]LOG]!><time="15:13:33.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\customUI]LOG]!><time="15:13:34.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\dc0af174a9bce76debe5e5dfd3]LOG]!><time="15:13:34.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\dec 5 disatster]LOG]!><time="15:13:34.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\Delano Reports]LOG]!><time="15:13:34.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\DELL]LOG]!><time="15:13:34.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\docProps]LOG]!><time="15:13:35.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\Documents and Settings]LOG]!><time="15:13:35.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Second pass - Deleting C:\Documents and Settings]LOG]!><time="15:16:55.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Taking ownership of C:\Documents and Settings]LOG]!><time="15:16:55.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[About to run command: takeown.exe /F "C:\Documents and Settings" /R /A /D Y]LOG]!><time="15:16:55.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Command has been started (process ID 1884)]LOG]!><time="15:16:55.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > SUCCESS: The file (or folder): "C:\Documents and Settings" now owned by the administrators group.]LOG]!><time="15:16:55.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > SUCCESS: The file (or folder): "C:\Documents and Settings\All Users" now owned by the administrators group.]LOG]!><time="15:16:55.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > SUCCESS: The file (or folder): "C:\Documents and Settings\snydk" now owned by the administrators group.]LOG]!><time="15:16:55.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > SUCCESS: The file (or folder): "C:\Documents and Settings\All Users\Application Data" now owned by the administrators group.]LOG]!><time="15:16:55.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > SUCCESS: The file (or folder): "C:\Documents and Settings\All Users\Application Data\Real" now owned by the administrators group.]LOG]!><time="15:16:55.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Return code from command = 1]LOG]!><time="15:16:55.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ResetFolder: TakeOwn for C:\Documents and Settings, RC = 1]LOG]!><time="15:16:55.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ResetFolder: Change security permissions for C:\Documents and Settings, RC = 2]LOG]!><time="15:16:55.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Non-zero return code resetting security on C:\Documents and Settings, RC = 2]LOG]!><time="15:16:55.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\dpr electronic building folder]LOG]!><time="15:16:56.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\dpr electronic building folder - Copy]LOG]!><time="15:16:56.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\e0cb78e591c217da7c]LOG]!><time="15:16:56.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\E2008]LOG]!><time="15:16:56.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\E2009]LOG]!><time="15:16:56.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\E2010]LOG]!><time="15:16:56.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\E2011]LOG]!><time="15:16:57.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\eeoc]LOG]!><time="15:16:57.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\ef58b48b390be5b36b0b0936f94f6079]LOG]!><time="15:16:57.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\electronic dpr 2010 build]LOG]!><time="15:16:57.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\ERDNT]LOG]!><time="15:16:57.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\f4092f815bc12f0b48c03fde0c]LOG]!><time="15:16:58.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\FCPA]LOG]!><time="15:16:58.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\fixwareout]LOG]!><time="15:16:58.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\floppy disks]LOG]!><time="15:16:58.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\HHAPRC110]LOG]!><time="15:16:58.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\hospital 06]LOG]!><time="15:16:58.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\hospital 07]LOG]!><time="15:16:58.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\hospital fee program 2010]LOG]!><time="15:16:58.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\housing]LOG]!><time="15:16:58.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\INPPRC074]LOG]!><time="15:16:58.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\INPPRC085]LOG]!><time="15:16:58.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\INPPRC093]LOG]!><time="15:16:58.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\INPPRC102]LOG]!><time="15:16:58.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\INPPRC103]LOG]!><time="15:16:58.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\INPPRC107]LOG]!><time="15:16:59.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\INPPRC112]LOG]!><time="15:16:59.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\INPPRC122]LOG]!><time="15:16:59.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\Intel]LOG]!><time="15:16:59.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\ipps 2011 tables]LOG]!><time="15:16:59.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\ltc]LOG]!><time="15:16:59.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\ltc2001]LOG]!><time="15:16:59.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\ltc2006]LOG]!><time="15:16:59.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\LTCHPC07B]LOG]!><time="15:16:59.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\medical audit 2010]LOG]!><time="15:16:59.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Skipping C:\MININT]LOG]!><time="15:16:59.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\MSOCache]LOG]!><time="15:16:59.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\MyRegistration.aspx_files]LOG]!><time="15:17:00.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\New Folder]LOG]!><time="15:17:00.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\New Folder (2)]LOG]!><time="15:17:00.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\Novell]LOG]!><time="15:17:00.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\oracle]LOG]!><time="15:17:00.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\oracle gl lessons]LOG]!><time="15:17:00.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\oshpd]LOG]!><time="15:17:00.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\oshpd 1st 2011_files]LOG]!><time="15:17:00.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\oshpd 2007 annual]LOG]!><time="15:17:00.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\oshpd snf]LOG]!><time="15:17:00.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\PGP5D67]LOG]!><time="15:17:00.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\pricer 08]LOG]!><time="15:17:00.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\pricer 09]LOG]!><time="15:17:00.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\pricer 10]LOG]!><time="15:17:00.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\pricer 2011]LOG]!><time="15:17:00.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\PRICER063]LOG]!><time="15:17:01.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\pricer07]LOG]!><time="15:17:01.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\pricer2009]LOG]!><time="15:17:01.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\Program Files]LOG]!><time="15:17:01.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\q2 2010 oshpd]LOG]!><time="15:18:24.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Skipping C:\RECYCLER]LOG]!><time="15:18:24.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\rhc reports]LOG]!><time="15:18:24.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\RVI6]LOG]!><time="15:18:24.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\sources]LOG]!><time="15:18:25.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\src]LOG]!><time="15:18:25.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Skipping C:\StateStore because it contains user state.]LOG]!><time="15:18:25.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Skipping C:\System Volume Information]LOG]!><time="15:18:25.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\temp]LOG]!><time="15:18:25.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\Tempo]LOG]!><time="15:18:26.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\TRANSFER]LOG]!><time="15:18:26.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\valic]LOG]!><time="15:18:26.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\VMagicClient]LOG]!><time="15:18:26.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\VMagicServer]LOG]!><time="15:18:26.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\VundoFix Backups]LOG]!><time="15:18:26.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\WINDOWS]LOG]!><time="15:18:26.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Second pass - Deleting C:\WINDOWS]LOG]!><time="15:19:33.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Taking ownership of C:\WINDOWS]LOG]!><time="15:19:33.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[About to run command: takeown.exe /F "C:\WINDOWS" /R /A /D Y]LOG]!><time="15:19:33.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Command has been started (process ID 1236)]LOG]!><time="15:19:33.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > SUCCESS: The file (or folder): "C:\WINDOWS" now owned by the administrators group.]LOG]!><time="15:19:34.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > SUCCESS: The file (or folder): "C:\WINDOWS\system32" now owned by the administrators group.]LOG]!><time="15:19:34.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > SUCCESS: The file (or folder): "C:\WINDOWS\system32\Macromed" now owned by the administrators group.]LOG]!><time="15:19:34.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > SUCCESS: The file (or folder): "C:\WINDOWS\system32\Macromed\Flash" now owned by the administrators group.]LOG]!><time="15:19:34.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > SUCCESS: The file (or folder): "C:\WINDOWS\system32\Macromed\Flash\Flash32_11_4_402_287.ocx" now owned by the administrators group.]LOG]!><time="15:19:34.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Return code from command = 0]LOG]!><time="15:19:34.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\xl]LOG]!><time="15:19:34.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Deleting C:\_rels]LOG]!><time="15:19:34.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Skipping C:\_SMSTaskSequence]LOG]!><time="15:19:34.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[New ZTIDiskPartition : \\MININT-H65G8IU\root\cimv2:Win32_LogicalDisk.DeviceID="C:"    \\MININT-H65G8IU\root\cimv2:Win32_DiskPartition.DeviceID="Disk #0, Partition #0"]LOG]!><time="15:19:34.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Enabling 8dot3 name support on volume C:]LOG]!><time="15:19:34.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[About to run command: "\\IS28\RRDeploymentShare$\Tools\X64\imagex.exe"  /apply "\\IS28\RRDeploymentShare$\Operating Systems\W7x64Master\W7x64Master.wim" 1 C:]LOG]!><time="15:19:34.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Command has been started (process ID 1960)]LOG]!><time="15:19:35.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[ZTI Heartbeat: command has been running for 0 minutes (process ID 1960)]LOG]!><time="15:19:35.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > ImageX Tool for Windows]LOG]!><time="15:19:35.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > Copyright (C) Microsoft Corp. All rights reserved.]LOG]!><time="15:19:35.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > Version: 6.1.7600.16385]LOG]!><time="15:19:35.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > [   0% ] Applying progress ]LOG]!><time="15:19:35.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > [   0% ] Applying progress ]LOG]!><time="15:19:58.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > [   1% ] Applying progress ]LOG]!><time="15:19:58.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > [ ERROR ] C:\Documents and Settings (Error = 145)]LOG]!><time="15:19:58.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > Error restoring image.]LOG]!><time="15:19:58.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > The directory is not empty. ]LOG]!><time="15:19:58.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Return code from command = 2]LOG]!><time="15:19:58.000+000" date="11-29-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[FAILURE ( 5624 ): 2: Run ImageX:  /apply "\\IS28\RRDeploymentShare$\Operating Systems\W7x64Master\W7x64Master.wim" 1 C:]LOG]!><time="15:19:58.000+000" date="11-29-2013" component="LTIApply" context="" type="3" thread="" file="LTIApply">
    <![LOG[Command completed, return code = -2147467259]LOG]!><time="15:19:58.000+000" date="11-29-2013" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Litetouch deployment failed, Return Code = -2147467259  0x80004005]LOG]!><time="15:19:58.000+000" date="11-29-2013" component="LiteTouch" context="" type="3" thread="" file="LiteTouch">
    <![LOG[For more information, consult the task sequencer log ...\SMSTS.LOG.]LOG]!><time="15:19:58.000+000" date="11-29-2013" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Property RetVal is now = -2147467259]LOG]!><time="15:19:58.000+000" date="11-29-2013" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Unable to copy log to the network as no SLShare value was specified.]LOG]!><time="15:19:58.000+000" date="11-29-2013" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[CleanStartItems Complete]LOG]!><time="15:19:58.000+000" date="11-29-2013" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[TSCore.dll not found, not unregistering.]LOG]!><time="15:19:58.000+000" date="11-29-2013" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[About to run command: wscript.exe "X:\Deploy\Scripts\LTICleanup.wsf"]LOG]!><time="15:19:58.000+000" date="11-29-2013" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Microsoft Deployment Toolkit version: 6.1.2373.0]LOG]!><time="15:19:58.000+000" date="11-29-2013" component="LTICleanup" context="" type="1" thread="" file="LTICleanup">
    <![LOG[Removing AutoAdminLogon registry entries]LOG]!><time="15:19:58.000+000" date="11-29-2013" component="LTICleanup" context="" type="1" thread="" file="LTICleanup">
    <![LOG[VSSMaxSize not specified using 5% of volume.]LOG]!><time="15:19:58.000+000" date="11-29-2013" component="LTICleanup" context="" type="1" thread="" file="LTICleanup">
    <![LOG[Logs contained 8 errors and 2 warnings.]LOG]!><time="15:19:59.000+000" date="11-29-2013" component="LTICleanup" context="" type="1" thread="" file="LTICleanup">
    <![LOG[No Windows PE image to delete.]LOG]!><time="15:19:59.000+000" date="11-29-2013" component="LTICleanup" context="" type="1" thread="" file="LTICleanup">
    <![LOG[Checking mapped network drive.]LOG]!><time="15:19:59.000+000" date="11-29-2013" component="LTICleanup" context="" type="1" thread="" file="LTICleanup">
    <![LOG[testing drive Z: mapped to <time="15:19:59.000+000">\\IS28\RRDeploymentShare$]LOG]!><time="15:19:59.000+000" date="11-29-2013" component="LTICleanup" context="" type="1" thread="" file="LTICleanup">
    <![LOG[Cleaning up C:\MININT directory.]LOG]!><time="15:19:59.000+000" date="11-29-2013" component="LTICleanup" context="" type="1" thread="" file="LTICleanup">
    <![LOG[Cleaning up TOOLS, SCRIPTS, and PACKAGES directories.]LOG]!><time="15:19:59.000+000" date="11-29-2013" component="LTICleanup" context="" type="1" thread="" file="LTICleanup">

    Friday, November 29, 2013 11:50 PM
  • From your previous reply, ImageX.exe is *not* found in the local path, so excuting without specififying the full path will get you that error, run this command instead: \\IS28\RRDeploymentShare$\Tools\X64\imagex.exe

    Secondly, As you can see from the log above, imagex.exe was not able to write to the c:\documents and settings directory:

    Console > [ 1% ] Applying progress Console > [ ERROR ] C:\Documents and Settings (Error = 145) Console > Error restoring image. Console > The directory is not empty.
    Return code from command = 2

    Also from earlier in the log you can see where MDT attempted to clean out the c:\documents and settings folder, and was unable to do so. You should dig deeper into *why* the folder could not be removed.


    Keith Garner - keithga.wordpress.com

    Saturday, November 30, 2013 2:33 AM
    Moderator
  • From your previous reply, ImageX.exe is *not* found in the local path, so excuting without specififying the full path will get you that error, run this command instead: \\IS28\RRDeploymentShare$\Tools\X64\imagex.exe

    Secondly, As you can see from the log above, imagex.exe was not able to write to the c:\documents and settings directory:

    Console > [ 1% ] Applying progress Console > [ ERROR ] C:\Documents and Settings (Error = 145) Console > Error restoring image. Console > The directory is not empty.
    Return code from command = 2

    Also from earlier in the log you can see where MDT attempted to clean out the c:\documents and settings folder, and was unable to do so. You should dig deeper into *why* the folder could not be removed.


    Keith Garner - keithga.wordpress.com

     Yes I did notice that, but what would be causing that error?
    Sunday, December 1, 2013 7:35 PM
  • >   Also from earlier in the log you can see where MDT attempted to clean out the c:\documents and  settings folder, and was unable to do so. You should dig deeper into *why* the folder could not be removed.

    Yes I did notice that, but what would be causing that error?

    Could be anything. Either you don't have the correct permissions, or the file/folder may be in use.

    You should dig deeper into *why* the folder could not be removed.

    http://windows.microsoft.com/en-us/windows7/why-cant-i-delete-a-file-or-folder


    Keith Garner - keithga.wordpress.com

    • Marked as answer by pixa241 Monday, December 2, 2013 5:49 PM
    Monday, December 2, 2013 1:25 AM
    Moderator
  • >   Also from earlier in the log you can see where MDT attempted to clean out the c:\documents and  settings folder, and was unable to do so. You should dig deeper into *why* the folder could not be removed.

    Yes I did notice that, but what would be causing that error?

    Could be anything. Either you don't have the correct permissions, or the file/folder may be in use.

    You should dig deeper into *why* the folder could not be removed.

    http://windows.microsoft.com/en-us/windows7/why-cant-i-delete-a-file-or-folder


    Keith Garner - keithga.wordpress.com


    Yes settings permissons fixed it. Thank you.
    Monday, December 2, 2013 5:49 PM
  • Do you remember what you did you change permissions to fix the issue? I'm having the same problem but kind of stumped to exactly where/how I would change the permissions for the folder since it's created in the installation process...
    Friday, June 20, 2014 2:48 PM
  • in the scenario above, the file/folder was being deleted, not being created. The BDD.log should give some information.

    You can do a dump of the file using icacls to determine the settings...

    C:\windows\system32>icacls ntoskrnl.exe
    ntoskrnl.exe NT SERVICE\TrustedInstaller:(F)
                 BUILTIN\Administrators:(RX)
                 NT AUTHORITY\SYSTEM:(RX)
                 BUILTIN\Users:(RX)
                 APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES:(RX)
    
    If you still need help, can you copy the bdd.log file to a public site like Onedrive, and share the link here.

    Keith Garner - Principal Consultant [owner] - http://DeploymentLive.com

    Friday, June 20, 2014 3:52 PM
    Moderator