Trying to deploy MDT image to Microsoft Surface Machine

Upon loading the WIM file , copying the operating system and restarting it comes up with a Parse Error for the answer file

Image Deployment : Invalid unattend answer file - Software Deployment &  Patching

The best way to find the cause of this is to press Shift and F10 ( with the function key on a surface ) and open c:\Windows\Panther\unattend.xml

Viewing this I saw the OSD computer name was 16 Characters due to the Serial number being 12 Characters and our company name being 4 XXX- which made it 16 which goes over the 15 Character limit, you can trim the computer name! 

 

Add this to customsettings.ini

Properties=ComputerSerialNumber

ComputerSerialNumber=XXX-#Left(“%SerialNumber%”,10)#

Change OSDComputerName

OSDComputerName=%ComputerSerialNumber%

GD Star Rating
loading...
GD Star Rating
loading...

Tags: Answer file, computer name, MDT, Microsoft, OSDComputerName, reduce, surface, trim, Unattend.xml

Trackback from your site.