Otomatisasi Rule
Pada Microsoft Deployment Toolkit (MDT) anda bisa mengatur Rule yang akan digunakan dalam proses instalasi. Dengan membuat Rule yang tepat, Anda akan dapat mengotomatiskan semua proses.

Untuk membuat Rule, klik kanan pada “Deployment Share” yang anda buat dan pilih “Properties”. Kemudian pilih tab “Rule” dan klik tombol “Apply” untuk menerapkannya. Salah satu contoh Rule yang dibuat oleh Sam Schoeller berikut ini dapat Anda gunakan.
MDT customsettings.ini for one touch image deployment by Sam Schoeller <https://github.com/samuelschoe> [Settings] Priority=Default Properties=MyCustomProperty [Default] 'sets the default install type OSInstall=Y DeploymentType=NEWCOMPUTER 'skips the capture wizard pane. SkipCapture=YES DoCapture=YES ComputerBackupLocation=NETWORK BackupShare=\\server\DeploymentShare$ BackupDir=Captures BackupFile=%TaskSequenceID%.wim 'skips setting local admin pass, product key and deployment type wizard panes SkipAdminPassword=YES AdminPassword=xxxxxx SkipDeploymentType=YES SkipProductKey=YES 'skips the domain join pane, and sets OU and account details to autojoin to the xxx computer OU. Uses limited domain join only delegated account SkipDomainMembership=YES MachineObjectOU=OU=xxxxx,OU=xxxxxxxxxx,DC=xxxx,DC=com JoinDomain=xxxxxxx.com DomainAdmin=xxxxxxxx DomainAdminDomain=xxxxxxxxxxxxxx DomainAdminPassword=xxxxxxxxxxxxxxxxxxxxx 'skips collect user data pane as this is for clean installs SkipUserData=YES 'auto selects task xxx, the golden image in the xxx server. set to NO or comment out to bring this pane up to select a different task SkipTaskSequence=YES TaskSequenceID=xxx 'enables a default value with location and PC serial for xxx, but also enables computer name pane for user input SkipComputerName=NO OSDComputerName=XXXNEW-%SerialNumber% 'skips the package display pane SkipPackageDisplay=YES 'Sets the language and keyboard panes SkipLocaleSelection=YES UILanguage=en-us UserLocale=en-us KeyboardLocale=en-us 'sets the timezone to pacific. SkipTimeZone=YES TimeZoneName=Pacific Standard Time TimeZone=004 'sets our homepage. It was defined in task, but this is a better, global place to define it, as it does change occasionally. Home_page=http://xxxxxxxx.com 'skips the application wizard. May want to enable SkipApplications=NO 'skips apps on upgrade actions. This is redundant, as we are doing new installs, but I left it in to not forget it exists. SkipAppsOnUpgrade=YES 'installs default themepack Applications001={xxxxxxxxxxxxxxxxxxxxxxx} 'xxxxxxxxxxxxxxxxxxxx Applications002={xxxxxxxxxxxxxxxxxxxxxxx} 'installs xxxxxxxxxxxxxxxx Applications003={xxxxxxxxxxxxxxxxxxxxxxx} 'installs xxxxxxxxxxxxxxxxxxxx Applications004={xxxxxxxxxxxxxxxxxxxxxxx} 'remove Libaries folder from Desktop Applications005={xxxxxxxxxxxxxxxxxxxxxxx} 'points at our WSUS server to pull updates WSUSServer=https://update.xxxxxx.com:8531 'skips the preamble and post amble summary. Will still display post summary in red if there are errors. SkipSummary=YES SkipFinalSummary=YES 'sets default screen resolution so low, windows is forced to auto adjust to the correct resolution. BitsPerPel=32 VRefresh=60 XResolution=1 YResolution=1 'Sets a share location for the logs file SLShareDynamicLogging=\\server\deploymentshare$\DeploymentLogs 'This is used by the MDT monitoring service for something or other EventService=http://server:9800
Anda juga bisa menambah user dan password default login pada “Edit Bootstrap.ini”. Dengan menambahkan Rule ini, MDT tidak akan meminta lagi user dan password dan akan menggunakannya kredensial ini untuk mengaksesnya.
[Settings] Priority=Default [Default] DeployRoot=\\MDT\DeploymentShare$ UserDomain=myDomain.local UserID=myID UserPassword=myPassword SkipBDDWelcome=YES
