If you’re just learning MDT perhaps you’ve have had some time to look at and tweak your customsettings.ini file, or at the very least heard about what this one little file can do to take your deployments to the next level.

The real magic of MDT lies in its flexibility, as its scripts allow us to not only dynamically install and configure an OS, but they give us the ability to automate many, many steps of the MDT 2012 lite touch wizard as well. Granted, getting everything automated does take some work as well as some trial and error, but believe me, it’ll pay off in dividends down the road. Joining 200+ workstations to the domain is tedious and prone to user error. Automate just that one step and you can save hours and hours down the road.

The best way to automate all of this even further is with tweaks to thecustomsetting.ini file a deployment share. This one file is quite easily the single most important ini file in your whole share, it’s here where you can control just about everything and anything regarding how your share behaves, and with the right tweaks, you can get your share to an almost “zero touch” deployment, and automate everything down to the host name of the systems being deployed, domain and OU to join, and applications to install.

By default, MDT ‘Lite Touch’ isn’t very light. A stock MDT configuration’s WinPE wizard requires you to answer well over a dozen questions before you can start, and forces you babysit the deployment from beginning to end, answering tedious questions about whether you’re backing up user info, regarding passwords or info about the time zone. To fully automate your deployments, changes will need to be made to the customsettings.ini file.

The rules set here are what the lite touch wizard uses to know about such info as time zone, default keyboard layout, the mandatory applications, and even how the PCs are named. An extensive portion of the logic and custom settings configured in the deployment share are controlled by this file. Again, by default, very little is configured with this file, but a well configured deployment share will have most if not all prompts skipped in the deployment process. Ideally there should be very few questions that must answered by a tech when rebuilding a PC, if any at all.

NOTE:Make sure to backup this file and\or use the Volume Shadow Copy feature on the server to restore it if you mess it up. You can edit this file directly using notepad, I prefer Notepad++ by loading it from:
\\Servername\Sharename$\Control

Below is a list of my favorite Tips and Tricks to use in a MDT 2012 CustomSettings.inifile…

Display Task Sequence and Hostname during Deployment
_SMSTSOrgName=Running %TaskSequenceID% on %OSDComputername%
This is a newer, trick I love, it’s genius. Rather than putting some worthless info about your organization name, make the wizard at least display what task sequence you’re running on what hostname. It’s brilliant.

Dynamic Hostnames!
OSDComputername=PC-#Right("%SerialNumber%",4)#
This will name the system with the very last four of the serial. Useful for HP systems which have very long serials.

Block Pesky Updates
WUMU_ExcludeKB001=XXXXXXX
WUMU_ExcludeKB001=YYYYYYY
WUMU_ExcludeKB001=ZZZZZZZ
IE10, Bing Toolbar or some other update not needed at update time? Block them here with WUMU_Exclude, just look up the KB number and they’ll be blocked during the ZTIUpdate phase.

Take Control of Drivers
DriverSelectionProfile=Nothing
DriverInjectionMode=ALL
DriverGroup001=Windows 7\x64\%Make%\%Model%
Note this trick only works if your drivers are organized in such a hirearchy AND if the make and models used in the folders match what WMI reports, but if setup correctly, will save you hours and hours of stress with drivers.

No Product Key? No Problem!
SkipProductKey=YES
This special setting should allow you to skip the prompt for a product key during deploy.

Got a MAK Key?
OverrideProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
This is where you can put a MAK key or a generic install key if you so desire, if this causes trouble leave this out and inject the MAK key into the unattended file.

Do it Live!
HideShell=YES
Enable this special setting in the customsettings.ini file that hides the windows shell during the deployment so that deployments can safely run from the user’s desk. Some applications don’t like this, I’ve seen older versions of Adobe Acrobat fail to deploy with this setting, but not reader, go figure. This is a setting that’s really best for after you go to production, just make sure it works with your apps first.

Grand Finale?
FinishAction=REBOOT
Once a final summary is displayed, the system will reboot when you select Finish. Other options are available, but a final reboot is always a good idea. Combine this with the Skip Final Summary command, and your systems will give no final report and simply reboot. I wouldn’t recommend doing that until you’re 100% confident your deployment share is working well and your logs are reporting correctly.

Monitoring
EventService=http://SERVER:9800
This is where MDT will report all information for live reporting in the monitoring section in the Deployment Workbench. Obviously you need to change SERVER in this example to the IP or preferably hostname of your server

Set TimeZone and Skip prompt in lite touch Wizard
SkipTimeZone=YES
SkipLocaleSelection=YES
TimeZoneName=Mountain Standard Time
This is an easy thing to skip, especially if you’re only deploying in one time zone.

Set Local Admins
Administrators001=Domain\Group
Define groups you want set as a local admin. Make sure restore groups is set in your task sequence for this to work.

Enable Dynamic Logging
SLShareDynamicLogging=\\SERVER\SHARE$\Logs\%OSDComputerName%
Deployment logs are stored in this location. Make sure you have the SMTrace log viewer installed to easily view these files.

Setting Application Defaults
Applications001={ABC123ABC123ABC123}
These entries require the GUID of the applications you want to set as default. Installation of these applications will be selected by default but can be unselected at deploy time.

Skipping Application List in Lite Touch Wizard
SkipApplications=YES
If you would prefer to set the applications once and not be prompted period, set this and move on with your life.

Some Apps not up for Debate?
MandatoryApplications001={ABC123ABC123ABC123}
These entries will also need the GUID of the applications you want to mandate. Installation of these applications are not up for debate, and will be done on every PC the share deploys. Handy for Office and/or your security software.

Enabling Automatic USMT w/ Hardlinks
SkipUserData=YES
UserDataLocation=AUTO
SkipComputerBackup=YES
ComputerBackupLocation=AUTO
USMTMigFiles001=MigApp.xml
USMTFiles002=MigUser.xml
ScanStateArgs=/v:5 /o /c /ue:*\* /uel:90
LoadStateArgs=/v:5 /c /lac
The Userstate Migration Toolkit comes with both the WAIK and the ADK. It allows you to save user information either locally using hardlink migration or to save to server or USB. The settings above allow you to store the data on the local disk for all users who have signed into the domain in the last 90 days. Note: Hardlink Migrations don’t work on XP.

Also note that deployment shares can be configured to use a generic service account to both kick off the install and to join systems to the domain. Ideally, there should be two separate accounts for this, but for the sake of time and simplicity one could be used now. These credentials are stored in different places depending on when and where they are being used. The account used for logging into the share will only need permissions to the share. Ideally, the information for the Administrator account to join the domain should be obsufcated in the unattended.xml file.

For more info:

http://deploymentbunny.com/2012/04/21/back-to-basic-customsettings-ini-explained/

http://scriptimus.wordpress.com/2011/06/23/mdt-2010-sample-customsettings-ini-for-fully-automated-deployments/

Questions? Comments? Something you think should be on this list? Let me know.

转载于:https://blog.51cto.com/keepup/1730225

MDT CustomSettings.ini Tips Tricks相关推荐

  1. 转:45 Useful JavaScript Tips, Tricks and Best Practices

    原文来自于:http://flippinawesome.org/2013/12/23/45-useful-javascript-tips-tricks-and-best-practices/ 1 – ...

  2. 拥抱RxJava(番外篇):关于RxJava的Tips Tricks

    前言: 起初写 拥抱RxJava 系列文章.只是因为看到很多人在使用RxJava时候,并没有很正确的理解Reactive Programming.仅仅在项目中使用了Retrofit的Rx Adapte ...

  3. 转:26个Jquery使用小技巧(jQuery tips, tricks solutions)

    26个Jquery使用小技巧(jQuery tips, tricks & solutions) 前段时间发布了Jquery类库1.4版本,使用者也越来越多,为了方便大家对Jquery的使用,下 ...

  4. Panasonic Lumix GH5: Tips, Tricks, and Techniques 松下Lumix GH5使用技巧 Lynda课程中文字幕

    Panasonic Lumix GH5: Tips, Tricks, and Techniques 中文字幕 松下Lumix GH5使用技巧 中文字幕Panasonic Lumix GH5: Tips ...

  5. Canon 7D Mark II: Tips, Tricks, Techniques Canon 7D Mark II使用技巧 Lynda课程中文字幕

    Canon 7D Mark II: Tips, Tricks, & Techniques 中文字幕 Canon 7D Mark II使用技巧 中文字幕Canon 7D Mark II: Tip ...

  6. Eclectic Tips Tricks for Mac OS

    这里写自定义目录标题 Eclectic Tips & Tricks for Mac OS Table of contents 1. How to Change Where Screenshot ...

  7. 训练技巧《Must Know Tips/Tricks in Deep Neural Networks (by Xiu-Shen Wei)》学习笔记

    原 <Must Know Tips/Tricks in Deep Neural Networks (by Xiu-Shen Wei)>学习笔记 2019年01月19日 22:20:40 咸 ...

  8. Tips/Tricks#0:母版页中对控件ID的处理

    注:此系列记录在我实际开发中遇到的问题和收藏一些技巧文章. 本篇技巧和诀窍记录的是:母版页中对控件ID的处理. 一.问题提出 由于总体排版和设计的需要,我们往往创建母版页来实现整个网站的统一性,最近我 ...

  9. 26个Jquery使用小技巧(jQuery tips, tricks amp; solutions)

    禁止右键点击 view plaincopy to clipboardprint? 1. $(document).ready(function(){ 2.     $(document).bind(&q ...

最新文章

  1. NAR:测序数据鉴别和去除rRNA序列利器RiboDetector
  2. chrome浏览器插件开发经验(一)
  3. 【组合数学】递推方程 ( 非齐次部分是 指数函数 且 底是特征根 | 求特解示例 )
  4. java学习(120):set的iterator
  5. C++ 中的数学计算函数
  6. 设计师面试提前准备好这10个面试问题,助你面试成功
  7. mfc 制作不同的文档模板mdi不同的子窗体_对IT项目售前解决方案制作的一些思考...
  8. Vmware Workstation虚拟机规划
  9. Fiddler4抓取安卓手机数据包图文教程
  10. 【20G】三菱PLC全套资料(手册+视频教程+编程软件+仿真软件)
  11. Java虚拟机(JVM)字节码指令表
  12. Ubuntu 报错 malloc(): unsorted double linked list corrupted
  13. 基金投资基本常识【狂神说】
  14. python哪个机构教的好_学Python去哪家机构比较好?老男孩教育怎么样?
  15. 【全国大学生IoT设计竞赛】安谋科技灵动赛题国赛一等奖分享:多足仿生机器人
  16. php 生成文件出错,php生成excel文件打开报错?!!!
  17. Mysql数据库基础知识
  18. 微信小程序仿朋友圈,实现点赞和评论功能
  19. 28181协议、设备配置装维、测试(海康网络摄像机)
  20. 百度被黑了,哈哈!!

热门文章

  1. 笔记本外接显卡坞到底有什么用?磐镭发布镭凌linkX显卡坞
  2. 1、Neural Rendering
  3. k8s搭建gluster集群以及安装nfs-ganesha
  4. 【单片机】keil和Proteus使用教程
  5. JavaScript期末大作业 罗兰永恒花园动漫价绍网页 7页,含有table表格,js表单验证还有首页视频
  6. win10 vs2015 wxWidgets编译
  7. 用java编译实现计算个人所得税(工资)
  8. Docker以及DockerHub的使用
  9. 如何查看apk安装包源代码??Android反编译apk,解包,打包,签名一体化实测 ,修改图片音频软件名称版本号等入门
  10. 基于硬件的消息队列中间件 Solace 简介之二