废话不多说,直接上文件代码: <?xml version='1.0' encoding='utf-8'?> <unattend xmlns='urn:schemas-microsoft-com:unattend'> <settings pass='windowsPE'> <component name='Microsoft-Windows-International-Core-WinPE' processorArchitecture='amd64' publicKeyToken='31bf3856ad364e35' language='neutral' versionScope='nonSxS' xmlns:wcm='http://schemas.microsoft.com/WMIConfig/2002/State' xmlns:xsi='http://www./2001/XMLSchema-instance'> <SetupUILanguage> <UILanguage>zh-CN</UILanguage> </SetupUILanguage> <InputLocale>zh-CN</InputLocale> <LayeredDriver>1</LayeredDriver> <SystemLocale>zh-CN</SystemLocale> <UILanguage>zh-CN</UILanguage> <UILanguageFallback>zh-CN</UILanguageFallback> <UserLocale>zh-CN</UserLocale> </component> <component name='Microsoft-Windows-Setup' processorArchitecture='amd64' publicKeyToken='31bf3856ad364e35' language='neutral' versionScope='nonSxS' xmlns:wcm='http://schemas.microsoft.com/WMIConfig/2002/State' xmlns:xsi='http://www./2001/XMLSchema-instance'> <DynamicUpdate> <Enable>false</Enable> <WillShowUI>OnError</WillShowUI> </DynamicUpdate> <UserData> <ProductKey> <WillShowUI>OnError</WillShowUI> </ProductKey> </UserData> <EnableFirewall>true</EnableFirewall> <EnableNetwork>true</EnableNetwork> <Restart>Restart</Restart> <UseConfigurationSet>true</UseConfigurationSet> </component> </settings> <settings pass='specialize'> <component name='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./2001/XMLSchema-instance'> <SkipAutoActivation>true</SkipAutoActivation> </component> </settings> <settings pass='oobeSystem'> <component name='Microsoft-Windows-International-Core' processorArchitecture='amd64' publicKeyToken='31bf3856ad364e35' language='neutral' versionScope='nonSxS' xmlns:wcm='http://schemas.microsoft.com/WMIConfig/2002/State' xmlns:xsi='http://www./2001/XMLSchema-instance'> <InputLocale>zh-CN</InputLocale> <SystemLocale>zh-CN</SystemLocale> <UILanguage>zh-CN</UILanguage> <UILanguageFallback>zh-CN</UILanguageFallback> <UserLocale>zh-CN</UserLocale> </component> <component name='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./2001/XMLSchema-instance'> <AutoLogon> <Password> <Value>UABhAHMAcwB3AG8AcgBkAA==</Value> <PlainText>false</PlainText> </Password> <Enabled>true</Enabled> <LogonCount>1</LogonCount> <Username>Administrator</Username> </AutoLogon> <OOBE> <HideEULAPage>true</HideEULAPage> <HideLocalAccountScreen>true</HideLocalAccountScreen> <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> <HideOnlineAccountScreens>true</HideOnlineAccountScreens> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <ProtectYourPC>3</ProtectYourPC> <UnattendEnableRetailDemo>false</UnattendEnableRetailDemo> </OOBE> <UserAccounts> <AdministratorPassword> <Value>QQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value> <PlainText>false</PlainText> </AdministratorPassword> </UserAccounts> <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled> <DisableAutoDaylightTimeSet>true</DisableAutoDaylightTimeSet> <DoNotCleanTaskBar>true</DoNotCleanTaskBar> <RegisteredOrganization>JX</RegisteredOrganization> <RegisteredOwner>Administrator</RegisteredOwner> <TimeZone>China Standard Time</TimeZone> </component> </settings> <cpi:offlineImage cpi:source='wim:e:/windows_10_1909/sources/install.wim#Windows 10 Pro' xmlns:cpi='urn:schemas-microsoft-com:cpi' /> </unattend>
将代码保存为:Autounattend.xml,存放到U盘。 用WinNTSetup安装系统时,再选到Autonattend.xml文件即可 |
|