unattended.xml&Autologon

我正在为Windows 7制作和解答文件。但是,大部分都是这样做的,我无法解决如何将自动login添加到答案文件。 见下文。

无论我在哪里放置自动login,当使用该文件时,它总是停止在语言,货币等第一个提示安装

任何人有任何想法我做错了什么?

<?xml version="1.0" encoding="utf-8"?> <!--This answer file generated by RT Seven Lite--> <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>en-US</UILanguage> </SetupUILanguage> <InputLocale>0409:00000409</InputLocale> <UserLocale>en-GB</UserLocale> <UILanguage>en-US</UILanguage> <SystemLocale>en-US</SystemLocale> </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"> <DiskConfiguration> <Disk wcm:action="add"> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> <CreatePartitions> <!-- System partition --> <CreatePartition wcm:action="add"> <Order>1</Order> <Type>Primary</Type> <Size>102400</Size> </CreatePartition> <!-- Windows partition --> <CreatePartition wcm:action="add"> <Order>2</Order> <Type>Primary</Type> <Extend>true</Extend> </CreatePartition> </CreatePartitions> <ModifyPartitions> <!-- System partition --> <ModifyPartition wcm:action="add"> <Order>1</Order> <PartitionID>1</PartitionID> <Label>Windwow</Label> <Letter>C</Letter> <Format>NTFS</Format> <Active>true</Active> </ModifyPartition> <!-- Windows partition --> <ModifyPartition wcm:action="add"> <Order>2</Order> <PartitionID>2</PartitionID> <Label>Data</Label> <Letter>D</Letter> <Format>NTFS</Format> </ModifyPartition> </ModifyPartitions> </Disk> <WillShowUI>OnError</WillShowUI> </DiskConfiguration> <ImageInstall> <OSImage> <InstallFrom> <MetaData wcm:action="add"> <Key>/IMAGE/NAME</Key> <value>Windows 7 ENTERPRISE</value> </MetaData> </InstallFrom> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> <InstallToAvailablePartition>false</InstallToAvailablePartition> <WillShowUI>OnError</WillShowUI> </OSImage> </ImageInstall> <UserData> <ProductKey> <Key>somekey</Key> <WillShowUI>OnError</WillShowUI> </ProductKey> <Organization>fast_comp</Organization> <FullName>dumbo</FullName> <AcceptEula>true</AcceptEula> </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"> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Name>dumbo</Name> <Group>Administrators</Group> <Password> <PlainText>true</PlainText> <Value>passwd</Value> </Password> </LocalAccount> </LocalAccounts> </UserAccounts> <OOBE> <NetworkLocation>Work</NetworkLocation> <HideEULAPage>true</HideEULAPage> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>true</SkipUserOOBE> </OOBE> <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> <TimeZone>GMT Standard Time</TimeZone> <AutoLogon> <Password> <Value>passwd</Value> <PlainText>true</PlainText> </Password> <Domain>.</Domain> <Enabled>true</Enabled> <LogonCount>1</LogonCount> <Username>dumbo</Username> </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>RENAME_ME</ComputerName> </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> </unattend> 

这和自动login无关。 这仅表示您没有填写跳过这些步骤所需的适当区域设置信息。

根据这篇文章 ,将InputLocale信息放入oobesystem pass会跳过Windows欢迎的区域设置页面。

您是否使用Windows SIM来创build和validation您的无人参与文件? 当我把你的文件放入WSIM时,它回来了3个被弃用的设置:

的SkipMachineOobe

SkipUserOOBE

SkipAutoActivation

Windows系统映像pipe理器是Windows自动安装工具包 (WAIK)的一部分,将帮助您创build无人参与文件,并为您validation该文件,以便您可以看到任何错误。 您可以在TechNet上的Springboard系列的“ 交付和部署”页面上find有关构build桌面映像的更多帮助。

最后, 微软部署工具包 (MDT)将许多微软的免费部署工具整合到一个通用的控制台中,并且可以使得捕获和部署Windows变得更容易。

来自Windows Outreach团队的David