{"id":5100,"date":"2021-05-28T03:17:03","date_gmt":"2021-05-28T03:17:03","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=5100"},"modified":"2021-05-28T03:17:03","modified_gmt":"2021-05-28T03:17:03","slug":"trying-to-deploy-mdt-image-to-microsoft-surface-machine","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/random\/trying-to-deploy-mdt-image-to-microsoft-surface-machine","title":{"rendered":"Trying to deploy MDT image to Microsoft Surface Machine"},"content":{"rendered":"<p>Upon loading the WIM file , copying the operating system and restarting it comes up with a Parse Error for the answer file<\/p><p><img decoding=\"async\" src=\"https:\/\/content.spiceworksstatic.com\/service.community\/p\/post_images\/0000289941\/5a5e4208\/attached_image\/Capture02.JPG\" alt=\"Image Deployment : Invalid unattend answer file - Software Deployment &amp;  Patching\" \/><\/p><p>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<\/p><p>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!\u00a0<\/p><p>&nbsp;<\/p><p><strong>Add this to customsettings.ini<\/strong><\/p><pre>Properties=ComputerSerialNumber\r\n<\/pre><p>ComputerSerialNumber=XXX-#Left(&#8220;%SerialNumber%&#8221;,10)#<\/p><p><strong>Change OSDComputerName<\/strong><\/p><p>OSDComputerName=%ComputerSerialNumber%<\/p>","protected":false},"excerpt":{"rendered":"<p>Upon loading the WIM file , copying the operating system and restarting it comes up with a Parse Error for the answer fileThe best way to find [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[3477,2656,3075,687,3474,3476,1921,3475,3074],"class_list":["post-5100","post","type-post","status-publish","format-standard","hentry","category-random","tag-answer-file","tag-computer-name","tag-mdt","tag-microsoft","tag-osdcomputername","tag-reduce","tag-surface","tag-trim","tag-unattend-xml"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=5100"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5100\/revisions"}],"predecessor-version":[{"id":5102,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5100\/revisions\/5102"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=5100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=5100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=5100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}