I am using OSD to deploy Windows 7 Enterprise (captured following Best Known Method guidelines fo Windows 7) I'm using ImageW v2.
The problem I'm having is odd and is really frustrating as it is intermittent.
After the image has copied down and C:\windows\System32\sysprep\sysprep.exe /oobe /generalize /reboot has run from the auditUser pass, I get a message saying "Windows could not parse or process unattend answer file [C:\Windows\Panther\Unattend.xml]. The answer file is invalid."
When I boot into WinPE and open a command prompt (to look at the drive) I can see the Unattend.xml file present at C:\Unattend.xml however there is also a 0 byte Unattend.xml file at C:\Windows\Panther.
Some times the file in C:\Windows\Panther is only 40-50 bytes and when I open it with Notepad only the first three or so lines are present (partial copy).
The odd part is I can successfully build the computer a handful of times and then the next time get the error and then the next time have it work without making any changes... NOTE: When I get it to build successfully, the correct Unattend.xml file exists in C:\Windows\Panther
The only workaround I have is to re-create the OSD task (therefore generating a new XML file) and make the neccessary modifications I need to it e.g. CopyProfile setting, WindowsFeatures setting etc... I can deploy the image ok a handful of times and then the problem returns...
Is it possible for an XML file to become corrupted? Is there a log file I can review to see why it isn't downloading properly?
Any suggestions are much appreciated.