2014年5月27日 星期二

Windows Embedded 8.1 Industry sysprep(1):using sysprep's answer file to keep all detected devices driver (如繪圖驅動)

The Windows Embedded 8.1 Industry can create an sysprep’s answer file to solve a problem for devices driver that are not detected on the destination computer (如繪圖驅動不見的問題) after clone(sysprep).

解決方法:
SYSPREPanswer file加入入以下的設定。
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="generalize">
<component name="Microsoft-Windows-PnpSysprep" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<DoNotCleanUpNonPresentDevices>true</DoNotCleanUpNonPresentDevices>
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
</component>
       
    </settings> 
</unattend>


How to create a answer file with Windows System Image Manager,
請參考
http://embedded-easy.blogspot.tw/search/label/Lab_Windows%20Embedded%20Industry%208.1

做法:
1On the technician computer, open Windows SIM.

2To create a new answer file

  • On the File menu, click New Answer File.


3Add Sysprep component and Configure it

  • Select  Sysprep component and click it to add to answer file


  • Configure Sysprep component


4Save the answer file

  • On the File menu, click Save Answer File.



  • Give a path and file name to save the answer file.



5run sysprep.exe with answer file.
  • Copy the answer file to your target device(c:\windows\system32\sysprep)
  • Open command prompt(cmd.exe) and run a command as following

< sysprep.exe path>  /generalize /oobe /shutdown /unattend:<unattend file path>
For wxample


沒有留言:

張貼留言