原文链接:Create media for automated unattended install of Windows 10

  我从来没看到过像上面的文章一样这么详细的描述过Windows10的无人值守安装过程,看完长知识了,值得一看。之后我会将自己的制作过程发出来,让大家学习一下。

  只为了学习,如果有侵权请您联系我,我会将此文删除。

推荐:

  PowerShell Scripting - Create USB Install Media for Windows 10 

  Create Windows 10 ISO image from Existing Installation


如果上方的连接无法使用,请下载以下文件,本地查看:

链接:https://pan.baidu.com/s/1UrenJjozuH71maaQ9wqHFg
提取码:zgho


 我的测试:

cn_windows_server_2019_x64_dvd_4de40f33的无人值守配置:

下载:

ed2k://|file|cn_windows_server_2019_x64_dvd_4de40f33.iso|5086887936|7DCDDD6B0C60A0D019B6A93D8F2B6D31|/

autounattend.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="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>
<SystemLocale>zh-CN</SystemLocale>
<UILanguageFallback>en-US</UILanguageFallback>
<UILanguage>zh-CN</UILanguage>
<InputLocale>:{81D4E9C9-1D3B-41BC-9E6C-4B40BF79E35E}{FA550B04-5AD7-411F-A5AC-CA038EC515D7}</InputLocale>
<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">
<DiskConfiguration>
<Disk wcm:action="add">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order></Order>
<Size></Size>
<Type>Primary</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Extend>true</Extend>
<Order></Order>
<Type>Primary</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order></Order>
<Size></Size>
<Type>MSR</Type>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order></Order>
<Size></Size>
<Type>EFI</Type>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Order></Order>
<Label>WinRE</Label>
<Format>NTFS</Format>
<PartitionID></PartitionID>
<TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Order></Order>
<Format>FAT32</Format>
<Label>System</Label>
<PartitionID></PartitionID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Order></Order>
<Format>NTFS</Format>
<Label>Windows</Label>
<Letter>C</Letter>
<PartitionID></PartitionID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Order></Order>
<PartitionID></PartitionID>
</ModifyPartition>
</ModifyPartitions>
<DiskID></DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
</DiskConfiguration>
<ImageInstall>
<OSImage>
<InstallTo>
<DiskID></DiskID>
<PartitionID></PartitionID>
</InstallTo>
</OSImage>
</ImageInstall>
<UserData>
<ProductKey>
<Key>MFY9F-XBN2F-TYFMP-CCV49-RMYVH</Key>
</ProductKey>
<AcceptEula>true</AcceptEula>
<Organization>FeiQuan</Organization>
</UserData>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:e:/system/win/win%20server%202019/cn_windows_server_2019_x64_dvd_4de40f33/sources/install.wim#Windows Server 2019 SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

unattend.xml

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" processorArchitecture="wow64" 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>:{81D4E9C9-1D3B-41BC-9E6C-4B40BF79E35E}{FA550B04-5AD7-411F-A5AC-CA038EC515D7}</InputLocale>
<SystemLocale>zh-CN</SystemLocale>
<UILanguage>zh-CN</UILanguage>
<UILanguageFallback>en-US</UILanguageFallback>
<UserLocale>zh-CN</UserLocale>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="wow64" 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>
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<ProtectYourPC></ProtectYourPC>
<UnattendEnableRetailDemo>false</UnattendEnableRetailDemo>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Description>Main local admin account</Description>
<DisplayName>Admin</DisplayName>
<Group>Administrators</Group>
<Name>Admin</Name>
</LocalAccount>
<LocalAccount wcm:action="add">
<Description>Daily standand account</Description>
<DisplayName>User</DisplayName>
<Group>Users</Group>
<Name>Fei</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<RegisteredOrganization>FeiQuan</RegisteredOrganization>
<RegisteredOwner>fei</RegisteredOwner>
<TimeZone>China Standard Time</TimeZone>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="wow64" 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>FeiQuan</Manufacturer>
<Logo>C:\Windows\System32\oemlogo.bmp</Logo>
<SupportHours>/</SupportHours>
<SupportPhone>+ ********</SupportPhone>
<SupportURL>https://www.cnblogs.com/feiquan/</SupportURL>
</OEMInformation>
<CopyProfile>true</CopyProfile>
<OEMName>FeiQuan</OEMName>
<RegisteredOrganization>FeiQuan</RegisteredOrganization>
<RegisteredOwner>fei</RegisteredOwner>
<TimeZone>China Standard Time</TimeZone>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:e:/system/win/win%20server%202019/cn_windows_server_2019_x64_dvd_4de40f33/sources/install.wim#Windows Server 2019 SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

在执行完无人值守的文件后,默认会进入Administrator的账户密码设置界面,设置完成后,就直接可以登录。

已经内建了,admin与User用户,首次登录要自己设置密码。

  我已经自己打包过一个带有分装软件和主题等设置的ISO,可以正常安装。我就不提供了,你们自己定制吧。

ISO制作Create Windows 10 ISO image from Existing Installation5.5部分

oscdimg -m -o -u2 -udfver102 -bootdata:#p0,e,b.\iso_files\boot\etfsboot.com#pEF,e,b.\iso_files\efi\microsoft\boot\efisys.bin  .\iso_files .\win10Server.iso

通过WDS部署服务的话:按照原文教程(Create media for automated unattended install of Windows 10)制作的话是没法识别其中的镜像的,估计因该是这条命令没加以下参数(红色加粗部分)吧:

install.wim制作:

dism /capture-image /imagefile:C:\Image\install.wim /capturedir:C:\ /ScratchDir:C:\Scratch /name:"W10Server" /compress:maximum /checkintegrity /verify /bootable  /DESCRIPTION:"W10Server" /FLAGS:ServerStandard /DISPLAYNAME:"W10Server" /DISPLAYDESCRIPTION:"W10Server by Feiquan"

我还没测试,没时间了,有时间我会测试下的。

我是通过对比install.wim的信息得出的,制作完后,只有name,没有以下红色部分,可能不完整:

    <NAME>Windows Server  SERVERSTANDARD</NAME>
<DESCRIPTION>Windows Server 2019 SERVERSTANDARD</DESCRIPTION>
<FLAGS>ServerStandard</FLAGS>
<DISPLAYNAME>Windows Server 2019 Standard (桌面体验)</DISPLAYNAME>
<DISPLAYDESCRIPTION>此选项将安装的完整的 Windows 图形环境,占用额外的驱动器空间。如果你想要使用 Windows 桌面或需要桌面的应用,则它会很有用。</DISPLAYDESCRIPTION>

通过以下命令查看你制作的install.wim信息:

imagex /info install.wim路径

有关域中的无人值守看这里:http://www.07net01.com/storage_networking/WDSer_wurenzhishouanzhuang_488529_1372741620.html?qqdrsign=047

Windows无人值守文件unattend制作以及自定义系统安装的更多相关文章

  1. windows无人值守文件的制作_autounattend.xml

    网址:http://www.windowsafg.com/office2010.html  Note:网络不能是国内网络(需要FQ),否则不能生成自动应答文件. 以Windows10为例:Window ...

  2. VS2010制作网站自定义安装程序 转

    最近在把一个网站打包成安装程序,这方面的文章网上有很多,也看了不少,但因为开发环境的不同,遇到了一些问题,便写下这篇文章记下整个流程(有很多资源都来自互联网,由于条目颇多,所以无法说明其来处,敬请谅解 ...

  3. WinSetupFromUSB - 超简单制作多合一系统安装启动U盘的工具 (支持Win/PE/Linux启动盘)

    很多同学都喜欢将电脑凌乱不堪的系统彻底重装以获得一个"全新的开始",但你会发现如今很多电脑都已经没有光驱了,因此制作一个U盘版的系统安装启动盘备用是非常必要的. 我们之前推荐过 I ...

  4. 使用cwRsync实现windows下文件定时同步【转】

    1.参考文献: 使用cwRsync实现windows下文件定时同步(备份) 文件同步工具CwRsync的使用方法及常用命令详解 2.背景: 当前的SCADA架构中,有1台Server,5台FE,还有1 ...

  5. 使用systemback制作Ubuntu自定义系统镜像和系统备份(抄)

    使用systemback制作Ubuntu自定义系统镜像和系统备份 2017年06月23日 16:17:51 BWBOT 阅读数:10714   原链接:https://community.bwbot. ...

  6. 使用cwRsync实现windows下文件定时同步

    1.参考文献: 使用cwRsync实现windows下文件定时同步(备份) 文件同步工具CwRsync的使用方法及常用命令详解 2.背景: 当前的SCADA架构中,有1台Server,5台FE,还有1 ...

  7. 云计算之路-试用Azure:制作虚拟机自定义镜像

    虚拟机自定义镜像(Image)是一个很有用的功能,可以在一台虚拟机上配置好基本的系统环境,然后做个镜像,以后创建虚拟机直接从这个镜像创建,会省掉很多重复的配置工作. 阿里云与UCloud都有这个功能, ...

  8. Windows各个文件夹介绍

    windows文件介绍 总结 ├WINDOWS │ ├-system32(存放Windows的系统文件和硬件驱动程序) │ │ ├-config(用户配置信息和密码信息) │ │ │ └-system ...

  9. ASP.NET Core 1.1 静态文件、路由、自定义中间件、身份验证简介

    概述 之前写过一篇关于<ASP.NET Core 1.0 静态文件.路由.自定义中间件.身份验证简介>的文章,主要介绍了ASP.NET Core中StaticFile.Middleware ...

随机推荐

  1. Oracle-01:基础命令小结

    ------------吾亦无他,唯手熟尔,谦卑若愚,好学若饥------------- 记录一下我的Oracle学习之路,详细的安装教程忙完这俩天会认真总结一版 本次记录这次学习cmd基础命令 一, ...

  2. Linux时间子系统之(三):用户空间接口函数

    专题文档汇总目录 Notes:用户空间时间相关接口函数: 类型 API 精度 说明 时间 time stime time_t 精度为秒级 逐渐要被淘汰.需要定义__ARCH_WANT_SYS_TIME ...

  3. 第一章——机器学习总览(The Machine Learning Landscape)

    本章介绍了机器学习的一些基本概念,已经应用场景.这部分知识在其它地方也经常看到,不再赘述. 这里只记录一些作者提到的,有趣的知识点. 回归(regression)名字的来源:这是由Francis Ga ...

  4. linux,windows下检测指定的IP地址是否可用或者检测IP地址冲突的3种方式(批处理程序,python程序,linux shell 批量ping)

    本文中的脚本适用范围: 1)检测某些IP地址是否被占用: 2)检测网络中某些设备是否存活: 3)在分配新的ip地址之前,批量检测环境中是否存在冲突的机器 以上检测基于ICMP Ping报文,要求所有的 ...

  5. js算法初窥02(排序算法02-归并、快速以及堆排序)

    上一篇,我们讲述了一些简单的排序算法,其实说到底,在前端的职业生涯中,不涉及node.不涉及后台的情况下,我目前还真的没想到有哪些地方可以用到这些数据结构和算法,但是我在前面的文章也说过了.或许你用不 ...

  6. Mybatis通过注解方式实现批量插入数据库 及 常见的坑

    原文地址:http://f0rb.iteye.com/blog/1207384 MyBatis中通过xml文件配置数据库批量操作的文章很多,比如这篇http://www.cnblogs.com/xcc ...

  7. [python]多线程模块thread与threading

    Python通过两个标准库(thread, threading)提供了对多线程的支持 thread模块 import time import thread def runner(arg): for i ...

  8. counter.go

    package engine func (engine *Engine) NumTokenIndexAdded() uint64 {     return engine.numTokenIndexAd ...

  9. 【Dp】Bzoj1296 [SCOI2009] 粉刷匠

    Description windy有 N 条木板需要被粉刷. 每条木板被分为 M 个格子. 每个格子要被刷成红色或蓝色. windy每次粉刷,只能选择一条木板上一段连续的格子,然后涂上一种颜色. 每个 ...

  10. golang sync/atomic

    刚刚学习golang原子操作处理的时候发现github上面一个比较不错的golang学习项目 附上链接:https://github.com/polaris1119/The-Golang-Standa ...