Steps
- Use the Windows self-bring DISM or other image (WIM) tool to release install.wim to drive C.
Automatic consent file
<?xmlVersion= "1.0" encoding= "Utf-8"?><unattendxmlns="Urn:schemas-microsoft-com:unattend"><settingspass="OobeSystem"> <componentname="Microsoft-windows-shell-setup"processorarchitecture="AMD64"publickeytoken="31bf3856ad364e35"language="neutral"versionscope="nonSxS"xmlns:wcm="Http://schemas.microsoft.com/WMIConfig/2002/State"xmlns:xsi="Http://www.w3.org/2001/XMLSchema-instance"> <OOBE> <HideEULAPage>True</HideEULAPage> <NetworkLocation>Other</NetworkLocation> <SkipUserOOBE>True</SkipUserOOBE> <SkipMachineOOBE>True</SkipMachineOOBE> <ProtectYourPC>3</ProtectYourPC> </OOBE> <UserAccounts> <LocalAccounts> <localaccountwcm:action="Add"> <Password> <Value>1234</Value> <PlainText>True</PlainText> </Password> <Name>Test</Name> <Group>Administrators,performance Log Users</Group> </LocalAccount> </LocalAccounts> </UserAccounts> </component></settings><settingspass="specialize"> <componentname="Microsoft-windows-security-spp-ux"processorarchitecture="AMD64"publickeytoken="31bf3856ad364e35"language="neutral"versionscope="nonSxS"xmlns:wcm="Http://schemas.microsoft.com/WMIConfig/2002/State"xmlns:xsi="Http://www.w3.org/2001/XMLSchema-instance"> <SkipAutoActivation>True</SkipAutoActivation> </component> <componentname="Microsoft-windows-shell-setup"processorarchitecture="AMD64"publickeytoken="31bf3856ad364e35"language="neutral"versionscope="nonSxS"xmlns:wcm="Http://schemas.microsoft.com/WMIConfig/2002/State"xmlns:xsi="Http://www.w3.org/2001/XMLSchema-instance"> <ComputerName>Home-pc</ComputerName> <TimeZone>China Standard Time</TimeZone> </component></settings></unattend>
- Save the promised file as Unattend.xml.
- Create a new Folder "C:\Windows\Panther" and copy the Unattend.xml to the folder.
Reboot will skip the Welcome interface (the first time you enter the system needs to fill in the user name and settings of the interface).
Description
License Terms: Microsoft-windows-shell-setup/oobe/hideeulapage
Network type: microsoft-windows-shell-setup/oobe/networklocation
Update settings: MICROSOFT-WINDOWS-SHELL-SETUP/OOBE/PROTECTYOURPC
* Recommended
*-Only Install Updates
* 3– Enable no protection
Computer Name: Microsoft-windows-shell-setup/computername
Time zone: Microsoft-windows-shell-setup/timezone
User name: Microsoft-windows-shell-setup/useraccounts/localaccounts/localaccount/name
User group: Microsoft-windows-shell-setup/useraccounts/localaccounts/localaccount/group
Password using clear text: Microsoft-windows-shell-setup/useraccounts/localaccounts/localaccount/password/plaintext
Password: microsoft-windows-shell-setup/useraccounts/localaccounts/localaccount/password/value
Reference
https://msdn.microsoft.com/zh-cn/library/cc749195 (v=ws.10). aspx
Windows Unattended Automatic Consent