winXP/7/8/8.1/10专业版/旗舰版无人值守文件

来源:互联网 发布:岭南师范学院 知乎 编辑:程序博客网 时间:2024/05/04 00:01

winXP/7/8/8.1/10专业版/旗舰版无人值守文件,其中win7是旗舰版的应答文件,其余为专业版的应答文件。32位安装情况笔者用WinNTSetup安装器测试有效,64位未测试,笔者使用的镜像在括号内已经注明,所有镜像在已分区的情况下默认安装在C盘,32位和64位的区别就是把x86换成了amd64,其中win8.1的应答文件跟其它的不太一样,会新建一个管理员用户,其余的直接使用Administrator用户
理论上win8应该能和win8.1/10通用

一、XP

(32位镜像名:zh-hans_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-74070.iso)
32位应答文件winnt.sif
;SetupMgrTag[Data]    AutoPartition=0    MsDosInitiated="0"    UnattendedInstall="Yes"[Unattended]    UnattendMode=FullUnattended    OemSkipEula=Yes    OemPreinstall=No    TargetPath=\WINDOWS    UnattendSwitch="Yes"[GuiUnattended]    AdminPassword=*    EncryptedAdminPassword=NO    OEMSkipRegional=1    TimeZone=210    OemSkipWelcome=1[UserData]    ProductKey=MRX3F-47B9T-2487J-KWKMF-RPWBY    FullName="ZBEZJ"    OrgName="ZGHB"    ComputerName=*[RegionalSettings]    LanguageGroup=10[Identification]    JoinWorkgroup=WORKGROUP[Networking]    InstallDefaultComponents=Yes


二、win7

(32位镜像名:cn_windows_7_ultimate_with_sp1_x86_dvd_u_677486.iso)
32位应答文件AutoUnattend.xml
<?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="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">            <SetupUILanguage>                <UILanguage>zh-CN</UILanguage>            </SetupUILanguage>            <InputLocale>zh-CN</InputLocale>            <SystemLocale>zh-CN</SystemLocale>            <UILanguage>zh-CN</UILanguage>            <UserLocale>zh-CN</UserLocale>        </component>        <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">            <UserData>                <AcceptEula>true</AcceptEula>                <ProductKey>                    <WillShowUI>OnError</WillShowUI>                </ProductKey>            </UserData>            <ImageInstall>                <OSImage>                    <InstallFrom>                        <MetaData wcm:action="add">                            <Key>/image/index</Key>                            <Value>5</Value>                        </MetaData>                    </InstallFrom>                </OSImage>            </ImageInstall>        </component>    </settings>    <settings pass="specialize">        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" 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>ZBEZJ</ComputerName>        </component>        <component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="x86" 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>    </settings>    <settings pass="oobeSystem">        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" 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>                <SkipMachineOOBE>true</SkipMachineOOBE>            </OOBE>            <TimeZone>China Standand Time</TimeZone>            <AutoLogon>                <Password>                    <Value>UABhAHMAcwB3AG8AcgBkAA==</Value>                    <PlainText>false</PlainText>                </Password>                <Username>Administrator</Username>                <Enabled>true</Enabled>            </AutoLogon>        </component>    </settings>    <cpi:offlineImage cpi:source="catalog://vmware-host/shared folders/f/install_windows 7 ultimate.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>

64位应答文件AutoUnattend.xml
<?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.w3.org/2001/XMLSchema-instance">            <SetupUILanguage>                <UILanguage>zh-CN</UILanguage>            </SetupUILanguage>            <InputLocale>zh-CN</InputLocale>            <SystemLocale>zh-CN</SystemLocale>            <UILanguage>zh-CN</UILanguage>            <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.w3.org/2001/XMLSchema-instance">            <ImageInstall>                <OSImage>                    <InstallFrom>                        <MetaData wcm:action="add">                            <Value>4</Value>                            <Key>/image/index</Key>                        </MetaData>                    </InstallFrom>                </OSImage>            </ImageInstall>            <UserData>                <ProductKey>                    <WillShowUI>OnError</WillShowUI>                    <Key />                </ProductKey>                <AcceptEula>true</AcceptEula>            </UserData>        </component>    </settings>    <settings pass="specialize">        <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.w3.org/2001/XMLSchema-instance">            <ComputerName>ZBEZJ</ComputerName>            <TimeZone>China Standand Time</TimeZone>        </component>        <component name="Microsoft-Windows-Security-Licensing-SLC-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>    </settings>    <settings pass="oobeSystem">        <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.w3.org/2001/XMLSchema-instance">            <AutoLogon>                <Password>                    <Value>UABhAHMAcwB3AG8AcgBkAA==</Value>                    <PlainText>false</PlainText>                </Password>                <Username>Administrator</Username>                <Enabled>true</Enabled>            </AutoLogon>            <OOBE>                <SkipMachineOOBE>true</SkipMachineOOBE>            </OOBE>            <TimeZone>China Standand Time</TimeZone>        </component>    </settings>    <cpi:offlineImage cpi:source="catalog:f:/install_windows 7 ultimate.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>


三、win8

(32位镜像名:cn_windows_8_x86_dvd_915414.iso)
32位应答文件AutoUnattend.xml
<?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="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">            <SetupUILanguage>                <UILanguage>zh-CN</UILanguage>            </SetupUILanguage>            <InputLocale>zh-CN</InputLocale>            <SystemLocale>zh-CN</SystemLocale>            <UILanguage>zh-CN</UILanguage>            <UserLocale>zh-CN</UserLocale>        </component>        <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">            <ImageInstall>                <OSImage>                    <InstallToAvailablePartition>false</InstallToAvailablePartition>                    <WillShowUI>OnError</WillShowUI>                </OSImage>            </ImageInstall>            <UserData>                <ProductKey>                    <WillShowUI>OnError</WillShowUI>                </ProductKey>                <AcceptEula>true</AcceptEula>                <FullName>Windows8</FullName>                <Organization>WORKGROUP</Organization>            </UserData>        </component>    </settings>    <settings pass="oobeSystem">        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" 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>                <SkipMachineOOBE>true</SkipMachineOOBE>                <SkipUserOOBE>false</SkipUserOOBE>            </OOBE>            <AutoLogon>                <Username>Administrator</Username>                <Enabled>true</Enabled>                <LogonCount>1</LogonCount>            </AutoLogon>        </component>    </settings>    <settings pass="specialize">        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" 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>*</ComputerName>            <TimeZone>China Standard Time</TimeZone>        </component>        <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" 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>    </settings>    <cpi:offlineImage cpi:source="wim:f:/install.wim#Windows 8 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>

64位应答文件AutoUnattend.xml
<?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.w3.org/2001/XMLSchema-instance">            <SetupUILanguage>                <UILanguage>zh-CN</UILanguage>            </SetupUILanguage>            <InputLocale>zh-CN</InputLocale>            <SystemLocale>zh-CN</SystemLocale>            <UILanguage>zh-CN</UILanguage>            <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.w3.org/2001/XMLSchema-instance">            <ImageInstall>                <OSImage>                    <InstallToAvailablePartition>false</InstallToAvailablePartition>                    <WillShowUI>OnError</WillShowUI>                </OSImage>            </ImageInstall>            <UserData>                <ProductKey>                    <WillShowUI>OnError</WillShowUI>                </ProductKey>                <AcceptEula>true</AcceptEula>                <FullName>Windows8</FullName>                <Organization>WORKGROUP</Organization>            </UserData>        </component>    </settings>    <settings pass="oobeSystem">        <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.w3.org/2001/XMLSchema-instance">            <OOBE>                <SkipMachineOOBE>true</SkipMachineOOBE>                <SkipUserOOBE>false</SkipUserOOBE>            </OOBE>            <AutoLogon>                <Username>Administrator</Username>                <Enabled>true</Enabled>                <LogonCount>1</LogonCount>            </AutoLogon>        </component>    </settings>    <settings pass="specialize">        <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.w3.org/2001/XMLSchema-instance">            <ComputerName>*</ComputerName>            <TimeZone>China Standard Time</TimeZone>        </component>        <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.w3.org/2001/XMLSchema-instance">            <SkipAutoActivation>true</SkipAutoActivation>        </component>    </settings>    <cpi:offlineImage cpi:source="wim:f:/install.wim#Windows 8 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>


四、win8.1

(32位镜像名:cn_windows_8.1_pro_vl_with_update_x86_dvd_6050910.iso)
32位应答文件AutoUnattend.xml
<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend">    <settings pass="windowsPE">        <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">            <DiskConfiguration>                <Disk wcm:action="add">                    <ModifyPartitions>                        <ModifyPartition wcm:action="add">                            <Active>true</Active>                            <Format>NTFS</Format>                            <Letter>C</Letter>                            <Order>1</Order>                            <PartitionID>1</PartitionID>                        </ModifyPartition>                    </ModifyPartitions>                    <DiskID>0</DiskID>                    <WillWipeDisk>false</WillWipeDisk>                </Disk>                <WillShowUI>OnError</WillShowUI>            </DiskConfiguration>            <ImageInstall>                <OSImage>                    <InstallTo>                        <DiskID>0</DiskID>                        <PartitionID>1</PartitionID>                    </InstallTo>                    <WillShowUI>OnError</WillShowUI>                </OSImage>            </ImageInstall>        </component>        <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">            <SetupUILanguage>                <UILanguage>zh-CN</UILanguage>            </SetupUILanguage>            <InputLocale>zh-CN</InputLocale>            <SystemLocale>zh-CN</SystemLocale>            <UILanguage>zh-CN</UILanguage>            <UserLocale>zh-CN</UserLocale>        </component>        <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">            <ImageInstall>                <OSImage>                    <InstallToAvailablePartition>false</InstallToAvailablePartition>                    <WillShowUI>OnError</WillShowUI>                </OSImage>            </ImageInstall>            <UserData>                <ProductKey>                    <WillShowUI>OnError</WillShowUI>                </ProductKey>                <AcceptEula>true</AcceptEula>                <FullName>Windows</FullName>                <Organization>WORKGROUP</Organization>            </UserData>        </component>    </settings>    <settings pass="oobeSystem">        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" 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>                <SkipMachineOOBE>true</SkipMachineOOBE>                <SkipUserOOBE>false</SkipUserOOBE>            </OOBE>            <UserAccounts>                <LocalAccounts>                    <LocalAccount wcm:action="add">                        <Password>                            <Value>UABhAHMAcwB3AG8AcgBkAA==</Value>                            <PlainText>false</PlainText>                        </Password>                        <Group>Administrators</Group>                        <Name>MyPC</Name>                    </LocalAccount>                </LocalAccounts>            </UserAccounts>        </component>    </settings>    <settings pass="specialize">        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" 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>*</ComputerName>            <TimeZone>China Standard Time</TimeZone>        </component>        <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" 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>    </settings>    <cpi:offlineImage cpi:source="wim:x:/GRMSXFREO/sources/install.wim" xmlns:cpi="urn:schemas-microsoft-com:cpi"></cpi:offlineImage></unattend>


64位应答文件AutoUnattend.xml
<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend">    <settings pass="windowsPE">        <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.w3.org/2001/XMLSchema-instance">            <DiskConfiguration>                <Disk wcm:action="add">                    <ModifyPartitions>                        <ModifyPartition wcm:action="add">                            <Active>true</Active>                            <Format>NTFS</Format>                            <Letter>C</Letter>                            <Order>1</Order>                            <PartitionID>1</PartitionID>                        </ModifyPartition>                    </ModifyPartitions>                    <DiskID>0</DiskID>                    <WillWipeDisk>false</WillWipeDisk>                </Disk>                <WillShowUI>OnError</WillShowUI>            </DiskConfiguration>            <ImageInstall>                <OSImage>                    <InstallTo>                        <DiskID>0</DiskID>                        <PartitionID>1</PartitionID>                    </InstallTo>                    <WillShowUI>OnError</WillShowUI>                </OSImage>            </ImageInstall>        </component>        <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.w3.org/2001/XMLSchema-instance">            <SetupUILanguage>                <UILanguage>zh-CN</UILanguage>            </SetupUILanguage>            <InputLocale>zh-CN</InputLocale>            <SystemLocale>zh-CN</SystemLocale>            <UILanguage>zh-CN</UILanguage>            <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.w3.org/2001/XMLSchema-instance">            <ImageInstall>                <OSImage>                    <InstallToAvailablePartition>false</InstallToAvailablePartition>                    <WillShowUI>OnError</WillShowUI>                </OSImage>            </ImageInstall>            <UserData>                <ProductKey>                    <WillShowUI>OnError</WillShowUI>                </ProductKey>                <AcceptEula>true</AcceptEula>                <FullName>Windows</FullName>                <Organization>WORKGROUP</Organization>            </UserData>        </component>    </settings>    <settings pass="oobeSystem">        <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.w3.org/2001/XMLSchema-instance">            <OOBE>                <SkipMachineOOBE>true</SkipMachineOOBE>                <SkipUserOOBE>false</SkipUserOOBE>            </OOBE>            <UserAccounts>                <LocalAccounts>                    <LocalAccount wcm:action="add">                        <Password>                            <Value>UABhAHMAcwB3AG8AcgBkAA==</Value>                            <PlainText>false</PlainText>                        </Password>                        <Group>Administrators</Group>                        <Name>MyPC</Name>                    </LocalAccount>                </LocalAccounts>            </UserAccounts>        </component>    </settings>    <settings pass="specialize">        <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.w3.org/2001/XMLSchema-instance">            <ComputerName>*</ComputerName>            <TimeZone>China Standard Time</TimeZone>        </component>        <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.w3.org/2001/XMLSchema-instance">            <SkipAutoActivation>true</SkipAutoActivation>        </component>    </settings>    <cpi:offlineImage cpi:source="wim:x:/GRMSXFREO/sources/install.wim" xmlns:cpi="urn:schemas-microsoft-com:cpi"></cpi:offlineImage></unattend>


五、win10

(32位镜像名:cn_windows_10_multiple_editions_version_1511_x86_dvd_7223635.iso)
32位应答文件AutoUnattend.xml
<?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="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">            <SetupUILanguage>                <UILanguage>zh-CN</UILanguage>            </SetupUILanguage>            <InputLocale>zh-CN</InputLocale>            <SystemLocale>zh-CN</SystemLocale>            <UILanguage>zh-CN</UILanguage>            <UserLocale>zh-CN</UserLocale>        </component>        <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">            <ImageInstall>                <OSImage>                    <InstallToAvailablePartition>false</InstallToAvailablePartition>                    <WillShowUI>OnError</WillShowUI>                </OSImage>            </ImageInstall>            <UserData>                <ProductKey>                    <Key>W269N-WFGWX-YVC9B-4J6C9-T83GX</Key>                      <WillShowUI>OnError</WillShowUI>                </ProductKey>                <AcceptEula>true</AcceptEula>                <FullName>Windows10</FullName>                <Organization>WORKGROUP</Organization>            </UserData>        </component>    </settings>    <settings pass="oobeSystem">        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" 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>                <SkipMachineOOBE>true</SkipMachineOOBE>                <SkipUserOOBE>false</SkipUserOOBE>            </OOBE>            <AutoLogon>                <Username>Administrator</Username>                <Enabled>true</Enabled>                <LogonCount>1</LogonCount>            </AutoLogon>            <LogonCommands>                <AsynchronousCommand wcm:action="add">                    <CommandLine>%WINDIR%\1.cmd</CommandLine>                    <Description>Active</Description>                    <Order>1</Order>                </AsynchronousCommand>            </LogonCommands>        </component>    </settings>    <settings pass="specialize">        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" 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>*</ComputerName>            <TimeZone>China Standard Time</TimeZone>        </component>        <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" 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>    </settings>    <cpi:offlineImage cpi:source="wim:f:/install.wim#Windows 10 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>


64位应答文件AutoUnattend.xml

<?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.w3.org/2001/XMLSchema-instance">            <SetupUILanguage>                <UILanguage>zh-CN</UILanguage>            </SetupUILanguage>            <InputLocale>zh-CN</InputLocale>            <SystemLocale>zh-CN</SystemLocale>            <UILanguage>zh-CN</UILanguage>            <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.w3.org/2001/XMLSchema-instance">            <ImageInstall>                <OSImage>                    <InstallToAvailablePartition>false</InstallToAvailablePartition>                    <WillShowUI>OnError</WillShowUI>                </OSImage>            </ImageInstall>            <UserData>                <ProductKey>                    <Key>W269N-WFGWX-YVC9B-4J6C9-T83GX</Key>                      <WillShowUI>OnError</WillShowUI>                </ProductKey>                <AcceptEula>true</AcceptEula>                <FullName>Windows10</FullName>                <Organization>WORKGROUP</Organization>            </UserData>        </component>    </settings>    <settings pass="oobeSystem">        <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.w3.org/2001/XMLSchema-instance">            <OOBE>                <SkipMachineOOBE>true</SkipMachineOOBE>                <SkipUserOOBE>false</SkipUserOOBE>            </OOBE>            <AutoLogon>                <Username>Administrator</Username>                <Enabled>true</Enabled>                <LogonCount>1</LogonCount>            </AutoLogon>            <LogonCommands>                <AsynchronousCommand wcm:action="add">                    <CommandLine>%WINDIR%\1.cmd</CommandLine>                    <Description>Active</Description>                    <Order>1</Order>                </AsynchronousCommand>            </LogonCommands>        </component>    </settings>    <settings pass="specialize">        <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.w3.org/2001/XMLSchema-instance">            <ComputerName>*</ComputerName>            <TimeZone>China Standard Time</TimeZone>        </component>        <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.w3.org/2001/XMLSchema-instance">            <SkipAutoActivation>true</SkipAutoActivation>        </component>    </settings>    <cpi:offlineImage cpi:source="wim:f:/install.wim#Windows 10 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>


1 0
原创粉丝点击