windows-7 – Windows 7无人值守安装 – 不是’无人值守’
发布时间:2020-12-13 23:25:56 所属栏目:Windows 来源:网络整理
导读:我已经尝试了几天来为 Windows 7获取正确且有效的Unattended.xml应答文件.尝试创建一个完全无人值守的Windows 7安装,以便技术人员可以插入USB驱动器,从中启动,然后等待设置去完成.我正在使用的图像已经使用无人参与的答案文件进行了sysprep,并且从那时起每次
我已经尝试了几天来为
Windows 7获取正确且有效的Unattended.xml应答文件.尝试创建一个完全无人值守的Windows 7安装,以便技术人员可以插入USB驱动器,从中启动,然后等待设置去完成.我正在使用的图像已经使用无人参与的答案文件进行了sysprep,并且从那时起每次都有变化.这是一个耗时的过程,因为WDS / Server安装不是一个选项,只有这种预成像USB设备的方法.
我已经遍布technet,Serverfault(以及其他StackExchange站点),随机博客和此类站点尝试不同的answerfile选项,这些选项将(应该/应该)创建一个完整的无人值守安装. 使用WSIM管理/编写/修改/检查应答文件和DISM来管理映像. 无论我放入WinPE传递的任何选项,都会发生以下情况: > PE要求语言/语言环境/ 我需要设置开始,处理和完成,而无需询问用户任何事情 我最近的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>en-us</UILanguage> </SetupUILanguage> <UILanguage>en-us</UILanguage> <InputLocale>0409:00000409</InputLocale> <SystemLocale>en-us</SystemLocale> <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"> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> <CreatePartitions> <CreatePartition wcm:action="add"> <Order>1</Order> <Size>100</Size> <Type>Primary</Type> </CreatePartition> <CreatePartition wcm:action="add"> <Order>2</Order> <Type>Primary</Type> <Extend>true</Extend> </CreatePartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Format>NTFS</Format> <Label>System</Label> <Order>1</Order> <Active>true</Active> <PartitionID>1</PartitionID> </ModifyPartition> <ModifyPartition wcm:action="add"> <Format>NTFS</Format> <Label>OS</Label> <Order>2</Order> <PartitionID>2</PartitionID> </ModifyPartition> </ModifyPartitions> </Disk> </DiskConfiguration> <ImageInstall> <OSImage> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> <InstallFrom> <MetaData wcm:action="add"> <Key>/IMAGE/INDEX</Key> <Value>1</Value> </MetaData> </InstallFrom> <WillShowUI>OnError</WillShowUI> </OSImage> </ImageInstall> <UserData> <AcceptEula>true</AcceptEula> <ProductKey> <Key>----</Key> <WillShowUI>----</WillShowUI> </ProductKey> <FullName>----</FullName> <Organization>----</Organization> </UserData> </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"> <CopyProfile>true</CopyProfile> <TimeZone>----</TimeZone> <ProductKey>----</ProductKey> <RegisteredOrganization>----</RegisteredOrganization> <RegisteredOwner>----</RegisteredOwner> </component> <component name="Microsoft-Windows-Deployment" 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"> <RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Path>net user administrator /active:yes</Path> <Order>1</Order> </RunSynchronousCommand> </RunSynchronous> </component> <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>0409:00000409</InputLocale> <SystemLocale>en-us</SystemLocale> <UILanguage>en-us</UILanguage> <UserLocale>en-us</UserLocale> </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> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>1</ProtectYourPC> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> </OOBE> <RegisteredOrganization>----</RegisteredOrganization> <RegisteredOwner>----</RegisteredOwner> <TimeZone>TZ</TimeZone> <UserAccounts> <AdministratorPassword> <Value>aBcDe</Value> <PlainText>false</PlainText> </AdministratorPassword> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>aBcDe</Value> <PlainText>false</PlainText> </Password> <Description>Local Administrator</Description> <DisplayName>Administrator</DisplayName> <Group>Administrators</Group> <Name>Administrator</Name> </LocalAccount> </LocalAccounts> </UserAccounts> <AutoLogon> <Password> <Value>aBCdE</Value> <PlainText>false</PlainText> </Password> <Enabled>true</Enabled> <LogonCount>5</LogonCount> <Username>administrator</Username> <Domain></Domain> </AutoLogon> </component> <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>0409:00000409</InputLocale> <SystemLocale>en-us</SystemLocale> <UserLocale>en-us</UserLocale> <UILanguage>en-us</UILanguage> </component> </settings> <cpi:offlineImage cpi:source="wim:wimfile#Windows 7 Professional" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend> 有没有其他人有这种情况发生的经验,或者知道如何纠正我的答案文件,以便它真正变得无人看管?
你试过下载
MDT套件,所以你不必手动编辑xml文件吗?
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
推荐文章
站长推荐
- 用户界面 – 什么是“客户端装饰”?
- Microsoft Visual Studio 2017依赖于每个xamarin
- windows-server-2008-r2 – 非域客户端的RemoteA
- windows-7 – 为什么我的登录脚本不会映射Window
- windows-server-2008 – 远程管理网络策略服务器
- windows-server-2008 – Windows Server 2008 R2
- 分辨率术语的含义 分辨率术语的含义
- 将Windows Server用于非服务器的事情是否可以(行
- windows-vista – 运行Vista的HP z800在Windows
- windows – 服务:“手动”和“禁用”之间是否有
热点阅读