Showing posts with label MDT. Show all posts
Showing posts with label MDT. Show all posts

Wednesday, January 30, 2013

MDT 2010/2012 CustomSettings.ini - Control Application Installs

Controlling Application Installs in customsettings.ini can be very useful.  I come across multiple posts and this is one of them.

http://social.technet.microsoft.com/Forums/en-US/mdt/thread/564b6afd-bc1f-4cf9-8706-1f8f13319ee1/

Essentially, the following will execute the [ByType] section which has 2 SubSections.  %IsLaptop% is determined by the ZTIGather script. So, if found to be laptop,  the variable %IsLaptop% would be "True" and it goes to the [Laptop-True] section.

In the [Laptop-True] section, it has another SubSection called %make%.  Again, this variable is deteremined by ZTIGather script.  You can use the %model% if you need to.

[Settings]
Priority=ByType,Default
Properties=MyCustomProperty

[ByType]
SubSection=Laptop-%IsLaptop%
SubSection=Desktop-%IsDesktop%

[Desktop-True]
MachineObjectOU=OU=Workstations,OU=Non-Thins,OU=Computers,OU=_Corp,DC= ***** ,DC=com

[Laptop-True]
MachineObjectOU=OU=Laptops,OU=Non-Thins,OU=Computers,OU=_Corp,DC= ***** ,DC=com
SubSection=%make%

[Hewlett-Packard]
MandatoryApplications001={cdf5444c-abce-4de2-8375-fc5b9c8ff523}
MandatoryApplications002={82747e6b-da40-4cd0-9d91-41b2b39f3a17}

[Default]
DeployRoot=*****

OSInstall=YES

SkipBDDWelcome=YES
SkipComputerName=No
SkipComputerBackup=YES
SkipAppsOnUpgrade=YES
SkipCapture=NO
SkipAdminPassword=YES
SkipProductKey=YES

SkipDomainMembership=YES
JoinDomain=*****
DomainAdmin=*****
DomainAdminDomain=*****
DomainAdminPassword=*****

SkipLocaleSelection=YES
KeyboardLocale=en-US
UserLocale=en-US
UILanguage=en-US

SkipUserData=Yes
SkipBitLocker=YES

XResolution=1366

SkipTimeZone=Yes
TimeZone=020
TimeZoneName=Central Standard Time