windows-7 – Windows 7无人值守安装
发布时间:2020-12-14 00:33:13 所属栏目:Windows 来源:网络整理
导读:我为无人值守安装创建了一个简单的答案文件,但是当从USB启动时,它仍然询问我使用什么语言,并要求我在启动之前单击“立即安装”按钮.其他一切都是自动化的.如何自动完成第一部分?这是我的答案文件: ?xml version="1.0" encoding="utf-8"? unattend xmlns="u
我为无人值守安装创建了一个简单的答案文件,但是当从USB启动时,它仍然询问我使用什么语言,并要求我在启动之前单击“立即安装”按钮.其他一切都是自动化的.如何自动完成第一部分?这是我的答案文件:
<?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>en-US</UILanguage> </SetupUILanguage> <InputLocale>en-US</InputLocale> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UserLocale>en-US</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"> <DiskConfiguration> <WillShowUI>OnError</WillShowUI> <Disk wcm:action="add"> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Active>true</Active> <Format>NTFS</Format> <Label>Windows</Label> <Letter>C</Letter> <Order>1</Order> <PartitionID>1</PartitionID> </ModifyPartition> </ModifyPartitions> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> <CreatePartitions> <CreatePartition wcm:action="add"> <Extend>true</Extend> <Type>Primary</Type> <Order>1</Order> </CreatePartition> </CreatePartitions> </Disk> </DiskConfiguration> <ImageInstall> <OSImage> <WillShowUI>OnError</WillShowUI> <InstallToAvailablePartition>true</InstallToAvailablePartition> </OSImage> </ImageInstall> <UserData> <AcceptEula>true</AcceptEula> </UserData> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-International-Core" 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"> <InputLocale>en-US</InputLocale> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UserLocale>en-US</UserLocale> </component> <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> <HideEULAPage>true</HideEULAPage> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>1</ProtectYourPC> </OOBE> <RegisteredOrganization>Company</RegisteredOrganization> <RegisteredOwner>IT Dept</RegisteredOwner> <TimeZone>Pacific Standard Time</TimeZone> <UserAccounts> <AdministratorPassword> <Value>omitted</Value> <PlainText>false</PlainText> </AdministratorPassword> </UserAccounts> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-International-Core" 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"> <InputLocale>en-US</InputLocale> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UserLocale>en-US</UserLocale> </component> <component name="Microsoft-Windows-UnattendedJoin" 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"> <Identification> <Credentials> <Domain>domain</Domain> <Password>domainpass</Password> <Username>domainadmin</Username> </Credentials> <JoinDomain>domain</JoinDomain> <MachineObjectOU>OU=New,OU=ComputersOU,DC=domain,DC=com</MachineObjectOU> </Identification> </component> <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"> <ProductKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</ProductKey> </component> </settings> <settings pass="offlineServicing"> <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"> <OEMInformation> <Manufacturer>Company</Manufacturer> <SupportPhone>(XXX) XXX-XXXX</SupportPhone> <SupportURL>http://servicedesk/</SupportURL> </OEMInformation> </component> </settings> <cpi:offlineImage cpi:source="wim://markf/gimage/inprogressimage/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
与我的工作相比,我看不出它有什么特别的错误,WinPE组件中有一些缺少的条目,例如< AcceptEula> true< / AcceptEula>和< ImageInstall>部分,但这里是我们自己看到的副本(敏感位散列出来).
<?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <settings pass="windowsPE"> <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> <UseConfigurationSet>true</UseConfigurationSet> <UserData> <AcceptEula>true</AcceptEula> <FullName>#####</FullName> <Organization>#####</Organization> </UserData> <ImageInstall> <OSImage> <InstallToAvailablePartition>true</InstallToAvailablePartition> <InstallFrom> <MetaData> <Key>/IMAGE/Name</Key> <Value>windows 7 enterprise</Value> </MetaData> </InstallFrom> </OSImage> </ImageInstall> </component> <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> <UILanguage>en-US</UILanguage> <SetupUILanguage> <UILanguage>en-GB</UILanguage> </SetupUILanguage> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> <RegisteredOwner>#####</RegisteredOwner> <RegisteredOrganization>#####</RegisteredOrganization> <TimeZone>GMT Standard Time</TimeZone> <Computername>*</Computername> </component> <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> <Identification> <JoinDomain>#####</JoinDomain> <MachineObjectOU>OU=Client Software,OU=SBSComputers,OU=Computers,OU=MyBusines,DC=#####,DC=#####</MachineObjectOU> <Credentials> <Domain>#####</Domain> <Username>administrator</Username> <Password>#####</Password> </Credentials> </Identification> </component> <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> <RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Path>reg add "HKLMSOFTWAREPoliciesMicrosoftWindows NTCurrentVersionNetworkListSignaturesFirstNetwork" /v Category /t REG_DWORD /d 00000000 /f</Path> <Description>Setting Network Location</Description> <Order>1</Order> <WillReboot>OnRequest</WillReboot> </RunSynchronousCommand> </RunSynchronous> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>3</ProtectYourPC> </OOBE> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <Name>#####</Name> <Group>Administrators</Group> <Password> <Value>#####</Value> <PlainText>false</PlainText> </Password> </LocalAccount> </LocalAccounts> </UserAccounts> <ProductKey>#####</ProductKey> </component> <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> <InputLocale>en-GB</InputLocale> <SystemLocale>en-GB</SystemLocale> <UILanguage>en-GB</UILanguage> <UILanguageFallback>en-GB</UILanguageFallback> <UserLocale>en-GB</UserLocale> </component> </settings> </unattend> 您是否使用WAIK来构建它,并通过了验证? (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- 从Windows内存转储创建Java堆转储
- Kotlin使用UInt进行数组访问和常量
- windows-server-2008 – Windows x64上的MemCached
- 如何连接到远程Windows机器以使用python执行命令?
- windows – driver.manage().window().使用ChromeDriver 2.
- 使用window.onbeforeunload事件中的window.event.keyCode在
- Windows – 在UAC下,为什么我不能将文件写为模拟用户?
- Windows Mobile中的非闭合关闭按钮(使用Qt开发)
- Microsoft Windows操作系统文件版本是否包含所有早期修补程
- windows – 平移大型桌面的远程桌面客户端?
推荐文章
站长推荐
- windows-server-2003 – FreeBSD主机ZFS在Root上
- ntfs – Windows是否有像ZFS或BtrFS这样的校验和
- windows-server-2003 – 需要IPX的Server 2003 G
- 如何使用毫秒分辨率获得Windows系统时间?
- windows-phone-8.1 – Windows Phone 8.1 API
- Windows CMD – 从批处理文件重置路径变量?
- windows-8 – 如何在WinRT中创建一个tap可移动控
- windows – 如何删除Anaconda的键盘快捷方式
- 安装程序 – 使用Wix安装32位和64位驱动程序?
- 如何在Windows Git存储库中修复区分大小写
热点阅读