Windows 10 Enterprise LTSC 2019 无人值守自动应答文件AutoUnattend.xml 创建步骤

Windows 10 Enterprise LTSC 2019 无人值守自动应答文件AutoUnattend.xml 创建步骤

使用说明

除了安装系统时手动分区外,其他都自动,安装后首次自动进入用户桌面。

创建步骤

下载并安装ADK

注意:制作Windows 7 应答文件的AIK里面的“Windows 系统映像管理器”打开Windows 10的install.wim会报错。生成Windows 10应答文件必须安装Windows ADK。

最新版的ADK在这:
https://docs.microsoft.com/en-us/windows-hardware/get-started/adk-install

下载的安装包默认是Online安装,可以选择离线安装;

离线安装方法:
参考:https://docs.microsoft.com/en-us/windows-hardware/get-started/adk-offline-install

  • 下载adksetup.exe,在一台可上网电脑上运行adksetup.exe
  • 选择“下载 评估和部署工具包 以在单独计算机上进行安装”,例如保存在D:\Downloads\Windows Kits\10\ADK;
  • 离线安装包下载完成后,运行下载的D:\Downloads\Windows Kits\10\ADK\adksetup.exe;
  • 安装时,只选择“部署工具” 进行安装;

自定义应答文件

  • 准备一个Windows 10 Enterprise LTSC 2019光盘镜像“cn_windows_10_enterprise_ltsc_2019_x64_dvd_2efc9ac2.iso”;
  • 用虚拟光驱挂载(Win10不用装虚拟光驱,直接双击挂载),将光盘中sources目录下的install.wim复制出来(检查复制出的文件是否已经去掉只读属性);
  • 打开 开始菜单 程序 Windows Kits 下面的 “Windows 系统映像管理器”;
  • 在 Windows System Image Manager 程序窗口,文件 -> 选择Windows镜像;
  • 选择刚才复制出来的install.wim,加载需要几分钟,加载后按提示创建编录文件(catalog file);
  • 在 Windows System Image Manager 程序窗口,文件 -> 新建应答文件;
  • 添加哪些Components,以及设置哪些值,可以参考网上链接,但更推荐的是查阅微软的官方文档,经过测试,下面的图片展示需要添加哪些到应答文件。
    在这里插入图片描述
  • 详细设置参考下面的xml文件(AutoUnattend.xml),按需修改后用UltraISO或其他iso编辑工具,将AutoUnattend.xml放到Win10光盘根目录,然后刻录光盘或U盘就可以了;
  • 如需添加脚本让Win10装完后自动安装常用软件,则需要:
    A、在光盘中sources目录下面添加 O E M OEM OEM$1\Apps子目录;
    B、在Apps中写脚本,自动安装常用软件;
    B、在AutoUnattend.xml文件的oobe段增加FirstLogonCommands,让系统在首次登陆后调用App下安装脚本。
<?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>0804:{81D4E9C9-1D3B-41BC-9E6C-4B40BF79E35E}{F3BA9077-6C7E-11D4-97FA-0080C882687E}</InputLocale>
            <SystemLocale>zh-CN</SystemLocale>
            <UILanguage>zh-CN</UILanguage>
            <UserLocale>zh-CN</UserLocale>
            <UILanguageFallback>en-US</UILanguageFallback>
        </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">
            <UserData>
                <ProductKey>
                    <Key>M7XTQ-FN8P6-TTKYV-9D4CC-J462D</Key>
                </ProductKey>
                <AcceptEula>true</AcceptEula>
                <FullName>user</FullName>
                <Organization>Dell</Organization>
            </UserData>
            <ImageInstall>
                <OSImage>
                    <InstallFrom>
                        <MetaData wcm:action="add">
                            <Key>/image/name</Key>
                            <Value>Windows 10 Enterprise LTSC 2019</Value>
                        </MetaData>
                    </InstallFrom>
                </OSImage>
            </ImageInstall>
        </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>
                <AdministratorPassword>
                    <Value>P@ssw0rd4Test</Value>
                    <PlainText>true</PlainText>
                </AdministratorPassword>
                <LocalAccounts>
                    <LocalAccount wcm:action="add">
                        <Password>
                            <Value>P@ssw0rd4Test</Value>
                            <PlainText>true</PlainText>
                        </Password>
                        <DisplayName>User</DisplayName>
                        <Group>Administrators</Group>
                        <Name>user</Name>
                    </LocalAccount>
                </LocalAccounts>
            </UserAccounts>
            <OOBE>
                <ProtectYourPC>2</ProtectYourPC>
                <HideEULAPage>true</HideEULAPage>
                <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
                <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
                <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
            </OOBE>
            <TimeZone>China Standard Time</TimeZone>
            <AutoLogon>
                <Password>
                    <Value>P@ssw0rd4Test</Value>
                    <PlainText>true</PlainText>
                </Password>
                <LogonCount>1</LogonCount>
                <Enabled>true</Enabled>
                <Username>user</Username>
            </AutoLogon>
        </component>
        <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">
            <SystemLocale>zh-CN</SystemLocale>
            <UILanguage>zh-CN</UILanguage>
            <UILanguageFallback>en-US</UILanguageFallback>
            <UserLocale>zh-CN</UserLocale>
            <InputLocale>0804:{81D4E9C9-1D3B-41BC-9E6C-4B40BF79E35E}{F3BA9077-6C7E-11D4-97FA-0080C882687E}</InputLocale>
        </component>
    </settings>
    <settings pass="specialize">
        <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-SQMApi" 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">
            <CEIPEnabled>0</CEIPEnabled>
        </component>
        <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:{81D4E9C9-1D3B-41BC-9E6C-4B40BF79E35E}{F3BA9077-6C7E-11D4-97FA-0080C882687E}</InputLocale>
            <SystemLocale>zh-CN</SystemLocale>
            <UILanguage>zh-CN</UILanguage>
            <UserLocale>zh-CN</UserLocale>
            <UILanguageFallback>en-US</UILanguageFallback>
        </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>PC-</ComputerName>
            <OEMInformation>
                <Manufacturer>Dell</Manufacturer>
            </OEMInformation>
        </component>
    </settings>
    <settings pass="offlineServicing">
        <component name="Microsoft-Windows-LUA-Settings" 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">
            <EnableLUA>false</EnableLUA>
        </component>
    </settings>
    <settings pass="generalize">
        <component name="Microsoft-Windows-Security-SPP" 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">
            <SkipRearm>1</SkipRearm>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:e:/software/os/diy/win10/sources/install.wim#Windows 10 Enterprise LTSC 2019" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

参考

https://www.windowscentral.com/how-create-unattended-media-do-automated-installation-windows-10

https://techcommunity.microsoft.com/t5/Windows-10-deployment/Enterprise-LTSC-2019-answer-files/td-p/267496

https://blog.csdn.net/a867965056/article/details/52194852

  • 12
    点赞
  • 50
    收藏
    觉得还不错? 一键收藏
  • 9
    评论
### 回答1: Windows 10 Enterprise LTSC 2019是一款专业的企业级操作系统,它的全称是Windows 10 Enterprise Long-Term Servicing Channel 2019,是微软推出的一款长期支持版本的Windows 10操作系统。相比于其他版本的Windows 10,它更加稳定、安全、可靠,适合企业用户使用。它的主要特点是长期支持、不含Windows应用商店、不含Cortana语音助手、不含Microsoft Edge浏览器等。 ### 回答2: Windows 10 Enterprise LTSC 2019是微软推出的一款长期支持版操作系统,其全称为Windows 10 Enterprise 2019 LTSCWindows 10 Enterprise LTSC 2019与其他版本的Windows 10系统相比,最大的区别在于其长期支持性。它提供了10年的支持时间,其中5年是主流支持阶段,5年是扩展支持阶段。而其他版本的Windows 10系统则只提供18个月的支持时间。 另外,Windows 10 Enterprise LTSC 2019针对于企业用户,提供了增强的安全性和可控性。它可以提供更加稳定和可靠的系统运行环境,可以满足企业用户对于操作系统的安全性、可靠性和稳定性方面的要求。 相比较于Windows 10的其他版本,Windows 10 Enterprise LTSC 2019还提供了更加灵活的应用程序和服务更新方式。用户可以选择以自己的节奏进行更新,而不必在微软发布更新后所有用户都进行更新。这也就为企业用户提供了更好的维护和管理控制。 总而言之,Windows 10 Enterprise LTSC 2019是一款面向企业用户的长期支持版操作系统,提供了更加稳定、可靠和安全的系统环境,可以满足企业用户对于系统安全性、可靠性和稳定性方面的要求。 ### 回答3: Windows 10 Enterprise LTSC 2019是微软发布的一种长期支持版本的操作系统。它与其他Windows 10版本相比,具有更长的支持周期和更少的更新和功能更新。它的目标市场是需要更加稳定和保守的组织和企业。 这个版本的Windows 10被设计为不需要常规的功能更新和补丁更新。作为结果,这个版本的Windows 10没有使用Windows Store、微软Edge和Cortana等新特性,这些特性需要经常更新。这种长期支持的策略使得Windows 10 Enterprise LTSC 2019能够满足一些组织的需求,例如社区医院、ATM机、工业和生产等设备,因为这些设备要求稳定性和可预测性。 同时,不需要常规更新的Windows 10 Enterprise LTSC 2019,也意味着它不会影响组织的应用程序和操作系统的稳定性,因为应用程序和操作系统不会因为系统更新而需要进行重新调整。此外,Windows 10 Enterprise LTSC 2019还包括更长的支持周期,允许组织更好地规划和管理其IT预算。 总之,Windows 10 Enterprise LTSC 2019为那些需要更加稳定、可预测的系统以及长期支持的组织和企业提供了解决方案。它主要面向一些不太需要时常更新的场景,不包括商用和消费者市场。需要注意的是,对于更多需要时常更新的场景,组织和企业应该使用其他版本的Windows 10,例如Windows 10 Pro和Windows 10 Enterprise
评论 9
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值