2014年6月5日 星期四

Windows Embedded 8.1 Industry Sysprep(2):Using sysprep's answer file to Create auto logon

We know how to create auto logon by using regedit or netplwiz(http://embedded-easy.blogspot.tw/2014/06/how-to-make-auto-logon-on-windows.html),but how to add auto logon by using sysprep we will teach you as following:

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




step 1、To create a new answer file
On the File menu, click New Answer File.




Step 2、Configure Components and Settings in an Answer File
1、Add UserAccounts component to Pass 7 oobeSystem(7),then Configure it

  • Add UserAccounts component from Microsoft-Windows-Shell-Setup



  • Configure UserAccounts component


Add new local account


Write the name and group of LocalAccounts


Write the password of LocalAccounts


2、Add AutoLogon component to Pass 7 oobeSystem(7),then Configure it
  • Add AutoLogon component from Microsoft-Windows-Shell-Setup


  • Configure AutoLogon component

Write the Username to the AutoLogon, and set enable to true.



Write the password to the AutoLogon



Note:
PlainText specifies whether the AutoLogon/Password/Value is hidden in the unattend installation answer file.
true
Specifies that the password appears in plain text in the answer file. This is the default value.
false
Specifies that the password is hidden in the answer file.


Step 3、Save the answer file
  • On the File menu, click Save Answer File.Save as "Unattend_Win8.1_Industry.xml"


Step 4、To run sysprep.exe to clone your OS
1、To copy your unattend file (answer file) and bath file to the path on the same directory with sysprep.exe.
  • Find the sysprep.exe on the path, c:\windows\system32\sysprep


  • Copy your unattend file (answer file) and bath file to the path on the same directory with sysprep.exe.


2、To run the sysprep with unattended file



Step 5、 Reboot your PC



沒有留言:

張貼留言