|
我需要的就是在安装 Windows 10 系统的时候,自动以原始的 Administrator 账户登录。
请问大佬们:这个自动应答文件的内容有没有错误?
- <?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>
- <AcceptEula>true</AcceptEula>
- <FullName>XiongPC</FullName>
- <Organization>XiongOrg</Organization>
- </UserData>
- </component>
- </settings>
- <settings pass="specialize">
- <component name="Microsoft-Windows-Deployment" 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">
- <RunSynchronous>
- <RunSynchronousCommand wcm:action="add">
- <Order>1</Order>
- <Path>cmd /c net user Administrator /active:yes</Path>
- <Description>EnableDefaultAdmin</Description>
- </RunSynchronousCommand>
- </RunSynchronous>
- </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.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>
- <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>true</SkipUserOOBE>
- </OOBE>
- <UserAccounts>
- <LocalAccounts>
- <LocalAccount wcm:action="add">
- <Description>Local Administrator</Description>
- <DisplayName>Administrator</DisplayName>
- <Group>Administrators</Group>
- <Name>Administrator</Name>
- </LocalAccount>
- </LocalAccounts>
- </UserAccounts>
- <AutoLogon>
- <Username>Administrator</Username>
- <Enabled>true</Enabled>
- <LogonCount>1</LogonCount>
- </AutoLogon>
- </component>
- </settings>
- </unattend>
复制代码
|
|