[Settings]
Priority=Default
Properties=MyCustomProperty

[Default]
;是否允许部署操作系统到目标计算机
OSInstall=YES

;是否跳过欢迎界面
SkipBDDWelcome=YES

;是否跳过选择部署类型
SkipDeploymentType=YES
DeploymentType=NewComputer

;是否跳过设置本地管理员密码
SkipAdminPassword=YES

;是否跳过应用程序安装向导页
SkipAppsOnUpgrade=NO
SkipApplications=NO

;是否跳过设置计算机名
SkipComputerName=NO

;是否跳过镜像捕捉
SkipCapture=NO

;是否跳过序列号输入
SkipProductKey=YES

;是否跳过设置本地地区
SkipLocaleSelection=YES

;是否跳过设置时区
SkipTimeZone=YES
TimeZoneName=China Standard Time

;指定语言、输入法
UILanguage=zh-cn
UserLocale=zh-cn
KeyBoardLocale=zh-cn

;是否跳过加入域或工作组(捕获镜像时需要注释掉)
SkipDomainMembership=YES
JoinDomain=contoso
DomainAdmin=Administrator
DomainAdminDomain=contoso
DomainAdminPassword=2

;是否跳过Bitlocker设置
SkipBitLocker=YES

;指定目标计算机部署完成后的动作(关机、注销、重启)
FinishAction=REBOOT

;是否跳过摘要界面
SkipSummary=YES
SkipFinalSummary=YES

;是否跳过恢复用户数据向导页
SkipUserData=http://jqq1982.blog.51cto.com/515663/YES
UserDataLocation=NONE

=====================================================================================================================

在 CustomSettings.ini 中指定 SkipWizard 属性来跳过整个 Windows Deployment Wizard。要跳过单个向导页面,可使用以下属性:
? SkipAdminPassword
? SkipApplications
? SkipAppsOnUpgrade
? SkipBDDWelcome
? SkipBitLocker
? SkipBitLockerDetails
? SkipTaskSequence
? SkipCapture
? SkipComputerBackup
? SkipComputerName
? SkipDeploymentType
? SkipDomainMembership
? SkipFinalSummary
? SkipLocaleSelection
? SkipPackageDisplay
? SkipProductKey
? SkipSummary
? SkipTimeZone
? SkipUserData

==============================================================================================================================

=====

*****完全自动化 LTI 部署刷新计算机方案

==============================================================================================================================

====
用于刷新计算机方案的 CustomSettings.ini 文件
[Settings]
Priority=Default
Properties=MyCustomProperty

[Default]
OSInstall=Y
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac /lae
SkipAppsOnUpgrade=Yes
SkipCapture=Yes
SkipAdminPassword=YES
SkipProductKey=YES

SkipDeploymentType=Yes
DeploymentType=REFRESH

SkipDomainMembership=Yes
JoinDomain=DomainName
DomainAdmin=Administrator
DomainAdminDomain=DomainName
DomainAdminPassword=

SkipUserData=yes
UserDataLocation=AUTO
UDShare=\\Servername\Sharename\Directory
UDDir=%ComputerName%

SkipComputerBackup=yes
ComputerBackuplocation=AUTO
BackupShare=\\Servername\Backupsharename
BackupDir=%ComputerName%

SkipTaskSequence=Yes
TaskSequenceID=Enterprise

SkipComputerName=Yes
ComputerName=%ComputerName%

SkipPackageDisplay=Yes
LanguagePacks1={3af4e3ce-8122-41a2-9cf9-892145521660}
LanguagePacks2={84fc70d4-db4b-40dc-a660-d546a50bf226}

SkipLocaleSelection=Yes
UILanguage=en-US
UserLocale=en-CA
KeyboardLocale=0409:00000409

SkipTimeZone=Yes
TimeZoneName=China Standard Time

SkipApplications=Yes
Applications1={a26c6358-8db9-4615-90ff-d4511dc2feff}
Applications2={7e9d10a0-42ef-4a0a-9ee2-90eb2f4e4b98}
UserID=Administrator
UserDomain=DomainName
UserPassword=P@ssw0rd

SkipBitLocker=Yes
SkipSummary=Yes
Powerusers1=DomainName\Username

==============================================================================================================================

=====

*****完全自动化 LTI 部署升级计算机方案

==============================================================================================================================

====
用于升级计算机方案的 CustomSettings.ini 文件
[Settings]
Priority=Default
Properties=MyCustomProperty

[Default]
OSInstall=Y
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac /lae
SkipWizard=Yes
DeploymentType=UPGRADE
TaskSequenceID=Enterprise
ComputerName=%ComputerName%
LanguagePacks1={3af4e3ce-8122-41a2-9cf9-892145521660}
LanguagePacks2={84fc70d4-db4b-40dc-a660-d546a50bf226}
UILanguage=en-US
UserLocale=en-CA
KeyboardLocale=0409:00000409
TimeZoneName=Canada Central Standard Time
Applications1={a26c6358-8db9-4615-90ff-d4511dc2feff}
Applications2={7e9d10a0-42ef-4a0a-9ee2-90eb2f4e4b98}
UserID=Administrator
UserDomain=DomainName
UserPassword=P@ssw0rd
Powerusers1=DomainName\Username

==============================================================================================================================

=====

*****完全自动化 LTI 部署新计算机方案

==============================================================================================================================

====
用于新计算机方案的 CustomSettings.ini 文件
[Settings]
Priority=Default
Properties=MyCustomProperty

[Default]
OSInstall=Y
ScanStateArgs=/v:5 /o /c
LoadStateArgs=/v:5 /c /lac /lae

SkipAppsOnUpgrade=Yes

SkipCapture=YES
ComputerBackupLocation=\\ServerName\Backup$\
BackupFile=MyCustomImage.wim

SkipAdminPassword=YES
SkipProductKey=YES
SkipDeploymentType=Yes

SkipDomainMembership=Yes
JoinDomain=DomainName
DomainAdmin=Administrator
DomainAdminDomain=DomainName
DomainAdminPassword=P@ssw0rd

SkipUserData=Yes
UserDataLocation=\\ServerName\Sharename\Directory\usmtdata

SkipTaskSequence=Yes
TaskSequenceID=Enterprise

SkipComputerName=Yes
ComputerName=%SerialNumber%

SkipPackageDisplay=Yes
LanguagePacks1={3af4e3ce-8122-41a2-9cf9-892145521660}
LanguagePacks2={84fc70d4-db4b-40dc-a660-d546a50bf226}

SkipLocaleSelection=Yes
UILanguage=en-US
UserLocale=en-CA
KeyboardLocale=0409:00000409

SkipTimeZone=Yes
TimeZoneName=China Standard Time

SkipApplications=Yes
Applications1={a26c6358-8db9-4615-90ff-d4511dc2feff}
Applications2={7e9d10a0-42ef-4a0a-9ee2-90eb2f4e4b98}

SkipBitLocker=Yes
SkipSummary=Yes
Powerusers1=DomainName\Username
CaptureGroups=Yes
SLShare=\\ServerName\Sharename\Logs
Home_page=http:\\www.microsoft.com\NewComputer

=======================================================================================

[Settings]
Priority=MACAddress, Default
Properties=MyCustomProperty
[Default]
SQLServer=MDTServer
Database=MDTDB
Netlib=DBMSSOCN
[00:0C:29:CB:70:D2]
SkipBDDWelcome=YES

SkipComputername=YES
ComputerName=MDTClient01
OSInstall=Y
SkipDomainMembership=YES
JoinDomain=HBYCRSJ
DomainAdmin=Bill.xu
DomainAdminDomain=HBYCRSJ
DomainAdminPassword=3228272
BuildID=TS001
SkipUserDATA=YES
UserDataLocation=NONE
SkipAppsOnUpgrade=YES
SkipApplications=YES
Applications1={bfa2a0fc-7d69-4f99-a155-3e9d4296de97}
SkipAdminPassword=YES
AdminPassword=3228272
SkipProductKey=YES
SkipTimeZone=YES
TimeZone=210
TimeZoneName=China Standard Time

SkipCapture=YES
SkipFinalSummary=YES
SkipSummary=YES

[00:0C:29:34:A0:18]
SkipBDDWelcome=YES
SkipComputername=YES
ComputerName=MDTClient02
OSInstall=Y
BuildID=TS002
SkipDomainMembership=YES
JoinDomain=HBYCRSJ
DomainAdmin=Bill.xu
DomainAdminDomain=HBYCRSJ
DomainAdminPassword=3228272
SkipUserDATA=YES
UserDataLocation=NONE
SkipLocaleSelection=Yes
UserLocal=zh-CN
UILanguage=zh-CN
KeyboardLocal=0804:00000804
SkipAppsOnUpgrade=YES
SkipApplications=YES
Applications1={bfa2a0fc-7d69-4f99-a155-3e9d4296de97}
SkipAdminPassword=YES
AdminPassword=3228272
SkipProductKey=YES
SkipTimeZone=YES
TimeZone=210
TimeZoneName=China Standard Time

SkipCapture=YES
SkipFinalSummary=YES
SkipSummary=YES
说明
Applications1={bfa2a0fc-7d69-4f99-a155-3e9d4296de97},它的值是必须应用程序的GUID,可以在e:DistributionControlApplications.xml

文件中找到;
BuildID=TS002,指操作系统Task Sequences ID值;
在上面示例中,我有两个操作系统,一个为XP ,Task Sequences ID为TS001; 一个WINDOWS 2008,Task Sequences ID为TS002;
更多的参数意义可以参看MDT 2008中的“Toolkit_Reference.doc”文档

=================================================================================================

[Settings]
Priority=Default
Properties=MyCustomProperty
[Default]
;是否允许部署操作系统到目标计算机
OSInstall=YES
;是否跳过欢迎界面
SkipBDDWelcome=YES
;是否跳过选择部署类型
SkipDeploymentType=YES
DeploymentType=NewComputer
;是否跳过设置本地管理员密码
SkipAdminPassword=YES
;是否跳过应用程序安装向导页
SkipAppsOnUpgrade=NO
SkipApplications=NO
;是否跳过设置计算机名
SkipComputerName=NO
;是否跳过镜像捕捉
SkipCapture=NO
;是否跳过序列号输入
SkipProductKey=YES
;是否跳过设置本地地区
SkipLocaleSelection=YES
;是否跳过设置时区
SkipTimeZone=YES
TimeZoneName=China Standard Time
;指定语言、输入法
UILanguage=zh-cn
UserLocale=zh-cn
KeyBoardLocale=zh-cn
;是否跳过加入域或工作组(捕获镜像时需要注释掉)
SkipDomainMembership=YES
JoinDomain=contoso
DomainAdmin=Administrator
DomainAdminDomain=contoso
DomainAdminPassword=2
;是否跳过Bitlocker设置
SkipBitLocker=YES
;指定目标计算机部署完成后的动作(关机、注销、重启)
FinishAction=REBOOT
;是否跳过摘要界面
SkipSummary=YES
SkipFinalSummary=YES
;是否跳过恢复用户数据向导页
SkipUserData=YES
UserDataLocation=NONE

=================================================================================

4.1.2. Grouping Target Computers

When you place commands in the [Default] section of the CustomSettings.ini file, they apply to all target computers that

access the deployment share. However, this does not mean that you can’t use CustomSettings.ini commands if you have to assign

different property values to some of your computers. You can define groups in a CustomSettings.ini file and assign properties

with different values to the computers in each group.

MDT 2010 enables you to group your target computers by location or according to hardware or software attributes. For example,

to create groups based on locations in a CustomSettings.ini file, you assign group names to the default gateway addresses of

the subnets on your network, as in the following sample:

[Default Gateway]
192.168.1.1=Boston
192.168.2.1=Chicago
192.168.3.1=Seattle

You then create sections named for the groups and place your group-specific properties in those sections. For example, the

following commands join the target computers to a different domain depending on the city where they are located:

[Boston]
JoinDomain=boston.example.local
DomainAdmin=Alice
DomainAdminPassword=Pa$$w0rd
DomainAdminDomain=boston.example.local

[Chicago]
JoinDomain=chicago.example.local
DomainAdmin=Ralph
DomainAdminPassword=Pa$$w0rd
DomainAdminDomain=chicago.example.local

[Seattle]
JoinDomain=seattle.example.local
DomainAdmin=Ed
DomainAdminPassword=Pa$$w0rd
DomainAdminDomain=seattle.example.local

4.1.3. Configuring Individual Computers

Some properties require values that must be unique on every computer, such as the OSDComputerName property, which specifies

the computer name assigned to a target computer during the Windows 7 installation. To assign properties like these to

individual computers, you must create separate sections for each computer in the CustomSettings.ini file. As with the group

capabilities, you can use different criteria to identify individual computers, including hardware, software, and user-defined

attributes.

For example, to identify target computers using the media access control (MAC) addresses assigned to their network interface

adapters, you create a section for each computer named using the six-byte hexadecimal value of its MAC address. Then you add

the computer-specific properties into each section, as shown in the following example:

[Settings]
Priority=MACAddress, Default

[00:1a:6b:3c:ba:1f]
OSDComputerName=Wkstn1

[00:0c:29:ab:07:a2]
OSDComputerName=Wkstn2

假设,我们需要在安装过程中安装语言包要怎么办?首先,必须向部署共享的数据包文件夹中添加语言包。然后我们可以检查部署共享中控制面

板的Packages.xml文件,以此来确定与语言包相关的GUID。最后,将 LanguagePacks001=value 命令行置入CustomSettings.ini文件中,其中

value就是语言包的GUID。以后我们会就自动完成LTI安装的进程和其他自定义设置进行讲解。
  最后一个问题:如果我们想将一个语言包置入安装进程,那我们怎么知道要将LanguagePacks001=value 命令行置入CustomSettings.ini文

件中呢?答案很简单——查看操作指南!大家应该对下面的MDT 2010文档库(安装在MDT 2010中的帮助文件.chm)标题很熟悉:
  • 为跳过的Windows部署向导页面提供属性——这一标题列出了跳过若干Windows部署向导页面后,我们需要置入CustomSettings.ini中的属

性。
  • 属性定义——这一标题列出了所有需要置入CustomSettings.ini中的属性极其用途。

=================================================================================

SkipComputerBackup=YES //跳过计算机用户状态备份向导页
UserDataLocation=Network //用户数据存放路径
ScanStateArgs=/v:5 /o /c //读取用户状态
LoadStateArgs=/v:5 /c /lac //恢复用户状态
UDShare=\\MDT2012\MigData //用户状态保存路径
UDDir=%OSDComputerName% //用户状态保存目录,这个目录以当前计算机的名称命名

/v:5 在 ScanState 日志文件中启用详细输出。默认值为 0。值可以是0-15。
/o 需要覆盖迁移存储或 Config.xml 文件中的任何现有数据。
/c 指定此选项时,即使出现非致命错误,ScanState 命令仍会继续运行。
/lac 指明如果用户帐户是本地帐户(而非域帐户),并且它不存在目标计算机上,则 USMT 将在目标计算机上创建帐户,但该帐户将被禁用

。
/lae 启用通过 /lac 选项创建的帐户。你必须通过此选项指定 /lac 选项。

Custom Settings.in 配置信息收集的更多相关文章

  1. linux配置信息收集

    CPU型号:# cat /proc/cpuinfo |grep "model name"# cat /proc/cpuinfo | grep name | cut -f2 -d: ...

  2. 分布式爬虫scrapy-redis中settings.py中的配置信息

    SCHEDULER = "scrapy_redis.scheduler.Scheduler" # 使用scrapy-redis的调度器 ITEM_PIPELINES = { 'sc ...

  3. Visual studio之C# 利用Settings保存COM口配置信息

    背景 利用C#做一个串口通信项目,客户需求保存串口COM口的配置信息,在此利用Settings来进行保存. 正文 ".Settings"的创建 点击项目 --> 添加新项 - ...

  4. 收集linux网络配置信息的shell脚本

    此脚本已在CentOS/ RHEL和Fedora Linux操作系统下进行测试过.可用于当前网络配置信息. 代码: #!/bin/bash # HWINF=/usr/sbin/hwinfo IFCFG ...

  5. 《玩转Django2.0》读书笔记-Django配置信息

    <玩转Django2.0>读书笔记-Django配置信息 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 项目配置是根据实际开发需求从而对整个Web框架编写相应配置信息. ...

  6. [转帖]IIS内虚拟站点配置信息说明

    web.config配置详细说明 https://www.cnblogs.com/zhangxiaolei521/p/5600607.html 原作者总结的很详细 但是没有完全的看完 自己对IIS 的 ...

  7. SpringMVC(十六):如何使用编程方式替代/WEB-INF/web.xml中的配置信息

    在构建springmvc+mybatis项目时,更常用的方式是采用web.xml来配置,而且一般情况下会在web.xml中使用ContextLoaderListener加载applicationCon ...

  8. Django(5)django配置信息

    前言 Django的配置文件settings.py用于配置整个网站的环境和功能,核心配置必须有项目路径.密钥配置.域名访问权限.App列表.中间件.资源文件.模板配置.数据库的连接方式 基本配置信息 ...

  9. ★Kali信息收集~ 1.Google Hacking + Github Hacking

    一.google hacking site site:cnblogs.com 毒逆天 intitle intitle:login allintitle allintitle:index of alli ...

随机推荐

  1. java 集合框架小结

    一:集合框架  集合框架是为表示和操作集合而规定的一种统一的标准的体系结构.  任何集合框架都包含三大块内容:对外的接口.接口的实现和对集合运算的算法.   接口:即表示集合的抽象数据类型.Colle ...

  2. Java Bad version

    Eclipse的三个地方需要重新设置: 在工程上点右键,选属性,三个地方: Java Build Path Java Compiler Project Facets:这个地方还可以设置tomcat的r ...

  3. 总结 vb与数据库的连接方法

    总结 vb与数据库的连接方法 分类:vb数据库 (4672)  (38)  举报  收藏 总结:vb与数据库连接方式,两种分法. 根据是否使用ODBC(驱动程序)来分: 1.有源连接 2.无源连接. ...

  4. 一个实用的却被忽略的命名空间:Microsoft.VisualBasic

    当你看到这个命名空间的时候,别因为是VB的东西就匆忙关掉网页,那将会是您的损失,此命名空间中的资源最初目的是为了简化VB.NET开发而创建的,所以Microsoft.VisualBasic并不属于Sy ...

  5. 360手机新品牌5月6日公布 周鸿祎席地而坐谈AK47

    今年年初,周鸿祎又做了一个艰难的决定,南下做手机!经过好一番折腾终于搞出点动静,奔驰S600L也卖了(炒作的味道很浓重),一款代号为AK47的产品被确认,就连邀请函也充分的体现了周鸿祎的老兵情节.最近 ...

  6. Spring+SpringMVC+SpringDataJpa整合

    一.思路: (一) Dao层与Service层: applicationContext.xml. a) 数据库连接池 b) 整合jpa c) 配置@service文件扫描器. d) 配置事务管理管理器 ...

  7. time模块,计算时间差

    计算当前时间与所输入的时间的时间差 #1 计算当前时间的时间戳时间 t_now = time.time() # 计算以前的时间的时间戳时间 t_before = input('请输入时间(例如:200 ...

  8. angular2.0---服务Service,使用服务进行数据处理

    1.创建服务 打开命令窗口,cd到项目目录下,输入  ng g service myData1  回车 创建服务,如下图所示: 这样就成功创建了服务,此时,可以在项目的app文件夹下生成了两个serv ...

  9. git 错误error: failed to push some refs to

    今天使用VSCODE 学习node.js,  想在git上push代码 于是在git上建立了一个私有的长裤, 连接后push代码时提示如下错误: error: failed to push some ...

  10. Linux+db2+was部署问题总结

     Linux+db2+was部署问题总结 前段日子在住建部进行了Linux环境下,db2+rbp+was的部署,由于是集群,切涉及到了很多was的东西,搞了很长时间,在此做一个问题总结,供后续查询 ...