|  | 
2#
 
 
 楼主|
发表于 2020-12-15 03:19:21
|
只看该作者 
| 找到原因了,是UNATTEND.XML文件导致的: 这份文件是不显示预览体验计划并不能更改诊断数据为可选的。文件是通过NTLITE破解版生成的:
 <?xml version="1.0" encoding="utf-8"?>
 <unattend xmlns="urn:schemas-microsoft-com:unattend">
 <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.w3.org/2001/XMLSchema-instance">
 <InputLocale>0804:00000804</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.w3.org/2001/XMLSchema-instance">
 <TimeZone>W. Europe Standard Time</TimeZone>
 <AutoLogon>
 <Enabled>true</Enabled>
 <LogonCount>9999999</LogonCount>
 <Username>Administrator</Username>
 <Password>
 <PlainText>true</PlainText>
 <Value></Value>
 </Password>
 </AutoLogon>
 <OOBE>
 <HideEULAPage>true</HideEULAPage>
 <HideLocalAccountScreen>true</HideLocalAccountScreen>
 <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
 <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
 <NetworkLocation>Home</NetworkLocation>
 <ProtectYourPC>3</ProtectYourPC>
 </OOBE>
 <UserAccounts>
 <AdministratorPassword>
 <PlainText>true</PlainText>
 <Value></Value>
 </AdministratorPassword>
 <LocalAccounts>
 <LocalAccount wcm:action="add">
 <Group>Administrators</Group>
 <Name>Administrator</Name>
 <Password>
 <PlainText>true</PlainText>
 <Value></Value>
 </Password>
 </LocalAccount>
 </LocalAccounts>
 </UserAccounts>
 </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>net user Administrator /active:Yes</Path>
 <WillReboot>Never</WillReboot>
 </RunSynchronousCommand>
 </RunSynchronous>
 </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>
 <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>ZHCH</ComputerName>
 </component>
 <component name="Microsoft-Windows-UnattendedJoin" 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">
 <Identification>
 <JoinWorkgroup>WORKGROUP</JoinWorkgroup>
 </Identification>
 </component>
 </settings>
 <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">
 <InputLocale>0804:00000804</InputLocale>
 <SystemLocale>zh-CN</SystemLocale>
 <UILanguage>zh-CN</UILanguage>
 <UILanguageFallback>zh-CN</UILanguageFallback>
 <UserLocale>zh-CN</UserLocale>
 <SetupUILanguage>
 <UILanguage>zh-CN</UILanguage>
 </SetupUILanguage>
 </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">
 <Diagnostics>
 <OptIn>false</OptIn>
 </Diagnostics>
 <DynamicUpdate>
 <Enable>false</Enable>
 <WillShowUI>OnError</WillShowUI>
 </DynamicUpdate>
 <ImageInstall>
 <OSImage>
 <WillShowUI>OnError</WillShowUI>
 <InstallFrom>
 <MetaData wcm:action="add">
 <Key>/IMAGE/NAME</Key>
 <Value>Windows 10 Enterprise</Value>
 </MetaData>
 </InstallFrom>
 </OSImage>
 </ImageInstall>
 <UserData>
 <AcceptEula>true</AcceptEula>
 </UserData>
 </component>
 </settings>
 </unattend>
 
 
 这份是正常的,取自于WINNTSETUP4.2里的:
 <?xml version="1.0" encoding="utf-8"?>
 <unattend xmlns="urn:schemas-microsoft-com:unattend">
 <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>EnableAdmin</Description>
 </RunSynchronousCommand>
 <RunSynchronousCommand wcm:action="add">
 <Order>2</Order>
 <Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 1 /f</Path>
 <Description>FilterAdministratorToken</Description>
 </RunSynchronousCommand>
 <RunSynchronousCommand wcm:action="add">
 <Order>3</Order>
 <Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f</Path>
 <Description>UnConsentPromptBehaviorAdmin</Description>
 </RunSynchronousCommand>
 </RunSynchronous>
 </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>
 <HideEULAPage>true</HideEULAPage>
 <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
 <NetworkLocation>Work</NetworkLocation>
 <ProtectYourPC>2</ProtectYourPC>
 <SkipMachineOOBE>true</SkipMachineOOBE>
 <SkipUserOOBE>true</SkipUserOOBE>
 </OOBE>
 <RegisteredOrganization>P R C</RegisteredOrganization>
 <RegisteredOwner>Windows User</RegisteredOwner>
 </component>
 </settings>
 </unattend>
 
 
 
 | 
 |